hoeby wrote: Thursday 11 June 2020 18:25
Does somebody have this plugin working om pi 3b+, with buster and domoticz 2020.2?
Hihi, yes i have
What did i do, for people wo are having problems.
Remember, i have a fresh install. Nothing else (yet) is on the SD of the PI
- Place Pi OS Buster on Pi (i am using the 27-05-2020 version)
- Startup and login. I changed, SSH port, put on fixed IP and changed password. But these changes have nothing to do with the vacuum install.
- update system package (sudo apt update)
- update all installed packages (sudo apt full-upgrade)
- take a break untill full-upgrade is done
- installed domoticz (curl -L
https://install.domoticz.com | bash)
- did every step from the plugin github untill you get to this point, then stop
Code: Select all
# and then:
pip3 install -r pip_req.txt
# or pip3 install gevent msgpack-python python-miio==0.3.1
Then i first did an edit on the pip_req.txt file
Put all great settings in it, which TheConder posted a few posts back. Thanks TheConder for the hard work
Code: Select all
android-backup==0.1.0
asn1crypto==0.23.0
attrs==17.2.0
cffi==1.11.2
click==6.7
construct==2.9.31
cryptography==2.1.3
enum-compat==0.0.2
gevent==1.4.0
greenlet==0.4.15
idna==2.6
msgpack-python==0.4.8
netifaces==0.10.6
pretty-cron==1.0.2
pycparser==2.18
pycrypto==2.6.1
python-miio==0.4.4
pytz==2017.3
six==1.11.0
typing==3.6.2
zeroconf==0.19.1
Then i go further with the stept on the plugin github.
But run the pip3 install -r pip_req.txt command, not the pip3 install gevent msgpack-python python-miio==0.3.1
Code: Select all
# and then:
pip3 install -r pip_req.txt
# or pip3 install gevent msgpack-python python-miio==0.3.1
After that the sudo ./test.py worked fine. After the test worked, i rebooted and added the vacuum to domoticz.
Tested it and it works beautifull
Watch for it, that you run the pip3 install -r pip_req.txt and not the pip3 install gevent msgpack-python python-miio==0.3.1
In the pip_req.txt there will be a lot more packages installed. When you run that other line, all those package are missing and you need to debug yourself and add them step by step. Tried that yesterday, but is was a pain in the ....
Again and again tried it, but everytime a different error.