develop-dvs / domoticz-AirHumidifier2

Domoticz plugin for Xiaomi Humidifier 1 and 2
MIT License
2 stars 3 forks source link

Plugin doesn't work in Domoticz #1

Closed gytisrepecka closed 3 years ago

gytisrepecka commented 4 years ago

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.
develop-dvs commented 3 years ago

sudo pip3 install -U python-miio tested on rpi4

gytisrepecka commented 3 years ago

Updated python-miio and this plugin, then it worked. Thanks.