aboutsummaryrefslogtreecommitdiff

Granddaughter Clock

Hardware

  • Raspberry Pico2W
  • 12 RGB LED ring

Dependencies

The following modules from the Adafruit library bundle are used and need to be in the lib directory on the board.

  • adafruit_connection_manager.mpy
  • adafruit_minimqtt
  • adafruit_ntp.mpy
  • adafruit_ticks.mpy
  • neopixel.mpy

plus the python version of my own HSV to RGB library

  • colours.py

settings.toml

the clock requires a settings.toml with the following variables:

CIRCUITPY_WIFI_SSID
your wifi ssd
CIRCUITPY_WIFI_PASSWORD
your wifi password
MQTT_HOST
the mqtt server you want to use
MQTT_SENS_FEED
a base topic that receives messages from sensors, with a topic in the form MQTT_SENS_FEED/<location>/<type> and a numeric value as the payload.