Hi, members, I just published this repo
It uses a Pimoroni Presto as a subscriber device for MQTT messages.
The Presto is programmed, using a micropython script, to subscribe to four different topics.
As MQTT Publisher device I use an Adafruit Feather ESP32-S3 TFT board with three external I2C devices connected (a RTC unit, a Pimoroni multi-sensor-stick and an Adafruit Gamepad QT).
As MQTT Broker device I use a Raspberry Pi Compute Module 5.
In this setup the seven ambient light leds of the Presto can be remotely switched On or Off.
The color of these ambient leds can also remotely be changed. The remote commands are done using the buttons of the Gamepad .
Default the Publisher device will send, every minute, sensor topic MQTT messages, containing readouts from the connected BME280 sensor on the multi-sensor-stick. The external RTC will be synchronized every 15 minutes from a NTP unix timestamp.
1 Like
Good stuff paulsk. Thanks for sharing the code and the detailed writeup!
1 Like