MadMonkey87 / HomeyCONZ

deCONZ app for Athom Homey smart home controller
3 stars 14 forks source link

Cannot connect to deconz [BUG] #66

Open klenoth opened 2 years ago

klenoth commented 2 years ago

Trying to auto discover, but it ends up with an error message. Trying to set manual config to: 192.168.1.30 Port 40850 websocket port 8081, this also give message error. If I try again, the app will "unexpectable stop" and I have to deactivate /activate it again to start it.

It's strange cause if I push the request key button without authenticate in phoscon web app I get a message to "open up phoscon and authenticate" Trying again will give me an error.

I have Hue essential on my phone and I can connect to the gateway with it, so it has connection to my local net.

I run the stick on a LENOVO M93p tiny i5 8GB 128SSD with Home Assistant Supervised on Debian. Version on Home assistant is core-2021.11.1 Homey is V7.1.6 and deCONZ is v1.27.2

MadMonkey87 commented 2 years ago

I have no idea if the HA setup acutally allows external access or if it is only usable internally. The only thing I can suppose is that you check if 192.168.1.30:192.168.1.30 will actually provide the api or not. Therefore I cannot help you with HA but I let the ticket open if someone else can clarify on that

klenoth commented 2 years ago

192.168.1.30:40850/api sent with Tabbed Postman - REST Client with the command {"devicetype": "my application"} gives me "success":"username": "XXXXXXX" So I can get the key. Also tried it externally with opening ports in my router. That works also.