Deconz for Hass.io

PR is up: https://github.com/home-assistant/home-assistant/pull/13960

Aaaaand it’s done.

thanks Robban.

How should I update the component?

Just wait for next hass release, or go to beta channel https://rc.home-assistant.io/blog/2018/04/20/release-68/

Bump deCONZ requirement to v36 (@Kane610 - #13960) (deconz docs)

I have the same issue with the 500 internal server error. How do I manually configure deconz?

Check component documentation

I’ve setup DeCONZ with hass.io and I can see the xiaomi sensors I have, and that part is all working fine. Is there a way to have the temperature from these devices show in Home Assistant? I can see the temperature in Phoscon and also on the restapi response, but most of the devices only show battery level as an additional attribute, if that. I figured if I can pull back the temperature of window / door sensors, then I can use these with my boiler for automation.

I noticed the exact same thing with the aqara contact sensor. It shows a temperature reading in Phoscon, but I confirmed with the webshop that the contact sensor does not have any temperature sensor in it. So it might be an issue with deCONZ reading an attribute from the contact sensor that is not for temperature and mapping it as a temperature reading?

Ah ok, would have been nice to have it, but at least knowing will stop me wanting to display it :slight_smile:

Thanks…

There have been requests for this. A asked that they bring it up as a feature request on deconz github first. No response on the request yet though

Guys, how could you install Deconz for Hass.io?

I’ve installed the add-on, on the Overview tab appears:

On Configuration -> Integrations appers:

But when I click on CONFIGURE, I get this messages:

AND

10

Any help? Tks

You need to go in to settings of deconz and enable internet discoverability. Which you can turn off once the setup is completed. You can also configure deconz through your configuration.yaml if you don’t get it to work.

I will update the documentation with this, I have also been planning to add a fallback mode where the user inputs all data manually.

Hi Robban, thanks for your help again.

It’s not possible to access the menu on webapp.

There is no “Menu”, the only option is a Search for Lights buttom that don’t find my Philips Hue Bulbs.

I’m also trying to use a REST client to get the API, but it’s not working also.

Do you have another zigbee hub? My conbee doesn’t look like that on the login screen from what I can remember

No, I don’t.

I’ve just brought the Raspbee and plugged it on my Raspberry Pi running Hassio.

Two things that can be done here:

  1. Talk to @marthocoo about help debugging the container
  2. Enable debug per component documentation and see what logs you get when starting and trying to set up the configurations, I can help you analysing these logs

Here’s the log.

10:45:30:427 HTTP Server listen on address 0.0.0.0, port: 8080, root: /usr/share/deCONZ/webapp/
10:45:30:828 dev /dev/ttyAMA0
10:45:30:828 ZCLDB init file /data/.local/share/dresden-elektronik/deCONZ/zcldb.txt
10:45:31:040 parent process /bin/sh
10:45:31:040 gw run mode: normal
10:45:31:041 sd-card cid: 035344534333324780ffffffff012125
10:45:31:062 don't close database yet, keep open for 900 seconds
10:45:31:062 Daylight now: goldenHour1, status: 160
10:45:31:064 started websocket server at port 8443
10:45:31:068 discovery updated announce interval to 10 minutes
10:45:31:072 found node plugin: libde_rest_plugin.so - REST API Plugin
10:45:31:082 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin
10:45:31:113 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin
10:45:31:418 dev /dev/ttyAMA0
10:45:31:956 device state timeout ignored in state 2
10:45:32:000 device state timeout ignored in state 2
10:45:33:954 device state timeout ignored in state 2
10:45:34:954 device state timeout ignored in state 2
10:45:35:955 device state timeout ignored in state 2
10:45:36:440 dev /dev/ttyAMA0
10:45:36:442 GW update firmware found: /usr/share/deCONZ/firmware/deCONZ_Rpi_0x261f0500.bin.GCF
10:45:36:629 Announced to internet
10:45:36:630 discovery server date: Tue, 15 May 2018 09:45:36 GMT
10:45:36:630 	 local time seems to be ok
10:45:36:630 discovery found version 2.04.35 for update channel stable
10:45:36:954 device state timeout (handled)
10:45:37:454 void zmMaster::handleStateIdle(zmMaster::MasterEvent) not connected goto OFF state
10:45:37:454 device state timeout ignored in state 4
10:45:40:954 Daylight now: goldenHour1, status: 160
10:45:50:954 Daylight now: goldenHour1, status: 160
10:46:00:954 Daylight now: goldenHour1, status: 160
10:46:09:564 scan finished
10:46:10:954 Daylight now: goldenHour1, status: 160
10:46:20:953 Daylight now: goldenHour1, status: 160
10:46:30:954 Daylight now: goldenHour1, status: 160
10:46:40:953 Daylight now: goldenHour1, status: 160
10:46:50:953 Daylight now: goldenHour1, status: 160
10:47:00:954 Daylight now: goldenHour1, status: 160
10:47:10:954 Daylight now: goldenHour1, status: 160
10:47:20:954 Daylight now: goldenHour1, status: 160
10:47:30:953 Daylight now: goldenHour1, status: 160
10:47:40:954 Daylight now: goldenHour1, status: 160
10:47:46:438 dev /dev/ttyAMA0
10:47:50:954 Daylight now: goldenHour1, status: 160
10:48:00:954 Daylight now: goldenHour1, status: 160
10:48:07:477 Content not completely loaded (got 0 of 0), wait 20ms
10:48:10:954 Daylight now: goldenHour1, status: 160
10:48:15:670 Content not completely loaded (got 0 of 0), wait 20ms
10:48:20:954 Daylight now: goldenHour1, status: 160
10:48:30:954 Daylight now: goldenHour1, status: 160
10:48:40:954 Daylight now: goldenHour1, status: 160
10:48:50:954 Daylight now: goldenHour1, status: 160
10:49:00:958 Daylight now: goldenHour1, status: 160
10:49:10:954 Daylight now: goldenHour1, status: 160
10:49:20:954 Daylight now: goldenHour1, status: 160
10:49:30:953 Daylight now: goldenHour1, status: 160
10:49:40:954 Daylight now: goldenHour1, status: 160
10:49:50:954 Daylight now: goldenHour1, status: 160
10:49:56:412 dev /dev/ttyAMA0
10:50:00:958 Daylight now: goldenHour1, status: 160
10:50:10:953 Daylight now: goldenHour1, status: 160
10:50:20:953 Daylight now: goldenHour1, status: 160
10:50:30:954 Daylight now: goldenHour1, status: 160
10:50:40:954 Daylight now: goldenHour1, status: 160
10:50:50:954 Daylight now: goldenHour1, status: 160
10:51:00:954 Daylight now: goldenHour1, status: 160
10:51:10:954 Daylight now: goldenHour1, status: 160
10:51:20:954 Daylight now: goldenHour1, status: 160
10:51:30:954 Daylight now: goldenHour1, status: 160
10:51:40:954 Daylight now: goldenHour1, status: 160
10:51:42:822 Invalid admin password hash: $1$8282jdkm$w.o6XjJEGLzAYkVqLPAYx1
10:51:45:984 created username: 8788EA7BA1, devicetype: Phoscon#B1451x953
10:51:47:587 New websocket 192.168.1.92:51312 (state: 3) 
10:51:50:953 Daylight now: goldenHour1, status: 160
10:51:50:954 save zll database items 0x00000004

I meant the log from home assistant.

Can you add more logging to deconz as well?

If you don’t have any lights that can be added then follow the instructions given in https://github.com/dresden-elektronik/deconz-rest-plugin/issues/551. This will allow you to complete the setup of deCONZ and enable the internet discovery.

It’s not discovering your RaspBee - you need to disable Bluetooth on the Pi. Put the SD card in your computer, and on the boot volume find config.txt - add the following two lines to the end of config.txt using a text editor:

enable_uart=1
dtoverlay=pi3-disable-bt

@gjong, I did it. Now I can access the configuration page. :slight_smile:

@marthocoo, I also did it. But nothing different happens.

On configuration page its not finding my Philips Hue Bulbs. :confused: