@brentru brentru released this Feb 12, 2019 · 3 commits to master since this release

  • Updated the MQTT API to support "receiving" (viaclient.receive(FEED_NAME)) the last value of a feed from Adafruit IO.
    • Calls to this method will publish the last feed value to the requested feed and trigger a callback.
  • Increment version

To use in CPython, pip3 install adafruit-io.

Read the docs for info on how to use it.

Assets 2
2.1

@brentru brentru released this Jan 18, 2019 · 10 commits to master since this release

Create random data streams that can generate colors, words, numbers, or pick a value from a custom data set and send it directly to your devices.

The web interface for this service is available on Adafruit IO's Integrations page.

Release Notes

  • Updated API Client for Adafruit IO's random data service.
  • Updated MQTT Client for subscribing to random data by ID.

To use in CPython, pip3 install adafruit-io.

Read the docs for info on how to use it.

Assets 2

@brentru brentru released this Jan 9, 2019 · 17 commits to master since this release

Get hyper local, minute-by-minute weather forecasts delivered directly to your device running Adafruit IO Python. Service provided by Dark Sky.

The web panel for this service is available on Adafruit IO's Integrations page.

Note: An active Adafruit IO Plus subscription is required for using this integration. For more information about [Adafruit IO Plus (including its features and pricing), click here] (https://io.adafruit.com/plus).

Release Notes

  • Updated Client for use with Adafruit IO's weather service.
  • Updated MQTTClient for subscribing to weather forecasts.
  • Added example of subscribing to three different forecasts using the MQTT client, receiving and parsing data from the su is here

To use in CPython, pip3 install adafruit-io.

Read the docs for info on how to use it.

Assets 2

@brentru brentru released this Dec 31, 2018 · 35 commits to master since this release

  • Breaking Change: Updated keyword argument order within method send_location_data(). Specifically, value has been moved to the end of the call and is optional.

Previous function calls:
ioClient.send_location_data(locationFeed.key, value, lat, lon, ele)

New function calls:
ioClient.send_location_data(locationFeed.key, lat, lon, ele, value)

Example of send_location_data() usage

Other release notes:

  • Added descriptive docstrings to methods in client.py for Sphinx/ReadTheDocs.
  • Slowed down TravisCI tests to avoid throttling.
  • Updated location examples to reflect breaking change to send_location_data

To use in CPython, pip3 install adafruit-io.

Read the docs for info on how to use it.

Assets 2

@brentru brentru released this Sep 5, 2018 · 39 commits to master since this release

Release Notes:

Changes within mqtt_client.py:

  • SUBSCRIBE to a group with client.subscribe_group(GROUP_ID)
  • PUBLISH to a group using client.publish(FEED, VALUE, GROUP_ID)
  • Added kwarg option for unsubscribing to groups using unsubscribe()
  • Replaced feed with topic inside _mqtt_message()

Usage Example: https://github.com/adafruit/io-client-python/blob/master/examples/mqtt/mqtt_groups_pubsub.py

Assets 2

@brentru brentru released this Sep 4, 2018 · 46 commits to master since this release

Release Notes:

Here's an example of this sketch in-action, from the eyes of a PiCam haphazardly placed on my desk.

The image is displayed on an Adafruit IO Dashboard using an Image Block, connected to a feed receiving the image data.
Adafruit IO Camera Feed Screenshot

Assets 2

@brentru brentru released this Aug 24, 2018 · 50 commits to master since this release

Merge pull request #71 from adafruit/add-versionstr

adding fix for pypi
Assets 2

@brentru brentru released this Aug 2, 2018 · 60 commits to master since this release

v2.0.14

Bump version
Assets 2

@brentru brentru released this Aug 1, 2018 · 60 commits to master since this release

Feed Sharing!

We've added the ability to subscribe to someone else's feed (with permission, of course) and publish to it from the mqtt_client within Adafruit IO Python.

What is feed sharing? https://learn.adafruit.com/adafruit-io-basics-feeds/sharing-a-feed

Minor Notes:
Added client.unsubscribe() method to mqtt_client to support unsubscribing from a topic.

Assets 2

@brentru brentru released this Jul 17, 2018 · 64 commits to master since this release

Handling TypeError: the JSON object must be str, not 'bytes' in Python 3.5.x for Raspberry Pi users of this library.

Assets 2