Not Blockly but I use this script: https://ehoco.nl/xiaomi-roborock-s5-aut ... tofzuigen/
Works fine!
Maybe you can adjust the code a bit to your wishes.
Moderator: leecollings
Not Blockly but I use this script: https://ehoco.nl/xiaomi-roborock-s5-aut ... tofzuigen/
The status of the Robot Vacuum is On or Off (not Charging, In Error, Paused, etc.).
They do decrease.
My plugin was broken a while ago, and I ran into similar problems when trying to reinstall.airmarshall wrote: ↑Thursday 07 November 2019 17:14 Hi Guys,
Trying to install the python-miio but it’s throwing a minimum python version error, requesting version >3.6.
Thus doesn’t seem available for my pi stretch install which is on the latest python 3.5.3 which is the version mentioned in all the ‘guides’ for install.
Any advice?
Code: Select all
pi@raspberrypi:~/domoticz/plugins/xiaomi-mirobot $ more pip_req.txt
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.2.2
greenlet==0.4.12
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.3.8
pytz==2017.3
six==1.11.0
typing==3.6.2
zeroconf==0.19.1
Hesmink wrote: ↑Friday 08 November 2019 11:17My plugin was broken a while ago, and I ran into similar problems when trying to reinstall.airmarshall wrote: ↑Thursday 07 November 2019 17:14 Hi Guys,
Trying to install the python-miio but it’s throwing a minimum python version error, requesting version >3.6.
Thus doesn’t seem available for my pi stretch install which is on the latest python 3.5.3 which is the version mentioned in all the ‘guides’ for install.
Any advice?
What I did to make it work with 3.5.3, and support my Roborock, was change pip_req.txt to:
Before running 'pip3 install -r pip_req.txt'Code: Select all
pi@raspberrypi:~/domoticz/plugins/xiaomi-mirobot $ more pip_req.txt 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.2.2 greenlet==0.4.12 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.3.8 pytz==2017.3 six==1.11.0 typing==3.6.2 zeroconf==0.19.1
For me, after this the plugin seemed to work again, apart from the fact that a firmware upgrade probably changed my access token, and I haven't got around to retrieving it again.
Code: Select all
2019-11-15 21:11:29.273 Error: (xiaomi-mi-robot-vacuum) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/MiRobotVacuum/:/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'.
2019-11-15 21:11:29.273 Error: (Roborock S55) Module Import failed, exception: 'AttributeError'
2019-11-15 21:11:29.273 Error: (Roborock S55) Error Line details not available.
Make copy of file miio_server.sh e.g. miio_server2.shRichardBokker wrote: ↑Sunday 24 November 2019 21:19 I want to add a second vacuum cleaner from same generation, what is de best solution for this?
Because the added hardware does not contain parameters like IP adres, ID and token.
Hmm, good one! Thnx. This should work, awesome! Gonna try it.avgays wrote: ↑Monday 25 November 2019 22:35Make copy of file miio_server.sh e.g. miio_server2.shRichardBokker wrote: ↑Sunday 24 November 2019 21:19 I want to add a second vacuum cleaner from same generation, what is de best solution for this?
Because the added hardware does not contain parameters like IP adres, ID and token.
Update IP and TOKEN for new robot and change PORT (--port 22223) in this file.
Then repeat steps 3-4 from installation instruction, changing miio_server to miio_server2 on each step
In Domoticz create Hardware with new PORT (22223)
Users browsing this forum: No registered users and 1 guest