develop-dvs / domoticz-airhumidifier2 Goto Github PK
View Code? Open in Web Editor NEWDomoticz plugin for Xiaomi Humidifier 1 and 2
License: MIT License
Domoticz plugin for Xiaomi Humidifier 1 and 2
License: MIT License
Plugin is not working on Raspbian:
2020-04-06 13:51:12.055 Status: (Humidifier) Started.
2020-04-06 13:51:14.487 Error: (AirHumidifier2) failed to load 'plugin.py', Python Path used was '/home/domoticz/domoticz/plugins/domoticz-AirHumidifier2/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'.
2020-04-06 13:51:14.488 Error: (Humidifier) Module Import failed, exception: 'RuntimeError'
2020-04-06 13:51:14.488 Error: (Humidifier) Error Line details not available.
Hello,
I have air humidifier zhimi.humidifier.cb1.
In domoticz log I can see below errors:
2021-12-01 14:01:11.280 Error: Xiaomi_Nawilzacz: (Xiaomi_Nawilzacz) Unrecognized error: an integer is required (got type str)
2021-12-01 14:03:47.101 Status: User: Admin (IP: 192.168.5.212) initiated a switch command (122/Xiaomi_Nawilzacz - Power/On)
2021-12-01 14:03:47.135 Error: Xiaomi_Nawilzacz: (Xiaomi_Nawilzacz) 'onCommand' failed 'TypeError'.
2021-12-01 14:03:47.135 Error: Xiaomi_Nawilzacz: (Xiaomi_Nawilzacz) ----> Line 616 in '/home/pi/domoticz/plugins/domoticz-AirHumidifier2/plugin.py', function onCommand
2021-12-01 14:03:47.135 Error: Xiaomi_Nawilzacz: (Xiaomi_Nawilzacz) ----> Line 376 in '/home/pi/domoticz/plugins/domoticz-AirHumidifier2/plugin.py', function onCommand
2021-12-01 14:03:47.135 Error: Xiaomi_Nawilzacz: (Xiaomi_Nawilzacz) ----> Line 186 in '/usr/local/lib/python3.7/dist-packages/miio/click_common.py', function _wrap
2021-12-01 14:03:47.135 Error: Xiaomi_Nawilzacz: (Xiaomi_Nawilzacz) ----> Line 163 in '/usr/local/lib/python3.7/dist-packages/miio/device.py', function _fetch_info
2021-12-01 14:03:47.135 Error: Xiaomi_Nawilzacz: (Xiaomi_Nawilzacz) ----> Line 104 in '/usr/local/lib/python3.7/dist-packages/miio/device.py', function send
2021-12-01 14:03:47.135 Error: Xiaomi_Nawilzacz: (Xiaomi_Nawilzacz) ----> Line 184 in '/usr/local/lib/python3.7/dist-packages/miio/miioprotocol.py', function send
2021-12-01 14:03:50.044 Xiaomi_Nawilzacz: (Xiaomi_Nawilzacz) Pushing 'onHeartbeatCallback' on to queue
2021-12-01 14:03:50.094 (Xiaomi_Nawilzacz) Processing 'onHeartbeatCallback' message
2021-12-01 14:03:50.094 Xiaomi_Nawilzacz: (Xiaomi_Nawilzacz) Calling message handler 'onHeartbeat'.
2021-12-01 14:03:50.095 Xiaomi_Nawilzacz: (Xiaomi_Nawilzacz) onHeartbeat called
2021-12-01 14:03:50.095 Xiaomi_Nawilzacz: (Xiaomi_Nawilzacz) Awaiting next pool: 2021-12-01 14:06:11.191224
Any help?
Hello.
I use this plugins since some weeks ago and works perfect.
today I update my docker container and have some errors.
The one that i cant solved is this:
Error: Python Plugin System: (Humidificador) Unrecognized error: dictionary update sequence element #0 has length 21; 2 is required
and not works the plugin :-(
Is it possible to add support for the new zhimi.humidifier.ca4 model?
To handle it, need a service miio.airhumidifier_miot instead of miio.airhumidifier
Thanks for your work on the plugin.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.