I have deCONZ running on a straight Rasbian Pi, pip install of Hass. Trying to get the integration working with deconz using an original ConBee. I try to install the integration, but it tells me:
Unlock your deCONZ gateway to register with Home Assistant.
Go to deCONZ Settings -> Gateway -> Advanced
Press “Authenticate app” button
Where is this mythical menu? I’m looking in the deconz web app, but there is a settings, but a whole page of stuff, one of which is Unlock gateway, but that doesn’t seem to do anything. Can someone thrown me a clue? Usually, the menu sequence would mean, choose the Settings menu, then the Gateway menu from that, then the Advanced menu from that. This simply doesn’t exist any place I can think to look.
I’m usually good at figuring out interfaces, but not this time…
Click on the 3 lines in the top left corner, a sidebar should appear. Click on “Gateway” there, now you should see some info about firmware, version etc. At the bottom of this page is a button “Advanced”. If it doesn’t work, please post a picture of your phoscon page.
OK, I didn’t have the option, so I totally removed the deconz package and installed it fresh. Now, using the web app, I can find the 2 lights I have, but even when I click the Authenticate button, I get a red “couldn’t get API key” from Hass.
I’ve tried everything now, and nothing works. I persistantly get Couldn't get an API Key
If I enter into the HA container and issue the following command:
curl -H 'Content-Type: application/json' -X POST -d '{"devicetype": "NAME_OF_CHOICE"}' http://192.168.0.9:80/api/
Then the respons is:
[{"success":{"username":"6D8345A28B"}}]
Which appears to be correct (?), but HA still refuse to pick up the API Key.
Any other suggestions anyone?
Well, I tried to add the deconz: section to my configuration.yaml file, but HA completely ignored it.
It wasn’t until I factory reset the ConBee and moved it to another brand new, untouched PC, that it was willing to drop the invalid IP address and HA actually asked for IP + Port instead of just telling me to push SUBMIT after activating authentication.
So, now it works. But I do not understand why, and why not.
I have successfully moved deconz that was running in docker, with home assistant also running in docker on the same host, and connecting together using the internal docker network ips 172.x.x.x to home assistant and deconz running on two separate docker hosts.
I had to make the following changes to reconnect home assistant with deconz:
change deconz docker to use the host network and specified a custom port for the web server.