iRobot 9xx on openHAB

either your setup is quite different or the script absolutely hates python 3.7.5, though in a commit it says it should work with it…

try this command “python getpassword.py” or “python getpassword.py -R roombaIP”

you may have to use the full path to python3 if you didnt tell the installer to add the python3 to the system path when you did the install, in the case it would look something like this

“C:\Users\username\AppData\Local\Programs\Python\Python37\python” getpassword.py

exact same behavior, with and without python or path, python is set with the path

C:\Users\Stealth\Downloads\Roomba980-Python-master\roomba>C:\Users\Stealth.platformio\python37\python.exe getpassword.py -R 192.168.178.52
Traceback (most recent call last):
File “C:\Users\Stealth\Downloads\Roomba980-Python-master\roomba\roomba.py”, line 34, in
from roomba.password import Password
ModuleNotFoundError: No module named ‘roomba.password’; ‘roomba’ is not a package
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “getpassword.py”, line 12, in
from roomba import Password
File “C:\Users\Stealth\Downloads\Roomba980-Python-master\roomba\roomba.py”, line 36, in
from password import Password
File “C:\Users\Stealth\Downloads\Roomba980-Python-master\roomba\password.py”, line 6, in
import six
ModuleNotFoundError: No module named ‘six’

edit 1
finally some progress. thanks alacard. there also seems to be a massive bug in win 10 2004/2009 Developer Community

after your command it helps to “pip install numpy==1.19.3” downgrade numpy, or going 32bit

edit 2
i got my pw, set it into the thing, but unfortunately, it still refuses

edit 3
reboot helps 99.9% of all cases, seems to work now, fucking finally. it seems as if each time i try something like this, i hit every roadblock there could be…

hmm, ah thats what i left out. i already had the requirements installed already from playing with other stuff, they this command

python -m pip install appdirs numpy olefile opencv-python packaging paho-mqtt Pillow pyparsing six

Edit: @Sonic
any plains to up 3.0 source code? i got some free time the next few days and was going to play around with i7 support some

just wanted to drop that i am now succesfully run 980, e5 and i7 with this binding, only problem was with the i7 password, see above

@Dibbler42, did you get the problem solved? I have the same issue (and the behaviour is different from the manual, so I won’t using any python script right now…)

Not soveld until now. maybe i find time in the next days.

Merry XMAS!

@alacard (and others) 3.0 source code is now in official 3.0 bindings tree. It’s the same code as in my 2.x development repo, just adjusted for 3.0

you press and hold home and spot, wifi icon and sound come up? maybe the ip changed?

Reset roomba completly, but still get the connection refused.

Maybe it will work next Year :slight_smile:

Happy new year everybody,

i’ve reworked a binding a little bit. I’ve implemented support for I7: password fetching shall work now, but i haven’t tested it now! Additionally, i organised channels to groups and implemented support for more commands. For example, it’s now possible to modify scheduler timestamps for Roomba 980. Scheduler for Roomba I7 is a more tricky and can’t be modified for now. I haven’t updated the documentation now, since i have no plans to raise a pull-request to official repository. The code can be found here. Prebuild version of the binding can be found here.

Happy new yeare also to you.
I have same issue as rest of the guys. irobot 3.0.0 binding doesn’t work on OH3 (cannot connect to my roomba). I would like to try your binding, but not able to install it. I downloaded jar file (btw, prebuild version link is wrong in your post). Moved to /usr/share/openhab/addons, but nothing happened. As I understand, bindings should install automaticaly from that location. So, I’m not sure what I did wrong. Any advice welcomed. Thanks

as i understand manual addons need OH to restart to be loaded

after that you need the ip and when the thing is created, the button combo for the password - or with i7 another way to get the password

Addons should install automaticaly afrer moveing to correct directory. But I also tried to reboot OH, with same result. I know IP and pwd, because old binding worked fine on OH, the issue is, that binding doesn’t install.

is this a “new” OH3.0 install?
even though it is not mentioned, to my knowledge, it also needs the mqtt binding to work

Yes. I still have one OH2 running on separate raspberry. Now I would like to migrate to OH3, so I started from scratch with fresh install on another raspberry. Once everything will work, I’ll move it.

make sure to disable the local connection between the roomba and oh2.5, there is ONLY 1 connection possible.

Hi @YogiBB,
Yeah, thanks. I’ve fixed the link. Missing mqtt - binding may be also error source. Manual installation will not install requiered dependencies :frowning:

Kind regards,

Alexander

Hi @falkena,
Thanks for fixing the link. It looks I downloaded correct one. About the mqtt binding, should I have also some newer version? I’m currently using MQTT 3.0.0. I’m not sure if I missed some step, but your binding won’t install automaticaly after moving to /usr/share/openhab/addons directory.

Hi @YogiBB,

I run on 3.0 release too. I think, mqtt from release is good enough
EDIT: Additionally i deinstalled 3.0 binding bevore.

Kind regards,

Alexander