Giter Site home page Giter Site logo

wolkabout / wolkconnect-python Goto Github PK

View Code? Open in Web Editor NEW
10.0 5.0 2.0 7.89 MB

Python library which provides easy connectivity to WolkAbout IoT Platform.

Home Page: https://demo.wolkabout.com

License: Apache License 2.0

Python 100.00%
iot iot-platform wolkabout wolkconnect client-library connectivity fota python

wolkconnect-python's People

Contributors

br3nda avatar djesic avatar iholod avatar luxa94e avatar nanavuletic avatar srdjastankovic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wolkconnect-python's Issues

Unexpected disconnect

Connecting to WolkAbout IoT Platform
Connecting to WolkAbout IoT Platform
2020-11-07 23:19:01,235 - '852c335e-e278-416f-a3ac-6350edbeda39' - INFO [mqtt_connectivity_service.py:282 - connect()] - Connected!
2020-11-07 23:20:00,664 - '852c335e-e278-416f-a3ac-6350edbeda39' - ERROR [mqtt_connectivity_service.py:208 - on_mqtt_disconnect()] - Unexpected disconnect!
2020-11-07 23:20:00,664 - '852c335e-e278-416f-a3ac-6350edbeda39' - INFO [mqtt_connectivity_service.py:209 - on_mqtt_disconnect()] - Attempting to reconnect..
2020-11-07 23:20:00,667 - '852c335e-e278-416f-a3ac-6350edbeda39' - ERROR [mqtt_connectivity_service.py:236 - connect()] - Something went wrong when setting TLS: SSL/TLS has already been configured.
Traceback (most recent call last):
File "/home/stankovic/.local/lib/python3.7/site-packages/wolk/mqtt_connectivity_service.py", line 232, in connect
self.client.tls_set(self.ca_cert)
File "/home/stankovic/.local/lib/python3.7/site-packages/paho/mqtt/client.py", line 779, in tls_set
self.tls_set_context(context)
File "/home/stankovic/.local/lib/python3.7/site-packages/paho/mqtt/client.py", line 688, in tls_set_context
raise ValueError('SSL/TLS has already been configured.')
ValueError: SSL/TLS has already been configured.

Ping isn't sent

Steps:
I installed WolkConnect-Python as pip3 install wolk-connect
copy content of a simple example
run and look status both on Device list and mqtt

Behavior:
last report didn't update with new time

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.