Elevator and escalator alerts as a setting #18

Open
opened 2026-12-01 14:59:45 -05:00 by cmoriarty · 0 comments
Owner

Split from #8 (milestone 5) on 2026-12-01, at the owner's word. Nothing of it is built: the sign always asks MBTA for boarding and riding alerts only (filter[activity]=BOARD,RIDE in alerts.cpp).

The goal: a setting that also shows elevator alerts, or elevator and escalator alerts, at the sign's stops.

What was planned (design decision 13 and the service-alerts delta of add-setup-without-code, archived as openspec/changes/archive/2026-12-01-add-setup-without-code/):

  • A setting access_alerts: none (the default), elevators or all. elevators adds USING_WHEELCHAIR to the request's filter[activity]; all adds that and USING_ESCALATOR. With none the request is the same, character for character, as today.
  • They are shown by the rules alerts already have. MBTA marks most of them ONGOING, severity 3, so they appear as the short phrase and timeframe ("State elevator unavailable", "through December 1"), after suspensions, shuttles and closures.
  • What MBTA answered when it was measured: at State (Orange, Blue) the answer grew from 1 alert to 3, 1,226 to 2,154 bytes.
  • A real answer from State recorded as a fixture; scenario warn-alert-elevator; the alerts row of docs/mbta-compliance.md says they are shown when asked for.

Where it is set: first setup's More settings, and the settings page once #15 exists.

Still open from the plan: an elevator alert all day on the status line, or one pass every few minutes like any other alert? (default there: like any other alert.) See also #4 and #16, on how several messages share the turns.

Start it as an OpenSpec change of its own.

Split from #8 (milestone 5) on 2026-12-01, at the owner's word. Nothing of it is built: the sign always asks MBTA for boarding and riding alerts only (`filter[activity]=BOARD,RIDE` in `alerts.cpp`). **The goal:** a setting that also shows elevator alerts, or elevator and escalator alerts, at the sign's stops. **What was planned** (design decision 13 and the `service-alerts` delta of `add-setup-without-code`, archived as `openspec/changes/archive/2026-12-01-add-setup-without-code/`): - A setting `access_alerts`: `none` (the default), `elevators` or `all`. `elevators` adds `USING_WHEELCHAIR` to the request's `filter[activity]`; `all` adds that and `USING_ESCALATOR`. With `none` the request is the same, character for character, as today. - They are shown by the rules alerts already have. MBTA marks most of them `ONGOING`, severity 3, so they appear as the short phrase and timeframe ("State elevator unavailable", "through December 1"), after suspensions, shuttles and closures. - What MBTA answered when it was measured: at State (Orange, Blue) the answer grew from 1 alert to 3, 1,226 to 2,154 bytes. - A real answer from State recorded as a fixture; scenario `warn-alert-elevator`; the alerts row of `docs/mbta-compliance.md` says they are shown when asked for. **Where it is set:** first setup's *More settings*, and the settings page once #15 exists. **Still open from the plan:** an elevator alert all day on the status line, or one pass every few minutes like any other alert? (default there: like any other alert.) See also #4 and #16, on how several messages share the turns. Start it as an OpenSpec change of its own.
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#18
No description provided.