Search found 33 matches

by kofec
Monday 03 September 2018 22:41
Forum: Python
Topic: Xiaomi Air Purifier 2
Replies: 71
Views: 19179

Re: Xiaomi Air Purifier 2

As other above you need to correct:
pathOfPackages = '/home/osmc/.local/lib/python3.5/site-packages'
- to your path where miio packages is installed
by kofec
Monday 03 September 2018 22:33
Forum: Python
Topic: Python Plugin Domoticz-Enigma2
Replies: 15
Views: 2189

Re: Python Plugin Domoticz-Enigma2

Hi, I have added some fix please try latest version ?
by kofec
Saturday 11 August 2018 22:46
Forum: Bugs and Problems
Topic: Air Purifier plugin kills python plugin system
Replies: 1
Views: 218

Re: Air Purifier plugin kills python plugin system

I don't know which hardware you use but i highly recommend using domoticz on openwrt.
by kofec
Monday 09 April 2018 22:17
Forum: Suggestions
Topic: Official Docker images
Replies: 7
Views: 2131

Re: Official Docker images : Any plans ?

I was also thinking about it because currently domoticz is not stable(many versions of libssl) on raspbian 9 stretch when you use many python plugins - which I like :-) I have tested joshuacox/mkdomoticz but It has some issue and docker file is not small. I'm also fan of Openwrt project and I have d...
by kofec
Tuesday 27 March 2018 22:45
Forum: Python
Topic: Xiaomi Air Purifier 2
Replies: 71
Views: 19179

Re: Xiaomi Air Purifier 2

There was an issue in library python-miio
please install the latest version:
pip3 install -U python-miio
by kofec
Thursday 22 March 2018 7:44
Forum: News & Updates
Topic: Domoticz version 3.8153 released (Stable)
Replies: 201
Views: 171550

Re: Domoticz version 3.8153 released (Stable)

When we can expect another stable version? Is there any rule e.g half year? Thanks
by kofec
Thursday 08 March 2018 16:57
Forum: Python
Topic: Xiaomi Air Purifier 2
Replies: 71
Views: 19179

Re: Xiaomi Air Purifier 2

If you want you can try the script 'MyAir.py" from https://github.com/kofec/domoticz-AirPurifier e.g: pi@raspberrypi:~/domoticz/plugins/domoticz-AirPurifier $ ./MyAir.py 192.168.1.40 933c4c22df26adaec86d6fd788f5af72 <AirPurifierStatus power=on, aqi=9,average_aqi=8,temperature=21.1, humidity=31%,mode...
by kofec
Friday 09 February 2018 21:08
Forum: Python
Topic: Python Plugin Domoticz-Enigma2
Replies: 15
Views: 2189

Re: Python Plugin Domoticz-Enigma2

I just tried on latest docker and it fine. Maybe you can backup your domoticz folder and try latest Domoticz beta. Can you also share what python version you have. Just type python3. In my case it is: python3 Python 3.5.3 (default, Jan 19 2017, 14:11:04) [GCC 6.3.0 20170124] on linux Type "help", "c...
by kofec
Thursday 08 February 2018 15:55
Forum: Python
Topic: Python Plugin Domoticz-Enigma2
Replies: 15
Views: 2189

Re: Python Plugin Domoticz-Enigma2

Domoticz only supports python 3.x
so please correct this variable once again.
using pip3 install needed modules/packages
by kofec
Monday 05 February 2018 18:58
Forum: Python
Topic: Xiaomi Air Purifier 2
Replies: 71
Views: 19179

Re: Xiaomi Air Purifier 2

Can you change debug to true
by kofec
Monday 05 February 2018 7:14
Forum: Python
Topic: Xiaomi Air Purifier 2
Replies: 71
Views: 19179

Re: Xiaomi Air Purifier 2

Try restart domoticz. Maybe something more will be in logs.
by kofec
Friday 02 February 2018 21:23
Forum: Python
Topic: Xiaomi Air Purifier 2
Replies: 71
Views: 19179

Re: Xiaomi Air Purifier 2

It looks like generic issue with python plugins. There is a lot about in forum. I'm using latest stable version
by kofec
Friday 02 February 2018 19:30
Forum: Python
Topic: Xiaomi Air Purifier 2
Replies: 71
Views: 19179

Re: Xiaomi Air Purifier 2

Please restart domoticz and copy logs and pastę here
by kofec
Friday 02 February 2018 18:53
Forum: Python
Topic: Xiaomi Air Purifier 2
Replies: 71
Views: 19179

Re: Xiaomi Air Purifier 2

Ok latest version of library has bug: https://github.com/rytilahti/python-miio/issues/201

you have to downgrade - so please execute:

pip3 install -U python-miio==0.3.3
pip3 install -U construct==2.8.17
by kofec
Friday 02 February 2018 18:30
Forum: Python
Topic: Xiaomi Air Purifier 2
Replies: 71
Views: 19179

Re: Xiaomi Air Purifier 2

This script base library "python-miio" which I don't see in your library so please install it
https://pypi.python.org/pypi/python-miio

pip3 install python-miio

you can also execute pip -V
by kofec
Friday 02 February 2018 18:09
Forum: Python
Topic: Xiaomi Air Purifier 2
Replies: 71
Views: 19179

Re: Xiaomi Air Purifier 2

You can also display version of you packages: pi@Rpi:~/domoticz/plugins/domoticz-AirPurifier $ pip freeze aiohttp==2.2.5 android-backup==0.1.0 asn1crypto==0.24.0 astral==1.4 async-timeout==2.0.0 asyncio==3.4.3 attrs==17.3.0 certifi==2017.7.27.1 cffi==1.11.2 chardet==3.0.4 click==6.7 construct==2.8.1...
by kofec
Friday 02 February 2018 18:04
Forum: Python
Topic: Xiaomi Air Purifier 2
Replies: 71
Views: 19179

Re: Xiaomi Air Purifier 2

Can you execute ./MyAir.py 192.168.1.112 4a7e68c46bb35be46231dce8df35b77a --debug
by kofec
Friday 02 February 2018 15:55
Forum: Python
Topic: Xiaomi Air Purifier 2
Replies: 71
Views: 19179

Re: Xiaomi Air Purifier 2