Releases: adafruit/Adafruit_CircuitPython_AdafruitIO
New Time API and Updated Examples
This release adds Adafruit IO CircuitPython support for the new Adafruit IO Time API.
-
Calling
receive_timereturns localized time to the CircuitPython RESTClient, based on the device's IP address, as a struct_time](https://circuitpython.readthedocs.io/en/3.x/shared-bindings/time/__init__.html#time.struct_time) #19 -
Note: The previous /time endpoint returned a plaintext response, instead of json. This release removes plaintext-handling from the library.
-
Updated all examples to match the Adafruit IO naming scheme in the PyPortal's
secrets.pyfile.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
Adding User-Agent and Header Handling
- Append a User-Agent (Adafruit-IO CircuitPython specific) for this library onto existing request headers for the server to identify CircuitPython clients.
- Added a
new _create_headersmethod for HTTP requests to reflect correct header encoding in the Adafruit ESP32SPI dependency (https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI/releases/tag/1.3.4).
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
Support for ESP_ATControl WiFiManager
- This library now supports ESP_ATControl's WiFiManager for using an ESP32 co-processor over UART.
(#15) - Added usage example
- Updated README.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
Floating point data helper
- Added
precisionkwarg tosend_datato truncate floating point values to specifiedprecisiondecimal places before the payload is created and sent to Adafruit IO. #13
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
1.1
- BREAKING CHANGE: Updated examples to reflect updated NeoPixel abstraction in ESP32SPI (#14).
- Added an analog input example for sending
analogiosensor data to Adafruit IO (#11) - Updated examples for PyPortal pin definitions (#10)
- Updated weather example to fix incorrect humidity (#7)
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
Adafruit IO for CircuitPython
Initial release of Adafruit IO CircuitPython.
- This library will allow a WiFi-connected CircuitPython microcontroller to communicate with the Adafruit IO REST API.
- Supports WiFi using the ESP32SPI CircuitPython library
- Added examples for interacting with Adafruit IO Groups, sending data to feeds, including metadata (such as timestamps and location) with data sent to IO, interacting with digital outputs, and getting weather data from the Adafruit IO Plus Dark Sky service
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.