being a proud owner of a iRobot Roomba 980 vacuum cleaner, i really like to control it using openHAB. But unfortunately the was no interface …
But now i found it https://github.com/koalazak/dorita980 offers an unofficial library and REST interface to access the Roomba. The use cases shown on git are working and it draws a nice map of the Roomba activity. Next step are the integration in openHAB.
I anyone has done something similar, please show your results
Slightly OT sorry, but how do you find the 980 in terms of how well it actually cleans your floors? What sort of floors do you have? I have been looking at getting one of these or maybe a Dyson 360 but they are very expensive so I want to be sure they actually do a reasonable job at cleaning!
No Problem, my floors are mainly wood with somme very light rugs. Before cleaning we collect the rugs because the roomba is moving the. heavier rug should be no problem. From our point od view it does a reasonable job and it is pure luxury - Close the door an let it do the job.
there is no need for much development, because you could use the REST Infterface ist you setup it up. I have done it with the docker image and it works like a charm.
First i like to get the current status off action: charge, run, … for this i create an item:
String iRoombaStatus "Igor im Modus [%s]" <scene_robo_vac_cleaner> (gGeraete) {http="<[http://myRESTIp:3000/api/local/info/mission:30000:JSONPATH($.ok.phase)]"}
I displayed simly the string in the site map and it worked fine for me.
Great find @Dibbler42 … I spent an hour or so this morning trying to get dorita980 to work but have failed. Poking around on the git wiki a bit, it looks like there was a breaking firmware update about a month ago, so I stopped trying… although I’m holding my breath that this is still possible
Not only is status / control updates going to be awesome … but this unofficial api gives me access to the real time map… AWESOME. If only i could prioritize zones now
Question – is your dorita api connecting to your roomba and do you have connectivity all the way back up to OH working?
i used the docker image and this is working very well with my iRoomba. If you open the dorita with /map you will get a map during cleaning and this works.
Unfortunately i had no time at the moment to connect to OH, but with the http binding it should be no problem. (Had one try to read the status and that worked)
I did get everything up and running … I’ve left it running off and on for the past few weeks and it does add great functionality (roomba to openhab), but it also seems to be the indirect culprit of eating over 100MB of memory and my pi3 can’t seem to release it fast enough before becoming unstable. I’ll poke around at it more as I have time… but thought I’d update this thread for anyone curious and let them know I got it working.
and here’s a map I built using rest980 … this functionality only works if you’re actively polling for coordinates during a mission. I could improve on this by persisting the x,y’s and mapping after the fact… but it doesn’t actually serve any purpose (yet)
Thats geart, i definitly will use your items (Less work to type). Unfortunately iRobbot is in the process to upgrade the firmware to 2.xxx which uses no longer http for communication. it uses now mqtt. The guys from dorita980 are working on that an the local api is working, but cloud api is still in progress.