deCONZ - Official thread

:tada: Add-on v5.0 is available right now.

I truly hope it will fix everybody’s issues and wishes.

If it does not appear in your Hass.io panel yet, please go to Hass.io add-on store and hit the refresh icon in the top right. Next refresh your browser and the upgrade appears.

Please note: It is advised to use Home Assistant 0.103.4 or newer!

The add-on has now auto-healing capabilities. So in case of any issues, restart the add-on, wait at least 1 minute, restart Home Assistant and after that, everything should be normal again (In terms of the connection between Home Assistant and the add-on).

Sorry about the inconvenience and thanks for the patience.

Merry Christmas :christmas_tree:


Changelog:

  • Fix additional gateway visible on Phoscon login on Ingress
  • Fix Phoscon device scanning/probing triggering IP bans
  • Fix redirect to login page when Phoscon session expires
  • Fix incorrect manifest request from Phoscon frontend
  • Fix and improve API key handling with Hass.io discovery
  • Change Hass.io discovery to use add-on IP instead of hostname
  • Improve Phoscon discovery to work different and faster with Ingress
  • Add Websocket support to Ingress for instant and snappy UI updates
  • Re-instate direct access capabilities to the Phoscon/deCONZ API
19 Likes

Hi, thanks a lot.
Obviously you worked like a dog in order to get all the things fixed before Christmas.
Respect and appreciation.
Merry Christmas for you and your family.

4 Likes

Thank you @frenck! Will I need to re-connect the integration one last time to the add on (given I had to use a work around previously)? :slight_smile:

1 Like

Depends how you worked around it… So I would say, just try… you can always reconnect if needed.

1 Like

Hi Frenk,
since the last update deconz also don’t work for me anymore. Already removed it, also in integrations. rebooted a few times. reinstalled (also 5.0). But still have this in the log:
22:21:32:715 DB INSERT 172.30.32.2 - - [23/Dec/2019:22:21:37 +0100] “GET /pwa/developer.js HTTP/1.1” 404 142 “http://hassio.local:8123/api/hassio_ingress/eP3xOutZ2BPOmumb3hP7mco0rqBXJeynPxe1NyWitUQ/pwa/index.html” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15”
172.30.32.2 - - [23/Dec/2019:22:21:37 +0100] “GET /pwa/login.html?1577136097517= HTTP/1.1” 200 27144 “http://hassio.local:8123/api/hassio_ingress/eP3xOutZ2BPOmumb3hP7mco0rqBXJeynPxe1NyWitUQ/pwa/index.html” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15”
172.30.32.2 - - [23/Dec/2019:22:21:39 +0100] “GET /api/config HTTP/1.1” 200 263 “http://hassio.local:8123/api/hassio_ingress/eP3xOutZ2BPOmumb3hP7mco0rqBXJeynPxe1NyWitUQ/pwa/login.html?1577136097517” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15”
172.30.32.2 - - [23/Dec/2019:22:21:42 +0100] “GET /pwa/developer.js HTTP/1.1” 404 142 “http://hassio.local:8123/api/hassio_ingress/eP3xOutZ2BPOmumb3hP7mco0rqBXJeynPxe1NyWitUQ/pwa/index.html” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15”
172.30.32.2 - - [23/Dec/2019:22:21:42 +0100] “GET /pwa/login.html?1577136102339= HTTP/1.1” 200 27144 “http://hassio.local:8123/api/hassio_ingress/eP3xOutZ2BPOmumb3hP7mco0rqBXJeynPxe1NyWitUQ/pwa/index.html” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15”
172.30.32.2 - - [23/Dec/2019:22:21:44 +0100] “GET /api/config HTTP/1.1” 200 263 “http://hassio.local:8123/api/hassio_ingress/eP3xOutZ2BPOmumb3hP7mco0rqBXJeynPxe1NyWitUQ/pwa/login.html?1577136102339” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15”

Those are actually fine logs @bart.

Make sure you run Home Assistant 0.103.4 as well. Don’t reboot, but restart (there is a big difference) as I’ve instructed in the release note above.

Thanks for your quick answer Frenk.
When I go to " gateway" , there is no text. I cannot back up the deconz backup file. never had this before

I know there is still an issue with this when using Safari or when browser cache gets in the way. Flushing your browser data, use incognito or use chrome (or a combination of the previous). Might help there.

That said, with 5.0 you should not need to remove the add-on. Remove the integration from Home Assistant. Restart Home Assistant (not reboot). Restart the add-on, wait 1 or 2 minutes. Restart Home Assistant once more. Go to the Integrations panel. Home Assistant should have discovered the gateway. Add it. Done. (That is basically the flow to get you out of a real shitty issue).

3 Likes

Worked! Thank you Frenk! Greetings to D.

1 Like

I am still on 3.9 and 103.3…
What’s the correct procedure the update? Do I also need to remove integration? Or just update ha and deconz add-on , just like normal

@pergola.fabio If your integration shows ID 0000000: yes. If not, you should be able to just upgrade to add-on v5. However, I highly recommend to update Home Assistant to 0.103.4 first.

Another case that might cause issues, is when you have added the integration manually in the past. (instead of using the discovered version).

1 Like

I have Home Assistant 0.100.2 on Raspberry Pi 4 + deCONZ 3.6 + ConBee II dongle.
I use several Zigbee devices.
Raspberry Pi is connected to the local network and the Internet via an Ethernet cable.
I wanted to check if the system would work without an Ethernet connection.
I unplugged the cable and used the switch to turn off the bulb.
It turns out that the system is not working.
When I connected the Ethernet cable again, after a few seconds the bulb went out.
Why is it like that?
I thought that since I only use Zigbee devices, the system will work even after disconnecting the Ethernet cable.

I came from 103.0 / 3.9. Upgraded to 103.4. Restarted. Everything was as normal.
Upgraded to 5.0. The integration seemed to work, all the entities were there when I went Configuration > Integration > deCONZ, but HA could find them. Restarted HA, same thing.
Deleted the integration, restarted HA, HA found deCONZ and suggested an integration, everything works.

…but since all devices got their default names, I had to change all of them back. Not that meny lights, but all thermometers that randomly got entity_name/entity_name_2 for humidity/temperature.

All in all, now it seems to work fine again.

Hat’s off for @frenck, great work. Unbelievable effort today, fighting off all impatient users and solving the problems at the same time. Hope you get some time off now, really well earned.

3 Likes

@ 0.103.4 and 5.0: Everything seams to work now, also after a restart of HA, but now I can’t login on the internal Phoscon site with it’s set password. Default “delight” also does not work.

The login sometimes does not work; after a few retries it will but this is somewhat strange behavior…

Thanks for all the good work!

1 Like

This can be caused by browser cache & cookies. The Phoscon app has actually some data stored in the cookies, clearing them will help. Or, it will just improve over time as thing start to expire.

2 Likes

Guys, maybe I miss something, but in version 3 I was able to open web gui pointing to:
http://192.168.1.11:40850/pwa/

From version 4 and 5 I cannot reach anymore the GUI using that address, instead it opens inside the Hassio GUI. Is there a way to restore the old behaviour?

1 Like

Everything is working OK here, had to restart HA after Deconz upgrade.
I don’t have any login problems.
Thanks @frenck.

Upgraded to 5.0…Just to confirm do you have to enter the password everytime in phoscon or is there a way to retain this information when you restart homeassistant. Thanks for the hardwork @frenck.

After upgrading to deconz 5.0 I‘m missing all of my Lights and Plugs and Smoke detectors. The temp sensors are still there. What can I do?

Did you restart HA after upgrade?