Hi guys. A couple months ago I bought a Deebot Ecovacs N79 robot.
I kept looking for ways of integrating it with OpenHAB but none found.
So I finally googled and found a good library wich does the heavylifting. I just finished a small gateway that translate it to MQTT in order to integrate it with OpenHAB.
I now have full monitoring and control of the vacuum cleaner.
Hi
Thanks for the scripts.
I just got the same robot and I’m trying to set it up with openHAB.
I have managed to get it working with running command with sucks.
But I have problem with integrate sucks with openHAB (MQTT).
This is the error I got when running the python script:
Blockquote
pi@raspberry:~ $ sudo python3 /home/pi/openhab-sucks/scripts/ecovacs-mqtt-gateway.py
Ecovac Sucks 0.2
Device ID: E000XXXXXXXXXXXXXX
WARNING:sleekxmppfs.basexmpp:fulljid property deprecated. Use boundjid.resource
WARNING:sleekxmppfs.xmlstream.handler.waiter:Timed out waiting for IqWait_149f3087-9660-4ff3-a9b0-f946a3d3ad2c-3
WARNING:sucks:Ping did not reach VacBot. Will retry.
Traceback (most recent call last):
File “/home/pi/openhab-sucks/scripts/ecovacs-mqtt-gateway.py”, line 27, in
mqttclient.connect(“192.168.1.2”, port=8884, keepalive=60,bind_address=“”)
File “/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py”, line 937, in connect
return self.reconnect()
File “/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py”, line 1071, in reconnect
sock = self._create_socket_connection()
File “/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py”, line 3522, in _create_socket_connection
return socket.create_connection(addr, source_address=source, timeout=self._keepalive)
File “/usr/lib/python3.5/socket.py”, line 712, in create_connection
raise err
File “/usr/lib/python3.5/socket.py”, line 703, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused