Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
airlychee opened this issue Mar 6, 2021 · 2 comments
Open

Comments

@airlychee
Copy link

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'}

@syssi
Copy link
Owner

syssi commented Mar 7, 2021

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).

@sasukebinbin
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants