kofec/domoticz-AirPurifier

Error in python3.7?

Closed this issue · 3 comments

Good day to all.
After installation, I get the following error:

2020-01-19 12: 37: 00.631 Status: (AirPurifierr) Started.
2020-01-19 12: 37: 01.479 Error: (AirPurifier) failed to load 'plugin.py', Python Path used was' /home/pi/domoticz/plugins/AirPurifier/:/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-01-19 12: 37: 01.479 Error: (AirPurifierr) Module Import failed, exception: 'RuntimeError'
2020-01-19 12: 37: 01.479 Error: (AirPurifierr) Error Line details not available.
2020-01-19 12: 37: 11.026 Status: (MiVacuum) MIIOServer connection status is [111] [Connection refused

Manual start ./MyAir.py 192.168.1.1 850000000000000000000000002 --deb is working fine.
python-miio installed

Any suggestions on what to do?

Do you solved this problem ?

Error in 3.8?
2020-12-11 17:30:31.083 Error: (AirPurifier) Module Import failed, exception: 'IndentationError'
2020-12-11 17:30:31.083 Error: (AirPurifier) Import detail: File: /home/daktak/temp/plugins/domoticz-AirPurifier/plugin.py, Line: 414, offset: 12
2020-12-11 17:30:31.083 Error: (AirPurifier) Error Line ' if (self.UNIT_POWER_CONTROL in Devices ):

kofec commented

It is should be fine now
I will closed if the problem still exist please reopen