Search found 8 matches

by llheim
Tuesday 07 November 2017 15:46
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 184
Views: 32840

Re: Python plugin: Xiaomi Mi Robot Vacuum

Next update (I got some time off from work so I can play around with Domoticz :) ): Building goes fine, running test.py goes fine (the 47 seconds in clean_seconds is correct. I don't have a very small house but I test started the mi robot yesterday to see it was online :) ) test: python modules path...
by llheim
Monday 06 November 2017 19:38
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 184
Views: 32840

Re: Python plugin: Xiaomi Mi Robot Vacuum

Last update for today. The installation now went without errors but it does't work (i also have python-miio installed and that does work so it is not a token issue). The error in Domoticz stays the same (see above) and an other error appears: Error: CConnection_connect:, illegal operation, Plugin ha...
by llheim
Monday 06 November 2017 18:57
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 184
Views: 32840

Re: Python plugin: Xiaomi Mi Robot Vacuum

Ok found the answer. Upgrading the setuptools is the answer but you need to ugrade in the virtualenv. :oops:
by llheim
Monday 06 November 2017 18:34
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 184
Views: 32840

Re: Python plugin: Xiaomi Mi Robot Vacuum

Yes I found the same answer on Google :) Unfortunately upgrading didn't work, I already had installed the most recent packages. However when I checked the folder I noticed the msgpack files weren't installed so I tried installing msgpack-python again. That seemed to do the trick because the error in...
by llheim
Monday 06 November 2017 17:03
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 184
Views: 32840

Re: Python plugin: Xiaomi Mi Robot Vacuum

I tried to install the new plugin but installing python-mio==0.3.1 gives an error: error in cryptography setup command: Invalid environment marker: platform_python_implementation != 'PyPy' I managed to install gevent and msgpack-python separately. The error in Domoticz keeps the same: Module Import ...
by llheim
Sunday 05 November 2017 17:50
Forum: Show your projects
Topic: Listen to your favourite radios
Replies: 10
Views: 5597

Re: Listen to your favourite radios

Thank you for sharing this. Only thing I changed (maybe of interest for people with a rpi3 and a bluetooth speaker) is to add some lines to your script to switch users. Domoticz runs as root on rpi3 and so do scripts called by it. By switching to a normal user mplayer can play my favorite morning ra...
by llheim
Sunday 05 November 2017 17:40
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 184
Views: 32840

Re: Python plugin: Xiaomi Mi Robot Vacuum

I had the same problem and the python scripts found on other sites didn’t work so I used: http://aes.online-domain-tools.com/ As input paste your key (don’t forget to tick ‘hex’), the key is 32 zeros (00000000 etc, again don’t forget to tick ‘hex’) Then click decrypt and your 32 character key will s...
by llheim
Sunday 12 March 2017 17:37
Forum: Camera's
Topic: How to get the Mini Robot CCTV IP Cam working in Domoticz
Replies: 0
Views: 1032

How to get the Mini Robot CCTV IP Cam working in Domoticz

Since I didn't have much experience with IP cams I had some trouble using the IP Cam in Domoticz. I picked this cam because I thought it was pretty cool to have an ipcam that is a little robot that can turn its head and speak. Of course I soon found out that with these cheap chinese cams the documen...