Skip to content

Releases: adafruit/Adafruit_CircuitPython_MiniMQTT

Add Cellular Usage Examples

Choose a tag to compare

@brentru brentru released this 07 May 13:43
2c47fc6

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

Choose a tag to compare

@brentru brentru released this 21 Apr 14:28
2c7f3c3

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.

Choose a tag to compare

@evaherrada evaherrada released this 10 Apr 18:13
bd24155

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

Choose a tag to compare

@brentru brentru released this 18 Mar 20:35
dd1e3f2

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

Choose a tag to compare

@FoamyGuy FoamyGuy released this 17 Mar 23:00
a9965a8

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

Choose a tag to compare

@brentru brentru released this 17 Mar 16:24
a9965a8

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

Choose a tag to compare

@brentru brentru released this 31 Jan 23:17
eb0c466
  • 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

Choose a tag to compare

@evaherrada evaherrada released this 24 Jan 01:46

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.

Fix Client Identifier Generation Method

Choose a tag to compare

@brentru brentru released this 06 Jan 18:48
4ef5c3e
  • #19 Use time.monotonic() instead of microcontroller.cpu.uid for random seed to create client ID

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 usage example for connecting with a broker using CA certificate and user certificate/key

Choose a tag to compare

@brentru brentru released this 09 Oct 16:00
8a1c8b6
  • Added usage example for establishing a secure MQTT connection with a server, provided a user-defined X.509 certificate and private key.

NOTE: This example requires nina-fw v1.4.0 or above. If you do not know how to upgrade the firmware on your ESP32, follow the learn guide on the Adafruit Learning System for this topic.

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

Read the docs for info on how to use it.