Nick Waterton

Results 152 comments of Nick Waterton

You're running the latest version, so it should be fine. This problem is 99% of the time caused by having more than one mqtt connection at the same time (which...

I'm not sure exactly what you are asking, Roomba980-Python is already integrated into Home Assistant. See [https://www.home-assistant.io/components/vacuum.roomba/](url) and [https://gist.github.com/pschmitt/eef8b01e051223905d4368598426b671](url) and [https://github.com/pschmitt/roombapy](url) @pschmitt did the HA integration of the basic code....

In OpenHAB the map file is just written to a directory (in real time), and a static .html file points to it. The .html file can be viewed by any...

Are you saying that you are running two copies of roomba.py? The one integrated into HA, and the one downloaded from my github? They are the same program, you can’t...

Yes, this looks to be where the roomba is set up [https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/vacuum/roomba.py](url) via; ``` roomba = Roomba( address=host, blid=username, password=password, cert_name=certificate, continuous=continuous) ``` and as you say, no `rooma.enable_map()` called,...

I believe it should work on an RPi3 (although I haven't tried it). I don't use HA, so I don't know how to set it up, but it is already...

This is the `enable_map` definition ``` def enable_map(self, enable=False, mapSize="(800,1500,0,0,0,0)", mapPath=".", iconPath = "./", roomOutline=True, enableMapWithText=True, fillColor="lawngreen", outlineColor=(64,64,64,255), outlineWidth=1, home_icon_file="home.png", roomba_icon_file="roomba.png", roomba_error_file="roombaerror.png", roomba_cancelled_file="roombacancelled.png", roomba_battery_file="roomba-charge.png", bin_full_file="binfull.png", roomba_size=(50,50), draw_edges = 30, auto_rotate=True):...

Well, as it says, the loop parameter was removed in Python 3.10. As Python 3.10 didn't exist when the code was written, it's not surprising that there are some incompatibilities....

What is the output when you start roomba.py? Please post the whole thing. Also post your version of `complicated.py`.

Ok, you are trying to use maps with no graphics modules loaded. You need at least `PIL`, and preferably `OpenCV` installed for the maps.html web page to work. Try `pip3...