JacekHoleczek / Domoticz-Xiaomi-Mi-Air-Purifier-MIoT-Plugin

A Python plugin for Domoticz to access Xiaomi Mi Air Purifier 3 / 3 H / Pro H
GNU Lesser General Public License v2.1
1 stars 0 forks source link

Domoticz status error #4

Open codystoica opened 1 year ago

codystoica commented 1 year ago

Hello I receive the correct information from SmartMI AirPurifier (zhimi.airpurifier.za1) but in Domoticz this error appears and the information is not updated. I need some advice on what to do Thank you!

2022-12-31 17:48:40.490 AIR: AirPurifierMiotStatus aqi=17 average_aqi=11 buzzer=False buzzer_volume=None child_lock=False fan_level=None favorite_level=7 filter_hours_used=2983 filter_life_remaining=14 filter_type=FilterType.Regular humidity=61 is_on=0 led=None led_brightness=LedBrightness.Off mode=OperationMode.Auto motor_speed=None power=off purify_volume=70848 temperature=20.5 use_time=21254441 2022-12-31 17:48:41.287 AIR: AirPurifierMiotStatus aqi=17 average_aqi=11 buzzer=False buzzer_volume=None child_lock=False fan_level=None favorite_level=7 filter_hours_used=2983 filter_life_remaining=14 filter_type=FilterType.Regular humidity=61 is_on=0 led=None led_brightness=LedBrightness.Off mode=OperationMode.Auto motor_speed=None power=off purify_volume=70848 temperature=20.5 use_time=21254441 2022-12-31 17:48:41.318 AIR: Update 0:'Buzzer OFF' (AIR - Buzzer) 2022-12-31 17:48:41.333 AIR: Update 0:'Child Lock OFF' (AIR - Child Lock)

2022-12-31 17:48:41.333 Error: AIR: Unrecognized heartbeat error: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

JacekHoleczek commented 1 year ago

I'm afraid I haven't been using it for a very long time. If I remember well, when such an error appeared, I always "rebooted" my Raspberry Pi (it was not running all the time anyhow), which cleaned the error (maybe also simply restarting the Domoticz was sufficient).