Git Product home page Git Product logo

openhab-sucks's People

Contributors

guillebot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

openhab-sucks's Issues

sleekxmppfs.xmlstream.handler.waiter:Timed out

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.