Closed odelma closed 2 years ago
Well, it turned out that there was a mistake made in the bridge with latest changes in how Aqara Opple's were handled. Now I'm back to this:
2021-12-07 14:35:30.027 Error: Zigbee2MQTT: 'onMessage' failed 'AttributeError':''NoneType' object has no attribute 'startswith''.
2021-12-07 14:35:30.027 Error: Zigbee2MQTT: Exception traceback:
2021-12-07 14:35:30.027 Error: Zigbee2MQTT: ----> Line 298 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMessage
2021-12-07 14:35:30.027 Error: Zigbee2MQTT: ----> Line 137 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMessage
2021-12-07 14:35:30.027 Error: Zigbee2MQTT: ----> Line 167 in '/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py', function onMessage
2021-12-07 14:35:30.027 Error: Zigbee2MQTT: ----> Line 214 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMQTTPublish
2021-12-07 14:35:30.027 Error: Zigbee2MQTT: ----> Line 61 in '/home/pi/domoticz/plugins/zigbee2mqtt/devices_manager.py', function handle_mqtt_message
2021-12-07 14:35:30.027 Error: Zigbee2MQTT: ----> Line 45 in '/home/pi/domoticz/plugins/zigbee2mqtt/adapters/lumi/aqara_opple_switch.py', function handle_mqtt_message
The fix that was made on the bridge: https://github.com/Koenkk/zigbee-herdsman-converters/commit/edea8525dcf5653e4eea8cd1655c25a9156c8e0a (related issue: https://github.com/Koenkk/zigbee2mqtt/issues/10033)
@stas-demydiuk - anything you could do about this error still appearing:
2021-12-29 10:43:22.661 Error: Zigbee2MQTT: 'onMessage' failed 'AttributeError':''NoneType' object has no attribute 'startswith''.
2021-12-29 10:43:22.661 Error: Zigbee2MQTT: Exception traceback:
2021-12-29 10:43:22.661 Error: Zigbee2MQTT: ----> Line 298 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMessage
2021-12-29 10:43:22.661 Error: Zigbee2MQTT: ----> Line 137 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMessage
2021-12-29 10:43:22.661 Error: Zigbee2MQTT: ----> Line 167 in '/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py', function onMessage
2021-12-29 10:43:22.661 Error: Zigbee2MQTT: ----> Line 214 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMQTTPublish
2021-12-29 10:43:22.661 Error: Zigbee2MQTT: ----> Line 61 in '/home/pi/domoticz/plugins/zigbee2mqtt/devices_manager.py', function handle_mqtt_message
2021-12-29 10:43:22.661 Error: Zigbee2MQTT: ----> Line 45 in '/home/pi/domoticz/plugins/zigbee2mqtt/adapters/lumi/aqara_opple_switch.py', function handle_mqtt_message
Thanks 👍
@stas-demydiuk Could you please re-open and review this issue as it isn't solved yet.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Issue description started seeing this after recent update:![image](https://user-images.githubusercontent.com/10372952/144752626-46560301-764f-434f-88b3-84972437732d.png)
The switches do not work when seeing this. Once I press the activation button in the back, they work for a short while.
Additional information
![image](https://user-images.githubusercontent.com/10372952/144752721-7f42af14-c219-440e-a4ae-d21135ccb250.png)
Logs Attach any additional logs here which might be useful: mqtt, domoticz, plugin logs