Code Monkey home page Code Monkey logo

domoticz-airhumidifier2's People

Contributors

develop-dvs avatar m-messiah avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

domoticz-airhumidifier2's Issues

Plugin doesn't work in Domoticz

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.

Unrecognized error: an integer is required (got type str)

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?

Unrecognized error: dictionary update sequence element

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 :-(

New zhimi.humidifier.ca4 model

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.