deCONZ - Official thread

Hi, I have a question regarding configuration of ConBee 2.

My configuration is:

  • Rasperry Pi 3B+ and Raspbian
  • Home Assistant 0.101.2 (hass.io)
  • Hass.io supervisor 192
  • I have GBAN stick plugged in,
  • ConBee 2 stick
  • deCONZ 3.6 add-on
  • config of deCONZ:
{
  "device": "/dev/ttyACM0",
  "vnc_password": deconz_vnc_pass_here,
  "dbg_info": 1
}
  • Ports:
5900/tcp **disabled** deCONZ graphical desktop via VNC
80/tcp **40850** deCONZ API backend
8080/tcp **40860** deCONZ WebSocket Server

After:

I’m receiving timeout error.

How can I access the web GUI? (if I enable the VNC port I’m able to access VNC server, but no luck with web GUI)

Thanks,
Viv

I guess you should open port 40860 instead of 40850.

I tried both ports.

„Open Web Ui” in HA redirects me to the link with 40850.

I have a PI 4 with an SSD and Hassio running in docker. The issue is that I Phoscon app get the mesage Firmware: Not connected. When I get this message I normally change
Normally I change the device in the deconz config “device”: “/dev/ttyACM1”,. I’ve tried all the ones I found in HW platform and I tried other USB 2.0 ports.
I was working perfect before I installed the ssd and docker.
What can I do to trouble shoot?

I think I know what was the cause. I have HTTPS Everywhere extension which redirects from http to https connections. deCONZ is trying to connect me via http (don’t know why - I have Let’s Encrypt certificates) but got redirected to https and therefore it times out…

Three additional questions:

  1. How to force deCONZ to connect to WebUI via https? Answer: It’s not yet implemented in deCONZ but yes it’s possible via Reverse Proxy.
  2. How to set Zigbee Network Key?
  3. What is a password policy for WebUI? (Are any characters restricted?)

There has been other posts about people having trouble when usb-3 devices are connected with conbee 2. Something about interference and such.

I use deCONZ with a variety of brands, mostly Xiaomi.
There’s something I’ve been using which works fine for some switches but not for the others, even though they are exacly the same (QBKG11LM).
I have 2 switches configured decoupled (Xiaomi disconnect 1 set to 0xfe), one of them work well (first one is a switch on, second is a switch off):

2019-11-05 17:29:00 DEBUG (MainThread) [pydeconz.websocket] Websocket data: {"e":"changed","id":"59","r":"sensors","state":{"buttonevent":1002,"lastupdated":"2019-11-05T17:29:00"},"t":"event","uniqueid":"00:15:8d:00:03:11:ac:c1-05-0012"}
2019-11-05 17:29:00 DEBUG (MainThread) [pydeconz.utils] Sending {'data': '{"on": true}'} to http://192.168.2.165:8091/api/B942B00E68/lights/13/state
2019-11-05 17:29:00 DEBUG (MainThread) [pydeconz.utils] HTTP request response: [{'success': {'/lights/13/state/on': True}}]
2019-11-05 17:29:00 DEBUG (MainThread) [pydeconz.websocket] Websocket data: {"e":"changed","id":"13","r":"lights","state":{"alert":null,"bri":254,"colormode":"ct","ct":370,"on":true,"reachable":true},"t":"event","uniqueid":"00:15:8d:00:01:ca:f8:c7-01"}
2019-11-05 17:29:01 DEBUG (MainThread) [pydeconz.websocket] Websocket data: {"e":"changed","id":"60","r":"sensors","state":{"lastupdated":"2019-11-05T17:29:01","power":9},"t":"event","uniqueid":"00:15:8d:00:03:11:ac:c1-02-000c"}

