Closed Eucliwood090 closed 2 years ago
Hi,
I have the same issue. Plugin 3.0.0, Domoticz build 13482. Tried a lot of things:
The devices are being created / can be used correctly, but the Custom | Zigbee2mqtt webpage stays on 'Loading'. Enabled the debug logging, but no error messages of any kind.
Regards, Marco
Same issue after updating z2m ... Domoticz V2021.1 (c)2012-2021 GizMoCuz Status: Build Hash: 8547c5b7e, Date: 2021-04-17 17:29:11 Status: Startup Path: /home/pi/domoticz/ Status: PluginSystem: Started, Python version '3.7.3'.
Plugin version V3.0.1 (recent git pull)
Zigbee2MQTT version : 1.21.0 commit: 70891ee Coordinator type : zStack3x0 Coordinator revision :20210708 Frontend version : 0.5.18
I think this is the same issue as 671.
so far, downgrading to z2m 1.17.1 seems to help
Thanks for the info ! But instead of downgrading i ordered a new Pi4 for testing. (All possible testing is not yet done, but this is what i've done until now )
New Pi 4B : Installed OS complete new. Installed Domoticz 2021.1 complete new. Installed Docker and in docker :
Installed recent plugin within Domoticz , restarts domoticz
In Domoticz : i did make 2 hardware configuration for zigbee2mqtt :
1 for this new Pi and 1 for connecting the existing Pi.
After restart domoticz :
Log from existing Pi : 'Received available devices list from bridge' - OK
Log from new Pi : 'Received available devices list from bridge' - OK
.
The 'Devices' are loaded up from both (from the existing Pi and from the new Pi) : OK for both!
.
But ....
On the screen - custom - zigbee2mqtt - i have 2 screens. Nice !
The screen for the new Pi with CC2531 is loading up and working.
The screen for the existing Pi with Slaesh's CC2652RB stick keeps loading....
.
The difference between those 2 is the stick...
And version Mosquitto (New Pi is newer version)
Hmm good tests:) I was experiencing the issue as well with the Slaesh stick. Switching to a cc2531 is a bit going back to the stone age... 😅 (I switched to Deconz Conbee for now as a workaround)
Short next test : Situation: 1 existing Pi with Slaesh stick (Say Pi1) and a new Pi with CC2531 stick (Say Pi2) On boths Pi's (same) Domoticz with (same) Z2M plugin. I've created on both Pi's 2 identical configurations for Z2M : 1 to itself and 1 to the other Pi. . Result on both Pi's are identical : ! On Pi1 ( with Slaesh-stick) : Screen from Slaesh keeps loading........ Screen from other Pi2 (CC2531) - OK! On Pi2 ( with CC2531-stick) : Screen from Pi1 with Slaesh keeps loading..... Screen from Pi2 (CC2531) - OK! . (Keeps loading : also no headers or any borders...) (Meanwhile i've made an temporary workaround with node-red for the important things. Maybe it is possible to compare the MQTT-messages) (Maybe next test : downgrading Z2M on the the test Pi2 ?)
Could you please try again with the latest plugin version, I did several improvements to communication protocol and hopefully it'll help with your issue
I still have the same problem.
I have Slaesh's stick.
when I click on zigbee2mqtt in domoticz, in the zigbee log I have "Debug Received MQTT message on 'zigbee2mqtt / bridge / config / permit_join' with data '' and it stops there. I have nothing else displayed in the logs.
Hi all, same for me, also use Slaesh's stick, and also with latest git pull it still remains in Loading...
Could you please enable Debug mode for plugin and post here you Domoticz log after you open the plugin UI
2021-09-04 18:20:14.021 Zigbee2Mqtt_v3: (Zigbee2Mqtt_v3) [API] Request: [1] bridge_getstatus({}) 2021-09-04 18:20:14.021 Zigbee2Mqtt_v3: (Zigbee2Mqtt_v3) MqttClient::publish zigbee2mqtt/bridge/config/permit_join ()
I'm running clean install of 13491 and 3.1.0-beta on my test-setup and also have the "Loading"-issue. The api_transport device is not created in domoticz, however all normal devices show up and work. Could this be the issue? On my production enviroment 13491 with 3.1.0-beta everything is OK and the api_transport device is present and updated with new values.
since the plugin update I have errors
2021-09-04 18:38:58.017 Error: EventSystem: TEMP_HUM_BARO missing values : ID=396, sValue=19.0;85.21;0 2021-09-04 18:38:58.018 Error: EventSystem: TEMP_HUM_BARO missing values : ID=369, sValue=23.8;67.38;0 2021-09-04 18:38:58.018 Error: EventSystem: TEMP_HUM_BARO missing values : ID=396, sValue=19.0;85.21;0 2021-09-04 18:38:58.020 Error: EventSystem: TEMP_HUM_BARO missing values : ID=369, sValue=23.8;67.38;0 2021-09-04 18:38:58.020 Error: EventSystem: TEMP_HUM_BARO missing values : ID=396, sValue=19.0;85.21;0
I'm afraid of having to do a new zigbee2mqtt install on domoticz
@Eucliwood090, looks like you haven't been using the recent version before, try to just remove these broken devices: 396 and 369
@dobber81, yes, that definitely could be an issue as api_transport
device is required for UI to work
Weird, I even did a complete installation when I switched to 3.0
@stas-demydiuk Last commit c1f774d did the trick. After updating from git and restart, gui with devices are shown on my test-setup. Also the new Plugin Configuration. Tnx!
Hello, I did see you have made an update ! Great ! I' have run on my test-system the well now - git pull
But .... After restart Domoticz, no option -Custom -Zigbee2Mqtt - anymore....
I have next errors in the log : (z2m points to the 'production' Pi with Slaesh-stick and z2m points to this test-Pi with CC2531)
2021-09-04 20:46:43.168 Error: z2m: (Zigbee2MQTT) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/zigbee2mqtt/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'. 2021-09-04 20:46:43.168 Error: z2m: (z2m) Module Import failed, exception: 'ModuleNotFoundError' 2021-09-04 20:46:43.168 Error: z2m: (z2m) Module Import failed: ' Name: DomoticzEx' 2021-09-04 20:46:43.168 Error: z2m: (z2m) Error Line details not available. 2021-09-04 20:46:43.218 Error: z2m-zelf: (Zigbee2MQTT) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/zigbee2mqtt/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'. 2021-09-04 20:46:43.218 Error: z2m-zelf: (z2m-zelf) Module Import failed, exception: 'ModuleNotFoundError' 2021-09-04 20:46:43.218 Error: z2m-zelf: (z2m-zelf) Module Import failed: ' Name: DomoticzEx' 2021-09-04 20:46:43.218 Error: z2m-zelf: (z2m-zelf) Error Line details not available.
My screen BEFORE the update from z2m-zelf (Test Pi with CC2531) This with z2m keeps 'loading'
Screen after update with missing Custom :
Thanks for the attention.
Op za 4 sep. 2021 om 13:40 schreef Stanislav Demydiuk < @.***>:
Could you please enable Debug mode for plugin and post here you Domoticz log after you open the plugin UI
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/issues/686#issuecomment-912959560, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASF3KGABAD75EJCNLCHV4D3UAIAR5ANCNFSM5CZOFTVQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Groetjes, Dirk Janssens
@Verysimply, as you can see the error is
Module Import failed: ' Name: DomoticzEx'
which means that you are using a Domoticz version that doesn't support DomoticzEx, you need the latest beta to be able to run this version of the plugin
We deviate a bit from the subject but, I have just redone a complete installation and I still have the same concerns
2021-09-04 21:26:21.007 Error: EventSystem: TEMP_HUM_BARO missing values : ID=504, sValue=25.9;55.56;0 2021-09-04 21:26:21.007 Error: EventSystem: TEMP_HUM_BARO missing values : ID=515, sValue=24.6;71.29;0 2021-09-04 21:26:21.007 Error: EventSystem: TEMP_HUM_BARO missing values : ID=524, sValue=22.7;72.99;0 2021-09-04 21:26:21.007 Error: EventSystem: TEMP_HUM_BARO missing values : ID=533, sValue=19.0;85.21;0 2021-09-04 21:26:21.009 Error: EventSystem: TEMP_HUM_BARO missing values : ID=491, sValue=23.8;67.38;0 2021-09-04 21:26:21.010 Error: EventSystem: TEMP_HUM_BARO missing values : ID=504, sValue=25.9;55.56;0 2021-09-04 21:26:21.010 Error: EventSystem: TEMP_HUM_BARO missing values : ID=515, sValue=24.6;71.29;0 2021-09-04 21:26:21.010 Error: EventSystem: TEMP_HUM_BARO missing values : ID=524, sValue=22.7;72.99;0 2021-09-04 21:26:21.010 Error: EventSystem: TEMP_HUM_BARO missing values : ID=533, sValue=19.0;85.21;0 2021-09-04 21:26:21.066 Error: EventSystem: TEMP_HUM_BARO missing values : ID=491, sValue=23.8;67.38;0 2021-09-04 21:26:21.067 Error: EventSystem: TEMP_HUM_BARO missing values : ID=504, sValue=25.9;55.56;0 2021-09-04 21:26:21.067 Error: EventSystem: TEMP_HUM_BARO missing values : ID=515, sValue=24.6;71.29;0 2021-09-04 21:26:21.067 Error: EventSystem: TEMP_HUM_BARO missing values : ID=524, sValue=22.7;72.99;0
Hello, i've updated domoticz to latest beta-version on my test Pi. Screen (from the plugged in cc2531) is now OK ! But screen to the Slaesh-stick (on production Pi ( z2m )) i have the 'loading' screen.... My log to the production Pi ( z2m )
2021-09-04 21:35:53.791 z2m hardware started. 2021-09-04 21:35:53.791 Status: z2m: (z2m) Started. 2021-09-04 21:35:53.791 Status: z2m: (z2m) Entering work loop. 2021-09-04 21:35:53.791 Status: NotificationSystem: thread started... 2021-09-04 21:35:53.792 Status: EventSystem: reset all events... 2021-09-04 21:35:53.793 Status: EventSystem: reset all device statuses... 2021-09-04 21:35:53.880 Status: Python EventSystem: Initializing event module. 2021-09-04 21:35:53.881 Status: EventSystem: Started 2021-09-04 21:35:53.881 Status: EventSystem: Queue thread started... 2021-09-04 21:35:54.086 z2m: (z2m) Installing plugin custom page... 2021-09-04 21:35:54.105 z2m: (z2m) Installing plugin custom page completed. 2021-09-04 21:35:54.256 z2m: (z2m) Connected to MQTT Server: 192.168.0.200:1883 2021-09-04 21:35:54.357 z2m: (z2m) Zigbee2mqtt bridge is online 2021-09-04 21:35:54.357 z2m: (z2m) Joining new devices is disabled on the zigbee bridge 2021-09-04 21:35:54.361 z2m: (z2m) Received available devices list from bridge 2021-09-04 21:35:54.060 Status: z2m: (z2m) Initialized version 3.1.0-beta 2021-09-04 21:35:54.223 Status: PluginSystem: 1 plugins started.
Maybe something different in MQTT message from 'zigbee2mqtt/bridge/devices' between the 2 Pi's ? (Just an stupid idea from me )
Hi! I enabled the debug -> Verbose option in the Domotiz|Hardware|Zigbee2mqtt plugin. The starting point is when I press refresh, around 10:52:20.520. The other items are probably some kind of keep-alive-ping.
Hope this helps! (Update: version of yesterday evening around 10pm)
2021-09-05 10:51:49.065 Zigbee: (Zigbee) Sending 2 bytes of data 2021-09-05 10:51:49.065 Zigbee: (Zigbee) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. � 2021-09-05 10:51:49.116 Zigbee: (Zigbee) Received 2 bytes of data 2021-09-05 10:51:49.116 Zigbee: (Zigbee) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Ю 2021-09-05 10:51:59.083 Zigbee: (Zigbee) Sending 2 bytes of data 2021-09-05 10:51:59.083 Zigbee: (Zigbee) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. � 2021-09-05 10:51:59.133 Zigbee: (Zigbee) Received 2 bytes of data 2021-09-05 10:51:59.134 Zigbee: (Zigbee) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Ю 2021-09-05 10:52:09.089 Zigbee: (Zigbee) Sending 2 bytes of data 2021-09-05 10:52:09.090 Zigbee: (Zigbee) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. � 2021-09-05 10:52:09.140 Zigbee: (Zigbee) Received 2 bytes of data 2021-09-05 10:52:09.140 Zigbee: (Zigbee) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Ю 2021-09-05 10:52:19.060 Zigbee: (Zigbee) Sending 2 bytes of data 2021-09-05 10:52:19.060 Zigbee: (Zigbee) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. � 2021-09-05 10:52:19.111 Zigbee: (Zigbee) Received 2 bytes of data 2021-09-05 10:52:19.111 Zigbee: (Zigbee) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Ю 2021-09-05 10:52:20.520 Zigbee: (Zigbee) New request: [1] bridge_getstatus({}) 2021-09-05 10:52:20.521 Zigbee: (Zigbee) MqttClient::publish zigbee2mqtt/bridge/config/permit_join () 2021-09-05 10:52:20.521 Zigbee: (Zigbee) Sending 41 bytes of data 2021-09-05 10:52:20.521 Zigbee: (Zigbee) 30 27 00 25 7a 69 67 62 65 65 32 6d 71 74 74 2f 62 72 69 64 0'.%zigbee2mqtt/brid 2021-09-05 10:52:20.521 Zigbee: (Zigbee) 67 65 2f 63 6f 6e 66 69 67 2f 70 65 72 6d 69 74 5f 6a 6f 69 ge/config/permit_joi 2021-09-05 10:52:20.521 Zigbee: (Zigbee) 6e .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. n 2021-09-05 10:52:20.571 Zigbee: (Zigbee) Received 41 bytes of data 2021-09-05 10:52:20.571 Zigbee: (Zigbee) 30 27 00 25 7a 69 67 62 65 65 32 6d 71 74 74 2f 62 72 69 64 0'.%zigbee2mqtt/brid 2021-09-05 10:52:20.571 Zigbee: (Zigbee) 67 65 2f 63 6f 6e 66 69 67 2f 70 65 72 6d 69 74 5f 6a 6f 69 ge/config/permit_joi 2021-09-05 10:52:20.571 Zigbee: (Zigbee) 6e .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. n 2021-09-05 10:52:20.572 Zigbee: (Zigbee) MQTT message: zigbee2mqtt/bridge/config/permit_join 2021-09-05 10:52:29.095 Zigbee: (Zigbee) Sending 2 bytes of data 2021-09-05 10:52:29.095 Zigbee: (Zigbee) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. � 2021-09-05 10:52:29.146 Zigbee: (Zigbee) Received 2 bytes of data 2021-09-05 10:52:29.146 Zigbee: (Zigbee) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Ю
What version of zigbee2mqtt do you have?
1.21.1 (from npm-shrinkwrap.json, hope that is the right way)
2021-09-05 14:00:25.895 Error: EventSystem: in /root/domoticz/dzVents/runtime/dzVents.lua: ...oticz/dzVents/runtime/device-adapters/genericdevice.lua:67: attempt to index a nil value (field '') 2021-09-05 14:02:52.900 Error: Zigbee_3.1: (Zigbee_3.1) 'onMessage' failed 'KeyError':'('humidity',)'. 2021-09-05 14:02:52.900 Error: Zigbee_3.1: (Zigbee_3.1) Exception traceback: 2021-09-05 14:02:52.900 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 301 in '/root/domoticz/plugins/zigbee2mqtt/plugin.py' 2021-09-05 14:02:52.900 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 135 in '/root/domoticz/plugins/zigbee2mqtt/plugin.py' 2021-09-05 14:02:52.900 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 167 in '/root/domoticz/plugins/zigbee2mqtt/mqtt.py' 2021-09-05 14:02:52.900 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 215 in '/root/domoticz/plugins/zigbee2mqtt/plugin.py' 2021-09-05 14:02:52.900 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 61 in '/root/domoticz/plugins/zigbee2mqtt/devices_manager.py' 2021-09-05 14:02:52.900 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 64 in '/root/domoticz/plugins/zigbee2mqtt/adapters/base_adapter.py' 2021-09-05 14:02:52.900 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 179 in '/root/domoticz/plugins/zigbee2mqtt/devices/device.py' 2021-09-05 14:02:52.900 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 158 in '/root/domoticz/plugins/zigbee2mqtt/devices/device.py' 2021-09-05 14:02:52.900 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 48 in '/root/domoticz/plugins/zigbee2mqtt/devices/temperature_humidity_sensor.py' 2021-09-05 14:02:52.900 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 35 in '/root/domoticz/plugins/zigbee2mqtt/devices/temperature_humidity_sensor.py' 2021-09-05 14:02:52.916 Error: Zigbee_3.1: (Zigbee_3.1) 'onMessage' failed 'KeyError':'('pressure',)'. 2021-09-05 14:02:52.916 Error: Zigbee_3.1: (Zigbee_3.1) Exception traceback: 2021-09-05 14:02:52.916 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 301 in '/root/domoticz/plugins/zigbee2mqtt/plugin.py' 2021-09-05 14:02:52.916 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 135 in '/root/domoticz/plugins/zigbee2mqtt/plugin.py' 2021-09-05 14:02:52.916 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 167 in '/root/domoticz/plugins/zigbee2mqtt/mqtt.py' 2021-09-05 14:02:52.916 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 215 in '/root/domoticz/plugins/zigbee2mqtt/plugin.py' 2021-09-05 14:02:52.916 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 61 in '/root/domoticz/plugins/zigbee2mqtt/devices_manager.py' 2021-09-05 14:02:52.916 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 64 in '/root/domoticz/plugins/zigbee2mqtt/adapters/base_adapter.py' 2021-09-05 14:02:52.916 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 179 in '/root/domoticz/plugins/zigbee2mqtt/devices/device.py' 2021-09-05 14:02:52.916 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 158 in '/root/domoticz/plugins/zigbee2mqtt/devices/device.py' 2021-09-05 14:02:52.916 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 25 in '/root/domoticz/plugins/zigbee2mqtt/devices/temperature_humidity_barometer_sensor.py' 2021-09-05 14:02:52.916 Error: Zigbee_3.1: (Zigbee_3.1) ----> Line 18 in '/root/domoticz/plugins/zigbee2mqtt/devices/temperature_humidity_barometer_sensor.py' 2021-09-05 14:02:52.937 Error: EventSystem: in /root/domoticz/dzVents/runtime/dzVents.lua: ...oticz/dzVents/runtime/device-adapters/genericdevice.lua:67: attempt to index a nil value (field '') 2021-09-05 14:02:52.995 Error: EventSystem: in /root/domoticz/dzVents/runtime/dzVents.lua: ...oticz/dzVents/runtime/device-adapters/genericdevice.lua:67: attempt to index a nil value (field '') 2021-09-05 14:03:09.768 Error: EventSystem: in /root/domoticz/dzVents/runtime/dzVents.lua: ...oticz/dzVents/runtime/device-adapters/genericdevice.lua:67: attempt to index a nil value (field '') 2021-09-05 14:11:08.848 Error: EventSystem: in /root/domoticz/dzVents/runtime/dzVents.lua: ...oticz/dzVents/runtime/device-adapters/genericdevice.lua:67: attempt to index a nil value (field '') 2021-09-05 14:11:08.913 Error: EventSystem: in /root/domoticz/dzVents/runtime/dzVents.lua: ...oticz/dzVents/runtime/device-adapters/genericdevice.lua:67: attempt to index a nil value (field '')
I did a new installation of the plugin
@Eucliwood090, how does it relate to the original issue, does error happen when you open a plugin UI?
unfortunately yes it still does not work ... I am still stuck on loading
Some testings for loading screen zigbee2mqtt with 2 systems:
Production Pi 1 (PI model 4B): Zigbee stick : Slaesh’s stick zigbee2mqtt version 1.17.1 (running in docker) Domoticz version 2021.1 stable (running native - not docker) zigbee2mqtt plugin version 0.2.1 with 3 devices Mosquitto 1.6 (running in docker)
Test Pi 2 (PI model 4B): Zigbee stick : CC2531 zigbee2mqtt version 1.21.1 (running in docker) Domoticz version 2021.1 13491 beta (running native) zigbee2mqtt plugin version 0.2.1 with 1 device Mosquitto 1.6 (running in docker)
On both Pi’s I added on hardware 2 times zigbee2mqtt. 1 for local and 1 for external
Result on the 2 Pi’s : (See screen: –custom-zigbee2mqtt- : 2 ‘tabs’ ) On the Pi1 with Slaesh-stick : Local: screen keeps loading , external: OK! On the Pi2 with CC2532 : Local: OK ! , external: screen keeps loading….
With verbose logging’s on, I see on both Pi’s : Almost no loggings from the Pi1 with Slaesh’s stick.. compared with the Pi2 with CC2531.. Maybe I have to update the Pi1 to zigbee2mqtt version 1.21.1
Logging from Pi1 where screen LOCal keeps loading :
2021-09-11 10:56:02.102 Z2M-LOC: (Z2M-LOC) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Ю 2021-09-11 10:56:07.816 Z2M-LOC: (Z2M-LOC) New request: [15] bridge_getstatus({}) 2021-09-11 10:56:07.816 Z2M-LOC: (Z2M-LOC) MqttClient::publish zigbee2mqtt/bridge/config/permit_join () 2021-09-11 10:56:07.816 Z2M-LOC: (Z2M-LOC) Sending 41 bytes of data 2021-09-11 10:56:07.816 Z2M-LOC: (Z2M-LOC) 30 27 00 25 7a 69 67 62 65 65 32 6d 71 74 74 2f 62 72 69 64 0'.%zigbee2mqtt/brid 2021-09-11 10:56:07.816 Z2M-LOC: (Z2M-LOC) 67 65 2f 63 6f 6e 66 69 67 2f 70 65 72 6d 69 74 5f 6a 6f 69 ge/config/permit_joi 2021-09-11 10:56:07.816 Z2M-LOC: (Z2M-LOC) 6e .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. n 2021-09-11 10:56:07.866 Z2M-LOC: (Z2M-LOC) Received 41 bytes of data 2021-09-11 10:56:07.866 Z2M-LOC: (Z2M-LOC) 30 27 00 25 7a 69 67 62 65 65 32 6d 71 74 74 2f 62 72 69 64 0'.%zigbee2mqtt/brid 2021-09-11 10:56:07.866 Z2M-LOC: (Z2M-LOC) 67 65 2f 63 6f 6e 66 69 67 2f 70 65 72 6d 69 74 5f 6a 6f 69 ge/config/permit_joi 2021-09-11 10:56:07.866 Z2M-LOC: (Z2M-LOC) 6e .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. n 2021-09-11 10:56:07.867 Z2M-LOC: (Z2M-LOC) MQTT message: zigbee2mqtt/bridge/config/permit_join 2021-09-11 10:56:12.074 Z2M-LOC: (Z2M-LOC) MqttClient::ping 2021-09-11 10:56:12.074 Z2M-LOC: (Z2M-LOC) Sending 2 bytes of data 2021-09-11 10:56:12.074 Z2M-LOC: (Z2M-LOC) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. � 2021-09-11 10:56:12.125 Z2M-LOC: (Z2M-LOC) Received 2 bytes of data 2021-09-11 10:56:12.125 Z2M-LOC: (Z2M-LOC) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Ю 2021-09-11 10:56:22.096 Z2M-LOC: (Z2M-LOC) MqttClient::ping 2021-09-11 10:56:22.096 Z2M-LOC: (Z2M-LOC) Sending 2 bytes of data 2021-09-11 10:56:22.096 Z2M-LOC: (Z2M-LOC) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. � 2021-09-11 10:56:22.147 Z2M-LOC: (Z2M-LOC) Received 2 bytes of data 2021-09-11 10:56:22.148 Z2M-LOC: (Z2M-LOC) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Ю 2021-09-11 10:56:32.078 Z2M-LOC: (Z2M-LOC) MqttClient::ping 2021-09-11 10:56:32.078 Z2M-LOC: (Z2M-LOC) Sending 2 bytes of data 2021-09-11 10:56:32.078 Z2M-LOC: (Z2M-LOC) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. � 2021-09-11 10:56:32.128 Z2M-LOC: (Z2M-LOC) Received 2 bytes of data 2021-09-11 10:56:32.128 Z2M-LOC: (Z2M-LOC) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Ю
Updated Pi1 to zigbee2mqtt version 1.21.0. Same results.
But i see on the loggings in z2m something different between the 2 Pi's : On Pi1 opening UI-page local, i have this in the logging: _Debug Received MQTT message on 'zigbee2mqtt/bridge/config/permitjoin' with data ''
On Pi1 opening UI external page a lot more response : _Debug Received MQTT message on 'zigbee2mqtt/bridge/config/permit_join' with data '' Info Zigbee: disabling joining new devices. Info MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"eb5750d\n","coordinator":{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190608,"transportrev":2},"type":"zStack12"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0xdddddddddddddddd","panID":7896},"permit_join":false,"version":"1.21.1"}' Debug Received MQTT message on 'zigbee2mqtt/bridge/config/devices' with data '' Info MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":[{"dateCode":"20190608","friendly_name":"Coordinator","ieeeAddr":"0x00124b001949bf1b","lastSeen":1631382315822,"networkAddress":0,"softwareBuildID":"zStack12","type":"Coordinator"},{"dateCode":"20191205","description":"Aqara temperature, humidity and pressure sensor","friendlyname":"0x00158d000461fa54","hardwareVersion":30,"ieeeAddr":"0x00158d000461fa54","lastSeen":1630948047386,"manufacturerID":4151,"manufacturerName":"LUMI","model":"WSDCGQ11LM","modelID":"lumi.weather","networkAddress":59198,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"}],"type":"devices"}' Debug Received MQTT message on 'zigbee2mqtt/bridge/config/groups' with data '' Info MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":[],"type":"groups"}'
Identical on Pi2
( Pi1 with Slaesh : no response )
Hi! Updated to latest version, but still see 1.21.1 (like my comment above) and still not working. Do I need to do something different to get above (possible) fix?
Found it, needed to do a git pull in domoticz/plugins/zigbee2mqtt too. But unfortunately, still not working.
Is now working ( on the 2 Pi's) ! I tried a lot, but i think, this did the trick:
On the Pi1 with Slaesh's stick : Removed the zigbee2mqtt 1.21.1 from docker (docker-compose) complete and installed Z2M 1.21.1 native (not in Docker). UI in Domoticz on Pi1 and Pi2 is now OK. New ZB-devices are loaded and working in domoticz. (On both Pi's ! )
There must be an fault on my docker(-compose) configuration ...
But, if i start 'touchlink' on z2m, then it 'freezes' and UI's on both domoticz are gone and keeps 'loading'. After restart z2m the UI's are back good. I found it is an other known issue from TI .
_(Config on both Pi's 4B : Z2M version 1.21.1 , Domoticz Z2M plugin version 0.2.1 (for V3.. is Domoticz BETA needed and on one Pi i'm running stable)),__
I'm using Domoticz 2021.1 build 13497 (BETA) with plugin version 3.1.0-Beta, only get the "loading.." screen.
Found a solution.
You have to enable the Legacy Api option. Go to your Zigbee2MQTT frontend and go to Settings -> Advanced. Search for the Legacy API checkbox and enable. Restart Zigbee2MQTT.
Or edit the /opt/zigbee2mqtt/data/configuration.yaml and add the line: legacy_api: true
hi! Thanks for the hint (legacy_api), but unfortunately for me it did not help, page keeps in the Loading... state.
Wonder if someone could check if it gets better with the latest update
I get errors when trying to load devices tab now. Did not happen on my setup before this update. Edit: Also the process memory usage is way up again. over 100mbytes in just 30 minutes and growing. Normaly around 45mb on my test setup.
Edit2: On domoticz 13505 it's all good again. I was on a newer verision of domoticz that I compiled today (13530). That one did not like your update, as shown below.
2021-09-23 22:10:10.291 Error: SQL Query("UPDATE DeviceStatus SET Name='$Zigbee2MQTT API Transport', Description='', Used=1, Type=243, SubType=19, SwitchType=0, nValue=0, sValue='{"type": "response", "requestId": 2, "isError": false, "payload": {"commit": "b558bbdc", "config": {"advanced": {"adapter_concurrent": null, "adapter_delay": null, "availability_blacklist": [], "availability_blocklist": [], "availability_passlist": [], "availability_timeout": 0, "availability_whitelist": [], "cache_state": true, "cache_state_persistent": true, "cache_state_send_on_startup": true, "channel": 11, "elapsed": false, "ext_pan_id": [221, 221, 221, 221, 221, 221, 221, 221], "homeassistant_discovery_topic": "homeassistant", "homeassistant_legacy_entity_attributes": true, "homeassistant_legacy_triggers": false, "homeassistant_status_topic": "hass/status", "ikea_ota_use_test_url": true, "last_seen": "disable", "legacy_api": true, "log_directory": "/opt/zigbee2mqtt/data/log/%TIMESTAMP%", "log_file": "log.txt", "log_level": "info", "log_output": ["console"], "log_rotation": false, "log_symlink_current": false, "log_syslog": {"app_name": "Zigbee2MQTT", "eol": "/n", "host": "localhost", "localhost": "localhost", "path": "/dev/log", "pid": "process.pid", "port": 123, "protocol": "tcp4", "type": "5424"}, "pan_id": 6754, "report": true, "rtscts": false, "soft_reset_timeout": 0, "timestamp_format": "YYYY-MM-DD HH:mm:ss"}, "ban": [], "blocklist": [], "device_options": {}, "devices": {"0x000b57fffe8986bd": {"friendly_name": "Vardagsrum Fram"}, "0x000b57fffe93c9a3": {"friendly_name": "Vardagsrum Uppe"}, "0x000b57fffe952045": {"friendly_name": "Vardagsrum Bak"}, "0x000b57fffe984c19": {"friendly_name": "Trappa"}, "0x000b57fffea50fde": {"friendly_name": "Trappa Fj\u00e4rrkontroll"}, "0x000b57fffeb0c010": {"friendly_name": "Spotlight V\u00e4nster"}, "0x000b57fffeb8fb12": {"friendly_name": "Spotlight H\u00f6ger"}, "0x000b57fffebdc0bd": {"friendly_name": "Spotlight Mitten"}, "0x000d6ffffe21bd2e": {"friendly_name": "Hampus TV-rum"}, "0x000d6ffffec243cf": {"friendly_name": "Larmknapp"}, "0x00124b001ba70858": {"friendly_name": "Vitrinsk\u00e5p"}, "0x00158d000104201f": {"friendly_name": "Mi Cube"}, "0x00158d000184557b": {"friendly_name": "Trust Remote"}, "0x00158d0001a668da": {"friendly_name": "TV Uppe Fj\u00e4rrkontroll"}, "0x00158d000218b7ce": {"friendly_name": "Matrum"}, "0x00158d0003468c75": {"friendly_name": "Aqara Vibration"}, "0x00158d00034ff59d": {"friendly_name": "Vinden"}, "0x00158d000444b431": {"friendly_name": "Garage"}, "0x00158d000444b477": {"friendly_name": "Bottenv\u00e5ning"}, "0x00158d000444b505": {"friendly_name": "Sovrum"}, "0x00158d00045be000": {"friendly_name": "Ute", "temperature_calibration": -0.5}, "0x00158d00052d2cfb": {"friendly_name": "0x00158d00052d2cfb"}, "0x00158d000543c5c3": {"friendly_name": "MCS Ytterd\u00f6rr"}, "0x588e81fffe3e89a2": {"friendly_name": "PIR WC"}, "0x60a423fffe61cfd2": {"friendly_name": "Datarum"}, "0x680ae2fffe71c1ad": {"friendly_name": "\u00d6verv\u00e5ning"}, "0x7cb03eaa0a06a75f": {"friendly_name": "Osram Plug"}, "0x84182600000e4790": {"friendly_name": "Uteplats"}, "0x84182600000eb8f0": {"friendly_name": "TV Uppe"}, "0x84fd27fffecf31b7": {"friendly_name": "Ikea Repeater"}, "0x90fd9ffffe73cfa9": {"friendly_name": "Matbord"}, "0x90fd9ffffed7715a": {"friendly_name": "Matbord Fj\u00e4rrkontroll"}, "0xbc33acfffe1bfcfb": {"friendly_name": "F\u00f6nster \u00d6verv\u00e5ning"}, "0xbc33acfffed8529d": {"friendly_name": "Garagebrytare"}, "0xd0cf5efffee6e587": {"friendly_name": "Spotlights Fj\u00e4rrkontroll"}, "0xec1bbdfffee4dc13": {"friendly_name": "Hampus Sovrum"}}, "experimental": {"new_api": true, "output": "json"}, "external_converters": [], "frontend": {"port": 8880}, "groups": {"3": {"devices": ["0x000b57fffe984c19/1"], "friendly_name": "Trappa_dimmer"}, "321": {"devices": ["0x000b57fffeb8fb12/1", "0x000b57fffebdc0bd/1", "0x000b57fffeb0c010/1"], "friendly_name": "Spotlights_vardagsrum"}, "901": {"devices": ["0x90fd9ffffe73cfa9/1"], "friendly_name": "Matbord_dimmer"}}, "homeassistant": true, "map_options": {"graphviz": {"colors": {"fill": {"coordinator": "#e04e5d", "enddevice": "#fff8ce", "router": "#4ea3e0"}, "font": {"coordinator": "#ffffff", "enddevice": "#000000", "router": "#ffffff"}, "line": {"active": "#009900", "inactive": "#994444"}}}}, "mqtt": {"base_topic": "zigbee2mqtt", "force_disable_retain": false, "include_device_information": false, "server": "mqtt://localhost", "user": "mqtt"}, "ota": {"disable_automatic_update_check": false, "update_check_interval": 1440}, "passlist": [], "permit_join": false, "serial": {"disable_led": false, "port": "/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0"}, "whitelist": []}, "config_schema": {"definitions": {"device": {"properties": {"debounce": {"description": "Debounces messages of this device", "title": "Debounce", "type": "number"}, "debounce_ignore": {"description": "Protects unique payload values of specified payload properties from overriding within debounce time", "examples": ["action"], "items": {"type": "string"}, "title": "Ignore debounce", "type": "array"}, "filtered_attributes": {"description": "Filter attributes from publish payload.", "examples": ["temperature", "battery", "action"], "items": {"type": "string"}, "title": "Filtered publish attributes", "type": "array"}, "filtered_optimistic": {"description": "Filter attributes from optimistic publish payload when calling /set. (This has no effect if optimistic is set to false).", "examples": ["color_mode", "color_temp", "color"], "items": {"type": "string"}, "title": "Filtered optimistic attributes", "type": "array"}, "friendly_name": {"description": "Used in the MQTT topic of a device. By default this is the device ID", "readOnly": true, "title": "Friendly name", "type": "string"}, "icon": {"description": "The user-defined device icon for the frontend. It can be a link to an image (not a path to a file) or base64 encoded data URL like: image/svg+xml;base64,PHN2ZyB3aW....R0aD", "title": "Icon", "type": "string"}, "optimistic": {"default": true, "description": "Publish optimistic state after set", "title": "Optimistic", "type": "boolean"},
DataTables warning: table id=zigbee2mqtt-devices - Requested unknown parameter 'ieeeAddr' for row 0, column 4. For more information about this error, please see http://datatables.net/tn/4
after update ive got this
Looks like the old UI page has been cached, try to clear browser cache
I cleared cache and also tried with incognito mode. Same result on 13530. If the "clear browser cache"-question was directed at me.
I got also DataTables warning: table id=zigbee2mqtt-devices - Requested unknown parameter 'ieeeAddr' for row 0, column 4. For more information about this error, please see http://datatables.net/tn/4 just after yesterday update. Legacy API was enabled in the zigbee2mqtt. It was OK on update from 20th september so bug has occured within 3 days back
how to switch back onto commit 1d5f12d ?
@pawol clearing browser cache should help with your issue.
But if you'd like to revert just checkout the required commit i.e.
git checkout 1d5f12d
This morning Domoticz updated to 2021.1 (build 13733). Running the previous beta version the UI worked well. After the update, it keeps loading.
suggest to swap to native mqtt. after i leave plugin, soil moisture, geiger counter, and all stuf eg thermostat from tuya works properly
Hi, have a similar issue. Today I installed zigbee2mqtt on an RPI3, have version 3.7x python, latest domoticz and installed the plug in for z2m. I’m using host as 127.0.0.1 and port 1883. All I get in Domoticz log is the following, any help would be appreciated. Thanks in advance.
2021-10-18 16:20:06.432 Error: CC2531: (Zigbee2MQTT) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-zigbee2mqtt-plugin/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'. 2021-10-18 16:20:06.432 Error: CC2531: (CC2531) Module Import failed, exception: 'ModuleNotFoundError' 2021-10-18 16:20:06.432 Error: CC2531: (CC2531) Module Import failed: ' Name: DomoticzEx' 2021-10-18 16:20:06.432 Error: CC2531: (CC2531) Error Line details not available. 2021-10-18 16:57:23.820 Error: CC2531: (Zigbee2MQTT) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-zigbee2mqtt-plugin/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'. 2021-10-18 16:57:23.820 Error: CC2531: (CC2531) Module Import failed, exception: 'ModuleNotFoundError' 2021-10-18 16:57:23.820 Error: CC2531: (CC2531) Module Import failed: ' Name: DomoticzEx' 2021-10-18 16:57:23.820 Error: CC2531: (CC2531) Error Line details not available. 2021-10-18 16:59:27.336 Error: CC2531: (Zigbee2MQTT) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-zigbee2mqtt-plugin/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'. 2021-10-18 16:59:27.336 Error: CC2531: (CC2531) Module Import failed, exception: 'ModuleNotFoundError' 2021-10-18 16:59:27.336 Error: CC2531: (CC2531) Module Import failed: ' Name: DomoticzEx' 2021-10-18 16:59:27.337 Error: CC2531: (CC2531) Error Line details not available
Hi,
updated today and can see now the same behavior, page just loading. I put debug on but cannot see anything relevant in the log. Also the console shows no errors, it just server an empty page:
Cache cleared, also tried with another theme just in case.
I have an issue again. 2nd time since 1 month. This time clearing browser cache does not help.
Go in your Domoticz to Setup --> Devices, search for the device "api_transport" and set it to used (click the green arrow pointing right). The custom plugin pages will load again.
Wow that's it! Thanks Sammyke!
Hello, I have a problem with loading the interface on domoticz.
My plugin is in version 3.0.0 My Domoticz version Version: 2021.1 (build 13360) Build Hash: eee333c30 Compile Date: 2021-07-04 11:58:11 dzVents Version: 3.1.8 Python Version: 3.8.6 (default, Sep 25 2020, 09:36:53) [GCC 10.2.0]
I get stuck on loading, is there a solution?