Releases: adafruit/Adafruit_IO_Python
2.8.0 Add timezone argument to receive_time
What's Changed
- Add Timezone support to
receive_time
and update tests (adjusted-time-failure) by @tyeth in #158 - Correct minimum python version in readme
Full Changelog: 2.7.2...2.8.0
2.7.2 Update version for paho compatibility
2.7.1 Update version for pip compatibility
What's Changed
- Fix CI badge image by @tekktrik in #144
- #146 - Fix Client Interface in Feeds Documentation by @Pjurek3 in #147
- copy-and-paste error in batch sending by @ALfuhrmann in #139
- Update example,
temp_humidity.py
by @brentru in #149 - Add new basics example for use with NeoPixel by @brentru in #150
New Contributors
- @tekktrik made their first contribution in #144
- @Pjurek3 made their first contribution in #147
- @ALfuhrmann made their first contribution in #139
Full Changelog: 2.7.0...2.7.1
Adafruit IO Python 2.7.0
What's Changed
- Implement a means of getting more than 1000 data points by @lcmcninch in #131
Full Changelog: 2.6.0...2.7.0
Adafruit IO Python 2.6.0
What's Changed
- receive_time: fix week day by @lcmcninch in #138
- Add support for dashboards, blocks and layouts by @cj8scrambler in #136
New Contributors
- @lcmcninch made their first contribution in #138
- @cj8scrambler made their first contribution in #136
Full Changelog: 2.5.0...2.6.0
To use in CPython, pip3 install adafruit-io
.
Read the docs for info on how to use it.
2.5.0 - Create a feed within Group
Subscribe with QoS Levels, New MQTT Callbacks
Support for new Time API
This release adds Adafruit IO Python support for a new time api. This new time endpoint supports sending localized time to the Adafruit IO Python REST API client, based on the client's IP address. This release does not update the time endpoint within the MQTT client, it is only for the REST client.
The receive_time
method now returns a struct_time containing the year, month, day, hour, minute second, day of the week, day of the year, and a boolean for if it's daylight savings. #96
an updated Usage Example is located at basics/time.py
Note: The previous /time endpoint returned a plaintext response, instead of json. Since the new endpoint returns a JSON response, this PR will remove all plaintext-handling from the library used for the old /time endpoint:
To use in CPython, pip3 install adafruit-io
.
Read the docs for info on how to use it.
2.3.1
-
Fix
mqtt_client
to prevent errors resulting from referencingtopic
before assignment or accessingparsed_topic
out of order. #94 -
Remove
while True
topic subscription loop frommqtt_time.py
example. The example now uses theblocking_client
. -
Bump version string
To use in CPython, pip3 install adafruit-io
.
Read the docs for info on how to use it.
Improved Sending Data
Changes:
-
The
send_data
method can now send metadata associated with the data point. You can also now set the amount ofprecision
associated with floating pointvalue
s. #92 -
This change will break code using the
send_location_data()
method. Code using this method will need to be changed to use the updatedsend_data
method.
To use in CPython, pip3 install adafruit-io
.
Read the docs for info on how to use it.