2019-11-05 17:29:03 DEBUG (MainThread) [pydeconz.websocket] Websocket data: {"e":"changed","id":"59","r":"sensors","state":{"buttonevent":1002,"lastupdated":"2019-11-05T17:29:03"},"t":"event","uniqueid":"00:15:8d:00:03:11:ac:c1-05-0012"}
2019-11-05 17:29:03 DEBUG (MainThread) [pydeconz.utils] Sending {'data': '{"on": false}'} to http://192.168.2.165:8091/api/B942B00E68/lights/13/state
2019-11-05 17:29:03 DEBUG (MainThread) [pydeconz.utils] HTTP request response: [{'success': {'/lights/13/state/on': False}}]
2019-11-05 17:29:03 DEBUG (MainThread) [pydeconz.websocket] Websocket data: {"e":"changed","id":"13","r":"lights","state":{"alert":null,"bri":254,"colormode":"ct","ct":370,"on":false,"reachable":true},"t":"event","uniqueid":"00:15:8d:00:01:ca:f8:c7-01"}

On the other switch, if I switch it on or off, I see the following:

2019-11-05 17:28:57 DEBUG (MainThread) [pydeconz.websocket] Websocket data: {"e":"changed","id":"66","r":"sensors","state":{"buttonevent":1002,"lastupdated":"2019-11-05T17:28:57"},"t":"event","uniqueid":"00:15:8d:00:02:e2:7e:48-05-0012"}

I am struggling to find why the other switch doesn’t do anything apart from the first pydeconz.websocket.
Am I being thick and missing something ridiculous here or there’s something else going on?

Many thanks!

Edit: I was being thick :slight_smile: After months, I stopped today again to have a good look at it and I just had to disconnect it from the relay and use a deconz_event (as any other switch) to track the clicks and it’s now working as expected.

Has anyone here found a work around how to use a MI/Aqara Magic Cube paired in Deconz?

I see the events for turning, moving, shaking etc. But these are mixed with events for rotation and there is no way you can know if 1002 is changing surface from 2 to 1 or it is a rotation with that value.

Is there any solution? I raised bug reports in both Home Assistant for Deconz integration and on the Deconz hub.

I use the latest 2.05.70 of Deconz/Phoscon

Update: Found this discussion where the cube is discussed directly. Mi Magic Cube
I guess it is better to discuss it there Sorry for the noise

I see there is an update to v3.7 on HASSIO to Bump deCONZ to 2.05.70. On Dresden page there is only v2.05.69, what are the changes on v2.05.70 ?

I’ve been having trouble connecting my IKEA lights, and Aqara temperature sensor. When initiating a search through the phoscon app it reports nothing was found, however the nodes and endpoints do show up in the deconz GUI, although without the attribute dropdown menu with the device specific controls. Trying to fetch the simple descriptors does not work. I’ve posted an issue about it on their git but with no response, it has a more detailed description of my problem, hoping someone here has an idea of what I should try?

Git Issue

I’m using the ConBee II with an extension cable on Ubuntu 18.04 atm, started trying on a raspberry pi but thought troubleshooting with deconz GUI would be easier from a laptop.

Wait, .70 needs to be fixed.

1 Like

I run Deconz installed on bare metal from the Dresden El. debian repo and it has the 2.05.70 and it got updated during my normal apt upgrade cycle.

And how it seems missing as a tagged release on Github

I wonder what happened. I do not have any issues with the 2.05.70. It runs stable but I may want to not touch it too much :wink:

I hope they bumb the next fix to 2.05.71 since the troll is out of the box

whats wrong in .70 ?

Wow, thank you for sharing this! Feeling a little less foolish for investing in Lightify products just before the LEDVANCE divestiture.

no problem :slight_smile:

I’m running hassio with the official deCONZ addon and the “Switch Editor” is nowhere to be found in the web app that launches from HA. How come?

Switch editior isn’t available for all switches.

Some small issues that can affect some platforms. I think there is a reason there is no official release information. Look at the git issues page for more info. Probably solved within the next days.

Well, I have the Xiaomi magic cube and I know for a fact the editor should be available for this one, yet it is not…

Better look here as this has nothing to do with HA.