- You can't have 2 deconz instance running, so you need to close the headless before launching the GUI version.
- Depend on OS, but some "VNC mode" launch a new session, so service are only executed when you run the VNC session, mean GUI services are not working, but only launch when you start the VNC session.
You can use thoses lines to see deconz services
Code: Select all
sudo systemctl status deconz
sudo systemctl status deconz-gui
Mode Headless :
Mode with GUI :Code: Select all
sudo systemctl disable deconz-gui sudo systemctl stop deconz-gui sudo systemctl enable deconz
Code: Select all
sudo systemctl disable deconz sudo systemctl stop deconz sudo systemctl enable deconz-gui
How many time your installation is working ? If its after 1 hour, I think it 's more a zigbee connexion issue, are you using the USB cable extension ?
Have you take a look in phoscon ?
Your problem is not websocket, because you have error when trying to change a switch state (websocket impact only return), this error happen generaly when the device have disconnected, but it's a light ...
If you have access to GUI, you can find deconz log on the application / help / debug view, use flag "error" "error_l2" "info" and "info_l2".