Comments (12)
@m-carter1 Could you please enable debug mode in plugin settings to see more info.
And just FYI plugin version 0.0.10 is already available
from domoticz-zigbee2mqtt-plugin.
Now updated to v0.0.10.0 still same issue, I'm not seeing much else with verbose logging on, just lots of heartbeat messages
2018-10-27 17:46:13.095 Status: (Zigbee2MQTT) Stopping threads.
2018-10-27 17:46:13.095 Status: (Zigbee2MQTT) Stopped.
2018-10-27 17:46:13.095 Status: (Zigbee2MQTT) Started.
2018-10-27 17:46:13.291 Status: (Zigbee2MQTT) Entering work loop.
2018-10-27 17:46:13.292 Status: (Zigbee2MQTT) Initialized version 0.0.10
2018-10-27 17:46:13.501 Error: (Zigbee2MQTT) 'onMessage' failed 'KeyError'.
2018-10-27 17:46:13.501 Error: (Zigbee2MQTT) ----> Line 200 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMessage
2018-10-27 17:46:13.501 Error: (Zigbee2MQTT) ----> Line 125 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMessage
2018-10-27 17:46:13.501 Error: (Zigbee2MQTT) ----> Line 126 in '/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py', function onMessage
2018-10-27 17:46:13.501 Error: (Zigbee2MQTT) ----> Line 159 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMQTTPublish
2018-10-27 17:46:13.501 Error: (Zigbee2MQTT) ----> Line 26 in '/home/pi/domoticz/plugins/zigbee2mqtt/device_storage.py', function update
2018-10-27 17:46:23.316 (Zigbee2MQTT) Heartbeating... 2018-10-27 17:46:23.316 (Zigbee2MQTT) MqttClient::Ping 2018-10-27 17:46:23.316 (Zigbee2MQTT) Sending 2 bytes of data 2018-10-27 17:46:23.316 (Zigbee2MQTT) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �.
from domoticz-zigbee2mqtt-plugin.
What Domoticz version are you using?
from domoticz-zigbee2mqtt-plugin.
Version: 4.10110
Build Hash: de9a1692
Compile Date: 2018-10-27 13:24:50
dzVents Version: 2.4.7
Python Version: 3.4.2 (default, Sep 26 2018, 07:50:08) [GCC 4.9.2]
from domoticz-zigbee2mqtt-plugin.
Could you please share your zigbee2mqtt server log as well
from domoticz-zigbee2mqtt-plugin.
-- Logs begin at Sat 2018-10-27 16:22:25 UTC. --
Oct 27 17:28:38 raspberrypi npm[684]: zigbee2mqtt:info 2018-10-27 17:28:38 MQTT publish, topic: 'zigbee2mqtt/0x00158d0001bd0e35', payload: '{"battery":"99.00","voltage":3012,"linkquality":73,"device":{"ieeeAddr":"0x00158d0001bd0e35","friendlyName":"0x00158d0001bd0e35","type":"EndDevice","nwkAddr":46134,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_switch","status":"online"}}'
Oct 27 17:41:28 raspberrypi npm[684]: zigbee2mqtt:info 2018-10-27 17:41:28 MQTT publish, topic: 'zigbee2mqtt/0x00158d0001dc028b', payload: '{"occupancy":true,"linkquality":110,"device":{"ieeeAddr":"0x00158d0001dc028b","friendlyName":"0x00158d0001dc028b","type":"EndDevice","nwkAddr":57809,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_motion","status":"online"}}'
Oct 27 17:42:58 raspberrypi npm[684]: zigbee2mqtt:info 2018-10-27 17:42:58 MQTT publish, topic: 'zigbee2mqtt/0x00158d0001dc028b', payload: '{"occupancy":false,"linkquality":110,"device":{"ieeeAddr":"0x00158d0001dc028b","friendlyName":"0x00158d0001dc028b","type":"EndDevice","nwkAddr":57809,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_motion","status":"online"}}'
Oct 27 17:45:59 raspberrypi npm[684]: zigbee2mqtt:info 2018-10-27 17:45:59 MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"devices","message":[{"ieeeAddr":"0x00158d0001c30620","type":"EndDevice","friendly_name":"0x00158d0001c30620"},{"ieeeAddr":"0x00158d0001bd0e35","type":"EndDevice","model":"WXKG01LM","friendly_name":"0x00158d0001bd0e35"},{"ieeeAddr":"0x00158d0001bb6469","type":"EndDevice","model":"SJCGQ11LM","friendly_name":"0x00158d0001bb6469"},{"ieeeAddr":"0x00158d0001dc028b","type":"EndDevice","model":"RTCGQ01LM","friendly_name":"0x00158d0001dc028b"},{"ieeeAddr":"0x00158d000222e0b7","type":"EndDevice","friendly_name":"0x00158d000222e0b7"}]}'
Oct 27 17:46:13 raspberrypi npm[684]: zigbee2mqtt:info 2018-10-27 17:46:13 MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"devices","message":[{"ieeeAddr":"0x00158d0001c30620","type":"EndDevice","friendly_name":"0x00158d0001c30620"},{"ieeeAddr":"0x00158d0001bd0e35","type":"EndDevice","model":"WXKG01LM","friendly_name":"0x00158d0001bd0e35"},{"ieeeAddr":"0x00158d0001bb6469","type":"EndDevice","model":"SJCGQ11LM","friendly_name":"0x00158d0001bb6469"},{"ieeeAddr":"0x00158d0001dc028b","type":"EndDevice","model":"RTCGQ01LM","friendly_name":"0x00158d0001dc028b"},{"ieeeAddr":"0x00158d000222e0b7","type":"EndDevice","friendly_name":"0x00158d000222e0b7"}]}'
Oct 27 17:49:18 raspberrypi npm[684]: zigbee2mqtt:info 2018-10-27 17:49:18 MQTT publish, topic: 'zigbee2mqtt/0x00158d0001dc028b', payload: '{"occupancy":true,"linkquality":115,"device":{"ieeeAddr":"0x00158d0001dc028b","friendlyName":"0x00158d0001dc028b","type":"EndDevice","nwkAddr":57809,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_motion","status":"online"}}'
Oct 27 17:50:48 raspberrypi npm[684]: zigbee2mqtt:info 2018-10-27 17:50:48 MQTT publish, topic: 'zigbee2mqtt/0x00158d0001dc028b', payload: '{"occupancy":false,"linkquality":115,"device":{"ieeeAddr":"0x00158d0001dc028b","friendlyName":"0x00158d0001dc028b","type":"EndDevice","nwkAddr":57809,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_motion","status":"online"}}'
Oct 27 18:07:03 raspberrypi npm[684]: zigbee2mqtt:info 2018-10-27 18:07:03 MQTT publish, topic: 'zigbee2mqtt/0x00158d0001bb6469', payload: '{"battery":"99.00","voltage":3005,"linkquality":89,"device":{"ieeeAddr":"0x00158d0001bb6469","friendlyName":"0x00158d0001bb6469","type":"EndDevice","nwkAddr":49585,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_wleak.aq1","status":"online"}}'
Oct 27 18:20:28 raspberrypi npm[684]: zigbee2mqtt:info 2018-10-27 18:20:28 MQTT publish, topic: 'zigbee2mqtt/0x00158d0001dc028b', payload: '{"occupancy":false,"linkquality":110,"device":{"ieeeAddr":"0x00158d0001dc028b","friendlyName":"0x00158d0001dc028b","type":"EndDevice","nwkAddr":57809,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_motion","status":"online"},"battery":"99.00","voltage":3025}'
Oct 27 18:28:51 raspberrypi npm[684]: zigbee2mqtt:info 2018-10-27 18:28:51 MQTT publish, topic: 'zigbee2mqtt/0x00158d0001bd0e35', payload: '{"battery":"99.00","voltage":3012,"linkquality":84,"device":{"ieeeAddr":"0x00158d0001bd0e35","friendlyName":"0x00158d0001bd0e35","type":"EndDevice","nwkAddr":46134,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_switch","status":"online"}}'
from domoticz-zigbee2mqtt-plugin.
In your log
Oct 27 17:46:13 raspberrypi npm[684]: zigbee2mqtt:info 2018-10-27 17:46:13 MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"devices","message":[{"ieeeAddr":"0x00158d0001c30620","type":"EndDevice","friendly_name":"0x00158d0001c30620"},{"ieeeAddr":"0x00158d0001bd0e35","type":"EndDevice","model":"WXKG01LM","friendly_name":"0x00158d0001bd0e35"},{"ieeeAddr":"0x00158d0001bb6469","type":"EndDevice","model":"SJCGQ11LM","friendly_name":"0x00158d0001bb6469"},{"ieeeAddr":"0x00158d0001dc028b","type":"EndDevice","model":"RTCGQ01LM","friendly_name":"0x00158d0001dc028b"},{"ieeeAddr":"0x00158d000222e0b7","type":"EndDevice","friendly_name":"0x00158d000222e0b7"}]}'
I see that first device in the list:
{"ieeeAddr":"0x00158d0001c30620","type":"EndDevice","friendly_name":"0x00158d0001c30620"}
doesn't have model
attribute which is currently required. Do you know what this device is?
I will update plugin to skip such devices
from domoticz-zigbee2mqtt-plugin.
It's a Xiaomi MiJia wireless switch WXKG01LM, it's on the supported devices list.
Nothing was showing in the logs when pressing the button so i've re-added it and now it shows in the logs. But still getting the same error for the plugin. Is there any way i can add a model attribute in for it?
Log after after re-adding:
Oct 27 20:23:37 raspberrypi npm[1489]: zigbee2mqtt:info 2018-10-27 20:23:37 MQTT publish, topic: 'zigbee2mqtt/0x00158d0001c30620', payload: '{"click":"single","linkquality":144,"device":{"ieeeAddr":"0x00158d0001c30620","friendlyName":"0x00158d0001c30620","type":"EndDevice","nwkAddr":806,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_switch","status":"online"}}'
from domoticz-zigbee2mqtt-plugin.
@m-carter1 could you please check with 0.0.11 version
from domoticz-zigbee2mqtt-plugin.
The errors have now gone from the logs with 0.0.11 version.
However, i'm not seeing any Zigbee2MQTT in the devices list, am I missing something?
2018-10-28 11:50:53.617 Status: (Zigbee2MQTT) Started. 2018-10-28 11:50:53.828 Status: (Zigbee2MQTT) Entering work loop. 2018-10-28 11:50:53.829 Status: (Zigbee2MQTT) Initialized version 0.0.11 2018-10-28 11:50:54.036 (Zigbee2MQTT) Received available devices list from bridge
from domoticz-zigbee2mqtt-plugin.
Try to trigger device to send some status update, plugin should create device in domoticz once it receive such
from domoticz-zigbee2mqtt-plugin.
That did the trick. It's working well now.
Thanks for your help!
from domoticz-zigbee2mqtt-plugin.
Related Issues (20)
- domoticz changed in docker HOT 3
- `Xiaomi RTCZCGQ11LM Detection regions` feature support HOT 1
- Script error when trying to remove zigbee2mqtt device from frontend HOT 1
- How can we support a new device ? HOT 1
- Switch on/off command doesn't work HOT 1
- Slow reaction via domoticz device after big system update HOT 1
- WXKG11LM Aqara wireless switch no Devices Created, Allow new devices is on HOT 4
- Domoticz not show device PM2 and VOC - Vindstyrka air quality and humidity sensor
- ZTH02 small with cr2032 battery not well implemented HOT 3
- IKEA Tradfri E1743 status not changing in Domoticz HOT 2
- neo nas-PD07 motion Zigbee model TS0601 Zigbee Fabrikant _TZE200_7hfcudw5 HOT 1
- Plugin crash with Valueerror 12 not in list. HOT 3
- Xiaomi Aqara vibration sensor (DJT11LM) HOT 6
- Impossible to see frontend on domoticz dashboard HOT 2
- Impossible to pair stripe led Livarno home by LIDL HG08132 (TS0505A) HOT 1
- Depricated RType (devices) for API request. | Zigbee2mqtt plugin HOT 12
- Depricated RType (devices) for API request HOT 11
- Zigbee2MQTT UI doesn't load in domoticz after update (2024-3). HOT 1
- Plugin fails to connect due to TypeError: a bytes-like object is required, not 'str' HOT 1
- reverse position for blinds ts130f doesn't change anything in domoticz HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from domoticz-zigbee2mqtt-plugin.