A settings page on the home network #15

Open
opened 2026-11-24 19:39:38 -05:00 by cmoriarty · 1 comment
Owner

Split from ticket 8 by the owner on 2026-11-24: "The settings page that is always accessible once the sign has valid wifi can be deferred for now, file a ticket."

What it is: a page the sign serves on the home network, at http://mystop.local and at its address, for changing stops and every other setting without going back through first setup. The plan for it is in openspec/changes/add-setup-without-code/ (the settings-page and stop-picker specs, design decisions 9 to 11, task groups 5 and 7).

Where things stand without it: first setup from a phone offers every setting (ticket 8). To change anything afterwards, hold UP for 5 seconds and go through setup again; the sign keeps its stops and choices, so only the Wi-Fi has to be given again.

What it needs deciding first:

  • Room on the M4: first setup took the program to about 208 KB; the owner's line is 230 KB of the 240 KB limit.
  • Whether the page's stop picker asks MBTA for its lists (as planned) or uses the list the firmware carries (as first setup does).
  • What the panel shows on a short press of UP (the sign's address), so the page can be found.
Split from ticket 8 by the owner on 2026-11-24: "The settings page that is always accessible once the sign has valid wifi can be deferred for now, file a ticket." **What it is:** a page the sign serves on the home network, at `http://mystop.local` and at its address, for changing stops and every other setting without going back through first setup. The plan for it is in `openspec/changes/add-setup-without-code/` (the `settings-page` and `stop-picker` specs, design decisions 9 to 11, task groups 5 and 7). **Where things stand without it:** first setup from a phone offers every setting (ticket 8). To change anything afterwards, hold UP for 5 seconds and go through setup again; the sign keeps its stops and choices, so only the Wi-Fi has to be given again. **What it needs deciding first:** - Room on the M4: first setup took the program to about 208 KB; the owner's line is 230 KB of the 240 KB limit. - Whether the page's stop picker asks MBTA for its lists (as planned) or uses the list the firmware carries (as first setup does). - What the panel shows on a short press of UP (the sign's address), so the page can be found.
Author
Owner

From #8, closed on 2026-12-01: the plan add-setup-without-code (archived as openspec/changes/archive/2026-12-01-add-setup-without-code/) had these tasks for pages, which now belong here. Its design.md (decisions 9 to 11, 16 and 17) and its tasks (groups 4, 5, 7 and 8) hold the detail.

  • The page server on the home network, several connections at once, a silent connection dropped after 4 s; the Origin rule (tasks 4.1, 7.1, 7.2).
  • mystop.local on both boards; on the M4 only if the co-processor carries multicast (7.3, 1.4 e).
  • A writer for named keys, the field named beside it when wrong, the key write-only (2.3, 4.3).
  • Page text as snapshots that check compares, and mystop-sim serve to click through pages on the laptop (4.2, 4.4, 5.6, 9.1).
  • The canary test (no password or key in any answer or log) and the hammer test (100,000 random requests under the sanitizers), both in CI (4.5).
  • The picker asking MBTA live for lines, stations and a station's lines, inside the sign's request limits, with recorded answers as fixtures and the docs (5.1 to 5.4).
  • The release job remaking the carried list of lines and stations, and a copy from recorded answers for other builds (5.5).
  • UP's short press showing where the page is (7.4).
From #8, closed on 2026-12-01: the plan `add-setup-without-code` (archived as `openspec/changes/archive/2026-12-01-add-setup-without-code/`) had these tasks for pages, which now belong here. Its design.md (decisions 9 to 11, 16 and 17) and its tasks (groups 4, 5, 7 and 8) hold the detail. - The page server on the home network, several connections at once, a silent connection dropped after 4 s; the `Origin` rule (tasks 4.1, 7.1, 7.2). - `mystop.local` on both boards; on the M4 only if the co-processor carries multicast (7.3, 1.4 e). - A writer for named keys, the field named beside it when wrong, the key write-only (2.3, 4.3). - Page text as snapshots that `check` compares, and `mystop-sim serve` to click through pages on the laptop (4.2, 4.4, 5.6, 9.1). - The canary test (no password or key in any answer or log) and the hammer test (100,000 random requests under the sanitizers), both in CI (4.5). - The picker asking MBTA live for lines, stations and a station's lines, inside the sign's request limits, with recorded answers as fixtures and the docs (5.1 to 5.4). - The release job remaking the carried list of lines and stations, and a copy from recorded answers for other builds (5.5). - UP's short press showing where the page is (7.4).
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
moriarty-engineering/my-stop#15
No description provided.