Smanar / Domoticz-deCONZ

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

deCONZ custom menu stucks Loading #82

Closed josemi73 closed 3 years ago

josemi73 commented 3 years ago

Hi I have just uploaded to 1.0.16, and new custom deCONZ option stucks in Loading. What must I do?

image

Smanar commented 3 years ago

I have never tested it on Machinon (or you just have the theme ?), wich one domoticz version you have ? This page use angular JS, so you need a recent domoticz version.

Do you have an web connexion on this machine ?

Deconz is loaded and working ?

josemi73 commented 3 years ago

Hi @Smanar I move theme to default and I have updated domoticz, and it keeps Loading. Version: 2020.2 (build 12732) Build Hash: fc9c7c2d0-modified Compile Date: 2020-12-07 15:53:06 dzVents Version: 3.0.18 Python Version: 3.7.3 (default, Dec 20 2019, 18:57:59) [GCC 8.3.0]

Deconz is up and working fine 1.0.16. What do you mean a web connection?

image

josemi73 commented 3 years ago

It is about a CORS issue, because I am opening domoticz via https, and conbee URL is via http, when trying to load angular.js If I open domoticz via http, deCONZ page is opening fine. I am closing the issue, I will use http as alternative when in LAN. I have gone back to machinon them, and it works fine. CORS was the problem. Regards

image

Smanar commented 3 years ago

Ha yep, and I haven't found a way to use deconz API with https natively