Adafruit IO Python Client Library
OTHER License
Published by brentru over 6 years ago
Published by brentru over 6 years ago
Published by brentru over 6 years ago
2.0.0 is the latest major release of the Adafruit IO Python Client and features support for the Adafruit IO REST API v2.0.0.
We highly recommend updating your projects to this version, we will not be updating version <=1.1.1 of this library or the Adafruit IO REST API v1.0.0.
If you have PIP installed (typically with apt-get install python-pip on a Debian/Ubuntu-based system) then run:
pip install adafruit-io
This will automatically install the Adafruit IO Python client code for your Python scripts to use. You might want to examine the examples folder in this GitHub repository to see examples of usage.
Clone or download the contents of this repository. Then navigate to the folder in a terminal and run the following command:
python setup.py install
lat
/lon
/ele
). Usage example for this feature, location.py
, added in examples/basics. (#48)secure=false
boolean in the client initialization: client = MQTTClient(username, key, secure=False)
time_topics.py
added in examples/basics. (#54)on_message
method no longer requires the retain
flag.Documentation for this project is available on ReadTheDocs. Examples of library usage can be found within /examples
Having problems with this library? Post up on the Adafruit Support Forums or ask in the Discord channel (topic: #adafruit-io )