How bartoszbielawski/infoclock32 works
infoclock32 is ESP32 firmware for a Wi-Fi-connected LED matrix information display. Its main user-facing workflow is to configure the device through its web interface or persistent settings, then have firmware tasks gather clock, weather, sensor, and other information and present it on the shared matrix; users can also push messages and update firmware. The graph preserves the README’s documented feature branches. Source excerpts and the README support the shown relationships; unsampled task wiring is not inferred.
Main entry points: resource_manager.hpp Display arbitration · web_ui.cpp Web interface · main.cpp Boot setup · mqtt_task.cpp MQTT integration
Components 29
Firmware and state
- Boot setup
src/main.cpp - Persistent settings
include/data_store.hpp - Runtime status
include/runtime_store.hpp
Matrix display
- Display arbitration
include/resource_manager.hpp - LED matrix
include/LMDS.hpp - Wipe transition
src/screen_wipe_task.cpp
Information features
- Clock display
src/clock_task.cpp - Sensor readings
src/sensor_task.cpp - Sensor drivers
include/sensor_factory.hpp - Weather forecast
src/weather_forecast_task.cpp - LHC status
src/lhc_status_task.cpp - Custom messages
src/custom_message_task.cpp - Restaurant menu
src/resto_menu_task.cpp - Legacy menu task
old_code/RestaurantMenuTask.cpp - Sunrise and sunset
src/sun_times_task.cpp - Game of Life
src/game_of_life_task.cpp - Night dimming
src/night_mode_task.cpp
Web and connectivity
- Web server
src/http_server_task.cpp - Web interface
src/web_ui.cpp - Web actions
src/actions_handler.cpp - Message editor
src/messages_handler.cpp - Wi-Fi setup
src/wifi_handler.cpp - HTTP firmware upload
src/update_handler.cpp
External integrations
- MQTT integration
src/mqtt_task.cpp - Home Assistant discovery
include/mqtt_discovery.hpp
Other components
- Device user
- OpenWeatherMap
- CERN services
- MQTT broker
Connections 30
- Boot setup → Persistent settings: loads settings
src/main.cpp - Boot setup → Display arbitration: initializes access
src/main.cpp - Display arbitration → LED matrix: manages access
- Boot setup → Sensor readings: starts task
src/main.cpp - Sensor readings → Sensor drivers: creates sensors
- Device user → Web interface: configures device
README.md - Web interface → Web server: uses routes
README.md - Web interface → Web actions: offers controls
README.md - Web interface → Message editor: offers editor
README.md - Web interface → Wi-Fi setup: offers setup
README.md - Web interface → HTTP firmware upload: offers upload
README.md - Wi-Fi setup → Persistent settings: saves credentials
src/wifi_handler.cpp - Device user → LED matrix: views display
README.md - Clock display → Display arbitration: requests display
- Sensor readings → Display arbitration: requests display
- Weather forecast → OpenWeatherMap: fetches forecast
- Weather forecast → Display arbitration: requests display
- LHC status → CERN services: fetches status
- LHC status → Display arbitration: requests display
- Restaurant menu → CERN services: fetches menu
- Restaurant menu → Display arbitration: requests display
- Legacy menu task → CERN services: fetches menu
old_code/RestaurantMenuTask.cpp - Custom messages → Display arbitration: requests display
- Sunrise and sunset → Display arbitration: requests display
- Game of Life → Display arbitration: requests display
- Night dimming → LED matrix: adjusts brightness
- Wipe transition → Display arbitration: transitions handoffs
- MQTT integration → MQTT broker: publishes data
- MQTT integration → Home Assistant discovery: uses discovery
- MQTT integration → Persistent settings: updates settings