digidotcom / python-devicecloud Goto Github PK
View Code? Open in Web Editor NEWPython client library for the Digi Device Cloud Web Services API
Home Page: http://www.digi.com/cloud/digi-device-cloud
License: Mozilla Public License 2.0
Python client library for the Digi Device Cloud Web Services API
Home Page: http://www.digi.com/cloud/digi-device-cloud
License: Mozilla Public License 2.0
Device Cloud has been transferred from the Etherios website to the Digi one, and the Device Cloud Connector link under Overview in the readme needs to be updated appropriately.
The Device Cloud certificate attached to the project (devicecloud/data/devicecloud.crt) expired last year. Also, I have noticed that it is not included in the latest pypi distribution package (0.5.7).
This package is pinned to requests==2.5.1 and six==1.8.0 but those are old versions. Could this be updated?
{'cstId': '13319', 'monBatchDuration': '10', 'monBatchSize': '1', 'monCompression': 'zlib', 'monFormatType': 'json', 'monId': '216834', 'monStatus': 'INACTIVE', 'monTopic': 'DeviceCore,FileDataCore,FileData,DataPoint', 'monTransportType': 'tcp'} Traceback (most recent call last): File "monitor_playground.py", line 65, in <module> test_tcp_monitor(dc) File "monitor_playground.py", line 27, in test_tcp_monitor mon.add_callback(listener) File "/Users/Hydex/Downloads/python-devicecloud-master/virtual/lib/python3.5/site-packages/devicecloud/monitor.py", line 379, in add_callback self._tcp_client_manager.create_session(callback, self._id) File "/Users/Hydex/Downloads/python-devicecloud-master/virtual/lib/python3.5/site-packages/devicecloud/monitor_tcp.py", line 558, in create_session session.start() File "/Users/Hydex/Downloads/python-devicecloud-master/virtual/lib/python3.5/site-packages/devicecloud/monitor_tcp.py", line 286, in start raise exception File "/Users/Hydex/Downloads/python-devicecloud-master/virtual/lib/python3.5/site-packages/devicecloud/monitor_tcp.py", line 281, in start self.socket.connect((self.client.hostname, PUSH_SECURE_PORT)) File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 1014, in connect self._real_connect(addr, False) File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 1005, in _real_connect self.do_handshake() File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 983, in do_handshake self._sslobj.do_handshake() File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 628, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
There have been several changes since the last release (0.3). A 0.4 is in order.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.