The webpage of the Zigbee2MQTT python plugin does start but has stopped loading content (keeps displaying 'loading...'). The webpage functioned correctly in Domoticz version 2024.7 build 16381 but stopped working since I updated to version 2024.7 build 16450. Somewhere in between it's gone wrong but I have no idea what change caused this.
Help is very much appreciated.
Zigbee2MQTT python plugin webpage doesn't load content Topic is solved
Moderators: leecollings, remb0
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
-
- Posts: 145
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Zigbee2MQTT python plugin webpage doesn't load content
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
- waltervl
- Posts: 5374
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Zigbee2MQTT python plugin webpage doesn't load content
Could be that the page is using some deprecated Domoticz API calls. For these calls the backwards compatibility has been removed in latest beta. You should have had some deprecation warning messages in the old running environment logs.
Edit: Should be working on the latest version of the plugin. (updated 2 years ago already)/
Are you on the latest version (git pull)?
Perhaps also consider migrating to the build in MQTT AD Hardware gateway so you do not need the plugin. https://wiki.domoticz.com/Zigbee2MQTT#M ... toDiscover
Edit: Should be working on the latest version of the plugin. (updated 2 years ago already)/
Are you on the latest version (git pull)?
Perhaps also consider migrating to the build in MQTT AD Hardware gateway so you do not need the plugin. https://wiki.domoticz.com/Zigbee2MQTT#M ... toDiscover
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 145
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Re: Zigbee2MQTT python plugin webpage doesn't load content
I think you're right that removal of the depreciated API calls are the cause. In the absence of Stass I tried to find the call and repair it but couldn't find it (I'm not in Python) but I'll try again. And yes I have the latest version of the plugin.
The use of the MQTT AD gateway is not an option for me since some devices I have (scene switch like Xiaomi Opple WXCJKG12LM) don't comply with the gateway.
Thanks for pointing out the cause of the problem.
The use of the MQTT AD gateway is not an option for me since some devices I have (scene switch like Xiaomi Opple WXCJKG12LM) don't comply with the gateway.
Thanks for pointing out the cause of the problem.
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
- waltervl
- Posts: 5374
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Zigbee2MQTT python plugin webpage doesn't load content
Check if your frontend/zigbee2mqtt.js has the same content for the function refreshDomoticzDevices() as on the github repository. If not, update the plugin.
https://github.com/stas-demydiuk/domoti ... tt.js#L262
https://github.com/stas-demydiuk/domoti ... tt.js#L262
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 145
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Re: Zigbee2MQTT python plugin webpage doesn't load content
Solved
I compared the files and have seen the change and learned something from the code. I apparently missed the commit in December 2023
A git pull and clear cache did the trick. Thanks
I compared the files and have seen the change and learned something from the code. I apparently missed the commit in December 2023

A git pull and clear cache did the trick. Thanks
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
Who is online
Users browsing this forum: No registered users and 1 guest