Skip to content

Latest commit

 

History

History

mqtt_pub_client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Publishing to a MQTT topic

How to publish messages to a MQTT topic with the FeatherWing ESP32 AirLift Wi-Fi module.

Running the example

  • Set up the hardware, connect it to your computer via USB.
  • Copy the libraries to the lib directory on the CIRCUITPY drive.
  • Set your Wi-Fi ssid and password in the mqtt_pub_client.py example.
  • Copy the content of mqtt_pub_client.py to code.py on the CIRCUITPY drive.

Libraries

From the CircuitPython libraries bundle:

  • Copy lib/adafruit_bus_device/* (see source and docs).
  • Copy lib/adafruit_esp32spi/* (see source and docs).
  • Copy lib/adafruit_logging.mpy (see source and docs).
  • Copy lib/adafruit_minimqtt/* (see source and docs).

Hardware

Credits