xiaomi_airpurifier icon indicating copy to clipboard operation
xiaomi_airpurifier copied to clipboard

NWT 18L Dehumidifier {'code': -5000, 'message': 'invalid operation'}

Open airlychee opened this issue 3 years ago • 2 comments

sometimes the Dehumidifier 'beep' once, and HA log Error:

Logger: custom_components.xiaomi_miio_airpurifier.climate Source: custom_components/xiaomi_miio_airpurifier/climate.py:438 Integration: xiaomi_miio_airpurifier (documentation, issues) First occurred: 上午1:58:25 (5 occurrences) Last logged: 下午7:31:36

Got exception while fetching the state: {'code': -5000, 'message': 'invalid operation'}

airlychee avatar Mar 06 '21 15:03 airlychee

I assume the firmware of the device isn't pretty fault tolerant and/or stable. If you send to many instructions / request to many properties at once / a measurement cannot be done in time the device response with "invalid operation". Another idea: If you call invalid methods (f.e. buzzer on/off) the device response with "invalid operation". Please enable to debug log and try to provide the traffic (requests & responses).

syssi avatar Mar 07 '21 10:03 syssi

I assume the firmware of the device isn't pretty fault tolerant and/or stable. If you send to many instructions / request to many properties at once / a measurement cannot be done in time the device response with "invalid operation". Another idea: If you call invalid methods (f.e. buzzer on/off) the device response with "invalid operation". Please enable to debug log and try to provide the traffic (requests & responses).

same here. I didn't perform any action to the dehumidifier. The error just happen itself.

sasukebinbin avatar Apr 06 '21 05:04 sasukebinbin