LED Panel clock
Clock/weather station with Home Assistant as data source and brightness control via mqtt
PXL_20231217_085203870.MP.mp4
Working principle
- Station retrieves sensor states from home assistant via http api (
/api/states
) every n-th second (defined inconfig-lock.json
) - List of home assistant entities required for the station to work is defined in
devices
section of config. For example,temp_outside
contains the name of the sensor with outside temperature,prec_type
contains numeric type of precipitation (0 - clear, 1 - rain, 2 - snow, 3 - snowy rain). - List of widgets is defined in
elements
section of config. This list describes display order, color and alignment of elements. Widget types are hardcoded by name and linked internally with sensors fromdevices
section. - Home assistant auto-discovery is used to create controls and input for text.
todo
- merge
devices
andelements
sections of config, make widgets list fully configurable, create widget types
(previous version with 32x64 display)
device.mp4
Big thanks to: