Archive
Roomba home automation with openHAB
Controlling a Roomba and tracking its battery from openHAB via a RooWiFi module.
A Roomba vacuum controlled from openHAB, with a RooWiFi module as the bridge.
- openHAB rules send HTTP GET requests to the module’s
rwr.cgiendpoint with codes for clean, stop, dock and power on/off. - Each rule retries up to ten times, five seconds apart, until the response confirms success.
- Items poll
rwr.xmlon port 5000 through the HTTP binding and use regex to extract charging state, voltage, current and battery capacity. - A rule turns that into a battery percentage, and a sitemap shows the switches and status.
Also works with openHAB 2.4.
This is an archived project, first published on 25 May 2016.