Milestone 5: set up a sign without code #8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The plan's milestone 5, as the OpenSpec change
add-setup-without-code(openspec/changes/add-setup-without-code/: proposal, design, specs, 57 tasks, 1 done). One ticket for now (the owner, 2026-11-22); split it when work starts.The goal: anyone with a phone sets up the sign in a couple of minutes, with no app, no cable and no file to edit.
What it holds, in the change's order
mystop.local, with the info screen on the UP button. A release of its own.Already decided: with several stops the sign rotates by default; the shared and merged lists are settings the page offers (the owner, 2026-11-22).
To change in the plan before starting: its tasks still ask for board checks and 24 hours on a desk M4 before each release (3.1, 8.1, 12.1 and others). By the rule of 2026-11-22 (
docs/releasing.md) the simulator decides; what stays on real boards is what the simulator cannot run: Wi-Fi, the access point, the page's server, real phones.Related: #6 (the guides written again).
An idea to consider - In addition to the QR code option, could we also have an option for when My Stop is plugged into a PC (mac, windows, linux)? I'm imagining when my stop is plugged in, the user gets some kind of notification to "Configure My Stop?", which could open the same web app that a QR code would open.
First setup from a phone is in
v0.1.6(tagged at075bc5a, 2026-11-24). The settings page is not: it is the next version. This ticket stays open for it.What a sign does now:
MYSTOP-XXXX, with a password of eight digits drawn afresh, and shows a code that joins it, with the name and digits beside it.How it was checked: 267 unit tests (27 new), 276 snapshots (nine
setup-*scenarios), the browser viewer, and on the two boards on the desk with test builds. Each board ran a whole setup from the page's form sent over USB, and each joined the other's setup network as a phone would (address, name lookup, redirect, both screens, a form with a network that isn't there). Both signs then went onto the published release and show trains with their own settings.Not checked yet: a phone. No phone has scanned a code from, or set up, either board's real firmware. Also open: a code the camera reads at once (task 1.10), an Android phone, and what a phone does with the M4.
The record is
openspec/changes/add-setup-without-code/:tasks.md(What v0.1.6 takes, out of order) anddesign.md(What building it found). The guide isdocs/building-a-sign.md, Set it up from a phone.Closing: first setup from a phone is done; the rest of milestone 5 has moved (the owner, 2026-12-01).
What shipped
v0.1.6(tag at075bc5a): first setup from a phone on both boards. A sign with no Wi-Fi or no stop opensMYSTOP-XXXXwith eight fresh digits and a QR code that joins it; one visit on the phone picks the stop and the Wi-Fi; the panel follows the phone with a bar of four steps; only a join that works is stored; holding UP for 5 s goes back to setup.v0.1.7(tag atec93c47): every setting in first setup (up to four stops, several branches of a line at one stop, the layout, font, colours, marker, page time, API key, automatic updates), setup starting from what the sign had, and the code brighter with orange words.setup-*scenarios), the viewer, test builds on both boards, and the owner setting up both signs from an iPhone on 2026-11-24.Where the rest went
mystop-sim serve, the canary and hammer tests, recorded picker answers, the release job remaking the station list).The plan is archived as
openspec/changes/archive/2026-12-01-add-setup-without-code/: every task closed with where it went, and its specs cut to what shipped, now the sign's specswifi-setup,stop-picker,several-stopsand an updatedsign-settings.