Zigbee2mqtt Bridge Error

Posted on
Tue Apr 02, 2024 2:04 am
CliveS offline
Posts: 771
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Zigbee2mqtt Bridge Error

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 Ventura 13.6.3 : 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

Posted on
Tue Apr 02, 2024 6:53 am
CliveS offline
Posts: 771
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Zigbee2mqtt Bridge Error

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 Ventura 13.6.3 : 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

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests