Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sleekxmppfs.xmlstream.handler.waiter:Timed out #1

Open
phuongpham opened this issue Dec 8, 2019 · 0 comments
Open

sleekxmppfs.xmlstream.handler.waiter:Timed out #1

phuongpham opened this issue Dec 8, 2019 · 0 comments

Comments

@phuongpham
Copy link

phuongpham commented Dec 8, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant