Smanar / Domoticz-deCONZ

deCONZ plugin for Domoticz (Zigbee application)
GNU General Public License v3.0
36 stars 27 forks source link

Frontend Tab not working properly #88

Closed Faewks closed 3 years ago

Faewks commented 3 years ago

Hi all, I've seen the "recent" change for the domoticz frontend, which I absolutely appreciate, but I can't get it to work. It is stuck on "Loading...". domoticz_deconz

When I get into "Configure Plugin" and want to add the gateway password it returns "null". I've checked my password by logging into the phoscon app and all works fine on this end.

Here are my questions:

If I can provide an error log on this situation please explain me how, since if I set the plugin option to "Debug: Debug info only" I don't receive any error.

Sincerely, Faewks.

Smanar commented 3 years ago

Hello

Do I need to change something outside of domoticz/inside of domoticz to enable this tab? no

Do I actually need to add the phoscon gateway password here since I already know the API key? Only in the plugin configuration

If so: Are there any characters that can throw this error if they are used in a password? If the plugin is working, no more to do

For this feature work you need 2 things, a recent domoticz version, but you need to use http, instead of https. There is a security to block http request inside a https page, this is some ugly workaround, but the better method is waiting for a https support in deconz. But use http request for domoticz works fine.

If I m right you have same issue than here https://github.com/Smanar/Domoticz-deCONZ/issues/82

Faewks commented 3 years ago

Ok, thanks for the explanation! Can confirm, works over http.