To find map coordinates for your Xiaomi robot you can try the offline viewer which is included in the OH source.
I made it now also as standalone, you can get it here
2020-08-14 new version (incl calc and zone selection): http://verpaalen.com/openhab2/roboMapViewer2.5.7.zip
2020-09-22 new version (fix command format & obstacles):
2021-01-18 new version (fix zoned command format & sync with OH3): http://verpaalen.com/openhab2/roboMapViewer3.0.0-1.zip
you run it like this
java -jar RoboMapviewer3.0.0-1.jar (assuming java is in your path, and the viewer is in the current dir, otherwise add the paths appropriately)
Clicking in the graph should give a coordinate in the text window, dragging mouse will give the zone
Note: The rrmap files are saved by the binding in the userdata/miio folder.
The location is depending on the Openhab installation and differs per installation so expect it somewhere in one of these: Userdata like rrd4j databases
/var/lib/openhab2 or maybe even
/usr/share/openhab2… but also reported as being in
Note that the rrmap files are only saved when debug logging is enabled (
log:set debug org.openhab.binding.miio ) and the map Channel is linked to an item.
Though the viewer is standalone, not linked to the running of openhab, to download the rrmap files from the cloud you need:
- have openHAB & miio binding installed
- have your vacuum defined as thing AND have linked the map channel.
- Have entered the cloud credentials in the binding config. Note you should now have the map visible in openHAB…
- In the oh console enable debug:
log:set DEBUG org.openhab.binding.miio