openhab-sucks icon indicating copy to clipboard operation
openhab-sucks copied to clipboard

sleekxmppfs.xmlstream.handler.waiter:Timed out

Open phuongpham opened this issue 5 years ago • 0 comments

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).

When I look at your python script (https://github.com/guillebot/openhab-sucks/blob/master/scripts/ecovacs-mqtt-gateway.py) on line 27 you have set ip address. What IP is this? openHAB? robot?

This is the error I got when running the python script:

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

phuongpham avatar Dec 08 '19 10:12 phuongpham