How kwgillo/zedmd-pi works
DMD Controller is a Raspberry Pi service that shares one LED panel among scheduled content sources, ZeDMD frame input, and exclusive game sessions, with a web UI for configuration and control. The graph preserves the README’s major service branches and integrations. Source excerpts expose only parts of the runtime wiring, so several orchestration relationships are documented rather than verified in sampled implementation; those are marked dashed with no evidence path.
Main entry points: dmdd.py Service runtime · webui.py Web control UI · __init__.py Game session · base.py Source interface
Components 29
Control and runtime
- Web control UI
webui.py - Service runtime
dmdd.py - Display arbitration
dmdd.py - Source interface
sources/base.py
Panel content
- Clock and world time
sources/clock.py - Air Radar
sources/airradar.py - Weather and alerts
sources/meteo.py - Satellite passes
sources/satelliti.py - Calendar and birthdays
sources/calendario.py - Deadlines and waste
sources/clock.py - Media player
sources/media.py - Now Playing
sources/nowplaying.py - Rolling banner
sources/banner.py - Notifications
sources/notifiche.py - ZeDMD receiver
sources/zedmd.py
Games
- Game session
sources/giochi/__init__.py - Game framework
sources/giochi/base.py - Doom
sources/doom.py - Game Boy
sources/gameboy.py - Panel games
sources/giochi/bongo.py
Integrations and state
- Audio mixer
suoni.py - Persistent configuration
dmdconf.py - Home Assistant MQTT
hass.py - Google Calendar
gcalendar.py - Spotify API
spotifyapi.py
Other components
- User
- Community ADS-B APIs
- Open-Meteo and MeteoAlarm
- LED panel
Connections 31
- User → Web control UI: controls
- Web control UI → Persistent configuration: saves settings
webui.py - Web control UI → Service runtime: starts sessions
webui.py - Service runtime → Display arbitration: manages display
- Display arbitration → Source interface: selects sources
- Source interface → Clock and world time: implements
sources/clock.py - Source interface → Air Radar: implements
sources/airradar.py - Source interface → Weather and alerts: implements
sources/meteo.py - Source interface → Satellite passes: implements
sources/satelliti.py - Display arbitration → LED panel: presents frames
- Web control UI → ZeDMD receiver: configures service
webui.py - Community ADS-B APIs → Air Radar: provides flight data
sources/airradar.py - Open-Meteo and MeteoAlarm → Weather and alerts: provides forecasts
- Web control UI → Calendar and birthdays: configures calendar
webui.py - Google Calendar → Calendar and birthdays: provides appointments
- Clock and world time → Deadlines and waste: reads status
sources/clock.py - Home Assistant MQTT → Notifications: sends messages
- Home Assistant MQTT → Deadlines and waste: updates entries
- Spotify API → Now Playing: provides track data
- Web control UI → Game session: starts games
webui.py - Game session → Game framework: runs games
sources/giochi/__init__.py - Game session → Doom: dispatches game
- Game session → Game Boy: dispatches game
- Game session → Panel games: dispatches game
sources/giochi/__init__.py - Game session → Audio mixer: plays effects
sources/giochi/__init__.py - Service runtime → Media player: runs service
- Service runtime → Now Playing: runs service
- Service runtime → Rolling banner: runs service
- Service runtime → Notifications: runs service
- Service runtime → Satellite passes: runs service
- Service runtime → Audio mixer: manages audio