How glmatt/kindle4-weather-station works
This is a self-contained Kindle weather display. Scheduled runs of meteo.py fetch current, hourly, and daily forecasts, then render the weather panel; separate minute runs of ora.py update the clock and date without colliding with ten-minute panel refreshes. The scripts also preserve the last display on network failure, record battery status, and share a saved timezone offset. The README documents the icon set, Open-Meteo access, and scheduled Wi-Fi operation; source excerpts show only part of the rendering and download implementation.
Main entry points: meteo.py Forecast and panel · ora.py Minute clock · icone Weather icons · genera_icone.py Icon generation
Components 13
Forecast data
- Forecast and panel
kindle/meteo.py - Open-Meteo
- Weather values
kindle/meteo.py
Kindle display
- Weather panel
kindle/meteo.py - FBInk renderer
- Weather icons
kindle/icone - Icon generation
tools/genera_icone.py - Minute clock
kindle/ora.py
Device operation
- Timezone offset
kindle/meteo.py - Battery log
kindle/meteo.py - Kindle device
Other components
- Cron schedule
- HTTPS service
Connections 14
- Cron schedule → Forecast and panel: runs every ten minutes
README.md - Cron schedule → Minute clock: runs each minute
README.md - Forecast and panel → HTTPS service: requests forecast
README.md - HTTPS service → Weather values: returns forecast data
README.md - Forecast and panel → Weather panel: renders panel
README.md - Forecast and panel → Timezone offset: saves offset
README.md - Minute clock → Timezone offset: reads offset
kindle/ora.py - Minute clock → Forecast and panel: uses display helpers
kindle/ora.py - Weather panel → FBInk renderer: draws with
kindle/meteo.py - Weather panel → Weather icons: selects weather icon
README.md - Icon generation → Weather icons: generates images
README.md - Forecast and panel → Battery log: appends status
README.md - Forecast and panel → Kindle device: prevents screensaver
kindle/meteo.py - FBInk renderer → Kindle device: draws on framebuffer
README.md