Zigbee2mqtt Bridge Error

Plugin for integrating Zigbee devices connected via Zigbee2mqtt.
CliveS
Posts: 778
Joined: Sun Jan 10, 2016 5:31 am
Location: Medomsley, County Durham, UK

Zigbee2mqtt Bridge Error

Post by CliveS »

Jon, Woke up this morning to loads of these errors, not sure what device is causing them.

2 Apr 2024 at 08:48:04
Zigbee2mqtt Bridge Error 'int() argument must be a string, a bytes-like object or a real number, not 'NoneType'' in module 'zigbeeHandler.py', method 'process_property_voltage [2024.0.4]'
Failing statement [line 2210]: 'voltage = int(json_payload["voltage"])'
Zigbee2mqtt Bridge Error 'int() argument must be a string, a bytes-like object or a real number, not 'NoneType'' in module 'zigbeeHandler.py', method 'process_property_voltage [2024.0.4]'
Failing statement [line 2210]: 'voltage = int(json_payload["voltage"])'
CliveS

Indigo 2023.2.0 : macOS Sonoma 14.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD

The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
CliveS
Posts: 778
Joined: Sun Jan 10, 2016 5:31 am
Location: Medomsley, County Durham, UK

Re: Zigbee2mqtt Bridge Error

Post by CliveS »

Now fixed, thanks Jon, I am sure he will be posting a new version of the plugin soon but the error was more annoying than actually a problem, seems some motion sensors don't support the 'voltage' setting and give "voltage":null which like the error states null is not a number.
CliveS

Indigo 2023.2.0 : macOS Sonoma 14.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD

The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Post Reply

Return to “Zigbee2mqtt”