Skip to content

Releases: adafruit/Adafruit_CircuitPython_MiniMQTT

Updated Cellular Examples

02 Jun 14:28
936a1b5
Compare
Choose a tag to compare

This release adds:

  • #34 Updated cellular examples for FONA library

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-minimqtt.

Read the docs for info on how to use it.

Fix Hostname URL

19 May 21:30
69707af
Compare
Choose a tag to compare

This release:

  • Patches broker hostname issue (#25) requiring broker URL starting with HTTP/HTTPS. Drops dependency for URL prefix.
  • Removed try/except block which improperly handles IP address strings
  • Removed module's TCP_Mode/TLS_Mode constants in favor of using the interface's TCP_Mode or TLS_MODE.
  • Updated examples to reflect above updates
  • Updated _cellular and _ethernet examples to use MQTT, unencrypted (port 1883) broker ports.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-minimqtt.

Read the docs for info on how to use it.

Add Cellular Usage Examples

07 May 13:43
2c47fc6
Compare
Choose a tag to compare

This release:

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-minimqtt.

Read the docs for info on how to use it.

Fix reconnect and infinite loop

21 Apr 14:28
2c7f3c3
Compare
Choose a tag to compare

This release:

  • #26 Fixes a bug where the broker string is modified, not allowing reconnect to work. Thanks @jimbobbennett
  • #28 Fixes a bug where reconnect is stuck in an infinite loop. Thanks @jimbobbennett

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-minimqtt.

Read the docs for info on how to use it.

2.1.2 - Added Black check, reran Black with Python 3 target.

10 Apr 18:13
bd24155
Compare
Choose a tag to compare

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-minimqtt.

Read the docs for info on how to use it.

Fix AIO WiFi Example

18 Mar 20:35
dd1e3f2
Compare
Choose a tag to compare

This release:

  • Removes debug=True parameter in AIO WiFi example.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-minimqtt.

Read the docs for info on how to use it.

2.1.0 - Upgrade to latest Pylint, implement Black formatting

17 Mar 23:00
a9965a8
Compare
Choose a tag to compare

We have upgraded Pylint checks to use the latest version of Pylint and implemented usage of Black Python formatting. This does not change the functionality of the code - it is designed to bring it up to current standards and make it more readable.

  • Remove pinned Pylint version number from build.yml file
  • Synced .pylintrc file to match Adafruit standard
  • Ran upgraded Pylint and applied any changes or new disables necessary
  • Ran Black formatter and allowed application of changes across entire repo

For more information on using Pylint and Black on your code, check out this guide on working with Pylint and Black

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-minimqtt.

Read the docs for info on how to use it.

BREAKING RELEASE: Add support for Ethernet and other networking interfaces

17 Mar 16:24
a9965a8
Compare
Choose a tag to compare

This release:

  • Removes requirement for a network interface
    • Dependency for network manager replaced by a global socket and interface. Uses same syntax as Adafruit_CircuitPython_Requests: mqtt.set_socket(socket_type, interface_type)
    • BREAKS __init__, removes dependency for socket and network_manager
    • Deprecates loop_forever (noted for now, removing on next major release) in favor of having user-code handle network interface management (see: minimqtt_pub_sub_blocking.py for an example)
  • Removes methods which handle the network interface: is_wifi_connected, is_sock_connected, reconnect_socket, reconnect_wifi
  • Automatically assigns socket port (secure/insecure) based on http/https in url.
  • Adds support for ethernet interfaces (via https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k)
    • Added minimqtt_adafruitio_eth.py and minimqtt_simpletest_eth.py examples
  • Fixes examples/minimqtt_pub_sub_pyportal.py example

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-minimqtt.

Read the docs for info on how to use it.

Add PyPortal MiniMQTT Example

31 Jan 23:17
eb0c466
Compare
Choose a tag to compare
  • Added new example for using the Adafruit_CircuitPython_PyPortal module with this library.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-minimqtt.

Read the docs for info on how to use it.

1.1.7 - Changed CI from Travis to GitHub Actions

24 Jan 01:46
Compare
Choose a tag to compare

This release includes:

  • Migrating this repository from Travis to GitHub Actions. This has no effect on the behavior of the code itself.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-minimqtt.

Read the docs for info on how to use it.