Public Access
A new page element runs Conway's Game of Life in an area (the whole display by default), one per page. Start: random dots, one pattern, or the icons whose names start with a text in turn or in random order. Edges: wrap around, dead, or a hidden margin where gliders fly out of view (leftovers that stay put in the margin are cleared, so a glider gun runs cleanly). It restarts when the board is still or repeats within 16 generations and/or after a number of generations, after a hold time (an empty board at once). logic/life holds the board and timing (tested), display/life_player runs the board of the shown page, ticked before each frame; frames are paced like scrolling text. The element reuses existing fields, so the page format stays the same. The Icons tab has a library of 17 LifeWiki patterns (checked with a simulation), and the built-in page "Game of Life" shuffles through the life_ icons. About 12 KB flash, 8 KB RAM. Version 2.17.0, tested on the display over OTA. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
3.1 KiB
Markdown
32 lines
3.1 KiB
Markdown
# Pages
|
|
|
|
[← Back to the README](../README.md)
|
|
|
|
The dynamic pages on the display, drawn by the ESP32 itself (`python
|
|
tools/make_page_screenshots.py` makes these pictures again). The Clock and Game of Life pages come with the firmware (they can be changed, Reset brings back the original);
|
|
the others are the example pages in [examples/home-pages.json](../examples/home-pages.json)
|
|
with their icons (import them in the web UI, System tab). They use this home's Home
|
|
Assistant entities: change them to yours in the page editor (`climate.home`,
|
|
`sensor.envoy_000000000000_...` and `sensor.plex_server` are placeholders).
|
|
`python tools/export_examples.py` writes the file again from the pages on the display and
|
|
replaces private parts of entity ids by these placeholders.
|
|
|
|
| Page | |
|
|
|---|---|
|
|
| **Clock** (from the firmware), day and from 17:00 |   |
|
|
| **Game of Life** (from the firmware): the `life_` patterns of the Icons tab in random order on the whole display, hidden margin, 4 generations per second, a new pattern when it stops changing or after 600 generations; random dots without patterns |  |
|
|
| **Weer**: clock, weather icon by state, humidity, temperature |  |
|
|
| **Verwachting**: today (icon, temperature now, max/min) and the next 2 days (weekday, small icon, max/min); needs the [forecast sensor](home-assistant.md#weather-forecast) |  |
|
|
| **Dag en nacht**: sun from 07:00, moon and stars from 19:00, date |   |
|
|
| **Energie**: net power now, solar today, clock |  |
|
|
| **3D printer**: progress, time left, status message (scrolls), nozzle temperature |  |
|
|
| **3D printer finished**: shown for 10 minutes after a print completes (rule), with the status message |  |
|
|
| **Binnen**: room and outside temperature, CO2, air quality |  |
|
|
| **Verbruik**: water and energy used today, solar today |  |
|
|
| **Grote klok**: big clock, inverted from 22:00 |   |
|
|
| **Datum**: weekday and date |  |
|
|
| **Aftellen**: countdown to Christmas |  |
|
|
| **Stopwatch** |  |
|
|
| **Bad**: how full the bath is (a progress bar from a Home Assistant number) and the clock; a rule shows it while the bath fills |  |
|
|
| **Plex**: how many watch, play/pause, title (scrolls) and progress of the Plex user ([Tautulli](home-assistant.md#plex-and-tautulli)) |  |
|