Swedish word clock for Raspberry Pi with WS2812B LEDs.
The code and build is inspired by the following makers:
- Display the current time with resolution of five minutes.
- Pygame to run the main loop consistently.
- Abstract display allows development without access to WS2812B LEDs.
- Control various settings through MQTT.
D-DIN font by Datto licensed under the SIL Open Font License (OFL).
A configuration file allows the user to make adjustments to the application. Such as: LED brightness & color, run simulated time etc.
Make a copy of settings.conf.example
, save it as settings.conf
and then change the available fields to suitable values.
The configuration is read when the application starts, so make sure to restart the application for the change to take effect.
Settings such as adjusting the brightness or changing the color of the LEDs are done using MQTT. The topics are tied to specific plugins or core modules.
- tidsram/plugin/clock/on
- tidsram/plugin/clock/off
- tidsram/display/brightness