Zigbee2MQTT Osram Smart+ Switch gives errors. Searching for help with debugging

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
hoeby
Posts: 531
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi / ODroid
Domoticz version: V2022.1
Location: Echt, Netherlands
Contact:

Zigbee2MQTT Osram Smart+ Switch gives errors. Searching for help with debugging

Post by hoeby »

I am running in a problem with Zigbee2MQTT and Osram Smart+ switches.

Which Domoticz version: V4.10717
I don't updated yet. This is on the live system. I do not update because it is not buster.
Need to config a new Pi with buster, i do not want the live version updating, to keep out of troubles.
Setting up a new pi, takes a little longer.

What is the problem: No change in device state when pushing buttons.

I have 3 off these devices.
Pairing with zigbee2mqtt and domoticz went without issues. Device is also visible in the device list.
Device has 3 buttons (Arrow up, Arrow down and centrale button).

After pairing i tested and this is how far i got
Pushing up, than i see changing the last seen time to the moment i pushed. Switch state doesn't change. Device-log is empty
Pushing down, than i see changing the last seen time to the moment i pushed. Switch state doesn't change. Device-log is empty
When pushing the centrale button i get this errors. After that Button Up and Down give the same error.

Code: Select all

2020-04-29 19:11:52.140 Error: (Zigbee2MQTT) 'onMessage' failed 'ValueError':'cannot convert float NaN to integer'. 
2020-04-29 19:11:52.140 Error: (Zigbee2MQTT) ----> Line 193 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMessage 
2020-04-29 19:11:52.140 Error: (Zigbee2MQTT) ----> Line 106 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMessage 
2020-04-29 19:11:52.140 Error: (Zigbee2MQTT) ----> Line 167 in '/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py', function onMessage 
2020-04-29 19:11:52.140 Error: (Zigbee2MQTT) ----> Line 166 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMQTTPublish 
2020-04-29 19:11:52.140 Error: (Zigbee2MQTT) ----> Line 21 in '/home/pi/domoticz/plugins/zigbee2mqtt/adapters/base_adapter.py', function handleMqttMessage 
2020-04-29 19:11:52.140 Error: (Zigbee2MQTT) ----> Line 113 in '/home/pi/domoticz/plugins/zigbee2mqtt/devices/device.py', function handle_message 
2020-04-29 19:11:52.140 Error: (Zigbee2MQTT) ----> Line 13 in '/home/pi/domoticz/plugins/zigbee2mqtt/zigbee_message.py', function get_battery_level
Yes i can go to the files it gives. But what to do with it?

Can somebody help to get on track, how the debug this kind of problems?
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
hoeby
Posts: 531
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi / ODroid
Domoticz version: V2022.1
Location: Echt, Netherlands
Contact:

Re: Zigbee2MQTT Osram Smart+ Switch gives errors. Searching for help with debugging

Post by hoeby »

Searching in zigbee2mqtt log i see this.
This device doesn't change device-state. But doesn't give error (i didn't pushed the central button)

Code: Select all

4/29/2020, 7:25:00 PM - info: MQTT publish: topic 'zigbee2mqtt/Drd-Rolluik-Aukje', payload '{"linkquality":15,"battery":"100.00","voltage":3000,"action":"up"}'
4/29/2020, 7:25:02 PM - info: MQTT publish: topic 'zigbee2mqtt/Drd-Rolluik-A', payload '{"linkquality":15,"battery":"100.00","voltage":3000,"action":"down"}'
This is from the device which gives errors.

Code: Select all

4/29/2020, 7:28:20 PM - info: MQTT publish: topic 'zigbee2mqtt/Drd-Rolluik-Ouders', payload '{"linkquality":0,"battery":"100.00","voltage":3100,"action":"up"}'
4/29/2020, 7:28:21 PM - info: MQTT publish: topic 'zigbee2mqtt/Drd-Rolluik-Ouders', payload '{"linkquality":0,"battery":"100.00","voltage":3100,"action":"circle_press"}'
4/29/2020, 7:28:22 PM - info: MQTT publish: topic 'zigbee2mqtt/Drd-Rolluik-Ouders', payload '{"linkquality":0,"battery":"100.00","voltage":3100,"action":"down"}'
4/29/2020, 7:28:22 PM - warn: No converter available for 'AC0251100NJ' with cid 'lightingColorCtrl', type 'cmdMoveToColorTemp' and data '{"cid":"lightingColorCtrl","data":{"colortemp":370,"transtime":10}}'
4/29/2020, 7:28:22 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
Looks like a function which zigbee2mqtt doens't recognise
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
hoeby
Posts: 531
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi / ODroid
Domoticz version: V2022.1
Location: Echt, Netherlands
Contact:

Re: Zigbee2MQTT Osram Smart+ Switch gives errors. Searching for help with debugging

Post by hoeby »

Sorry to all.

Went to de link in the warning.
There i found some information about the device, but discoved i was not running an up to date zigbee2mqtt
So updated zigbee2mqtt and now it works
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest