Display: product states

The display when things are not normal: connecting, Wi-Fi setup, a command on its way, a warning or update waiting, a blocking fault and a firmware update.

HTML
<div class="bm-stage">
  <figure class="bm-fig"><div data-face='{"s": "standby", "time": "10:51", "date": "THU 12 NOV", "line": "Waiting for the controller", "temp": 0.04, "busy": true}'></div><figcaption>Connecting</figcaption></figure>
  <figure class="bm-fig"><div data-face='{"s": "info", "heading": "JOIN THIS WI-FI", "ssid": "BetterMate-A1B2", "ip": "192.168.4.1", "hint": "SCAN TO SET UP", "action": false, "label": "Wi-Fi setup"}'></div><figcaption>Wi-Fi setup</figcaption></figure>
  <figure class="bm-fig"><div data-face='{"s": "brew", "state": "ready", "temp": "93", "target": 93, "tempF": 0.58, "targetF": 0.58, "profile": "Classic", "pending": true, "label": "Command pending"}'></div><figcaption>Command pending</figcaption></figure>
  <figure class="bm-fig"><div data-face='{"s": "brew", "state": "ready", "temp": "93", "target": 93, "tempF": 0.58, "targetF": 0.58, "profile": "Classic", "exception": "warning", "label": "A warning is waiting"}'></div><figcaption>A warning is waiting</figcaption></figure>
  <figure class="bm-fig"><div data-face='{"s": "fault", "title": "Boiler sensor lost", "lines": ["Heating is off.", "Check the sensor cable."], "action": ["RESTART", "primary"], "label": "Blocking fault"}'></div><figcaption>Blocking fault</figcaption></figure>
  <figure class="bm-fig"><div data-face='{"s": "fault", "title": "Controller not found", "lines": ["Check power and cable.", "Trying again every 5 s."], "label": "Fault with nothing to press"}'></div><figcaption>Fault, nothing to press</figcaption></figure>
  <figure class="bm-fig"><div data-face='{"s": "standby", "time": "10:51", "date": "THU 12 NOV", "line": "Update 1.8.0 is ready", "temp": 0.13, "exception": "update"}'></div><figcaption>An update is waiting</figcaption></figure>
  <figure class="bm-fig"><div data-face='{"s": "update", "progress": 0.62, "line": "Keep the machine on", "note": "1.8.0", "label": "Firmware update"}'></div><figcaption>Firmware update</figcaption></figure>
</div>

Product states has the full table with the web's side of each. On the display the five rules still hold, and three of them decide these screens:

  • Normal states stay hidden; only exceptions appear. A warning or an update that can wait is one 28 px glyph in the slot at 12 o'clock (triangle-alert in warning, download in ink-muted) and the screen under it does not change. Only a fault that blocks brewing takes the screen.
  • A control that cannot be used is hidden, not greyed. A fault screen has a pill only when pressing it can fix something. The update screen has no pill and no handle.
  • One reading and one action. The fault's reading is its title; the update's reading is the percentage.

The screens

ScreenRingLabelReadingUnder itAction
ConnectingSingle, busy cometDateClockOne line: "Waiting for the controller"None, until it connects.
Wi-Fi setupNoneJOIN THIS WI-FIThe machine's own network name in screen-titleQR on a white card, the address, SCAN TO SET UPNone: setup continues on the phone.
Command pendingUnchangedUnchangedUnchangedUnchangedThe pill turns surface-2 with STARTING in ink-muted, and the handle hides.
Warning or update waitingUnchangedUnchangedUnchangedAn update adds one line on Standby: "Update 1.8.0 is ready"Unchanged. Pressing START with an error-level warning opens Warnings first.
Blocking faultNoneAn ERROR chip, with triangle-alert in danger in the slotThe fault's name in screen-titleOne or two lines in screen-body: what is off, what to checkRESTART or RETRY in primary when that can help; otherwise none.
Firmware updateSingle, progress in inkUPDATINGPercentage in screen-hero, % under it"Keep the machine on" and the versionNone. The screen cannot be left.

Command pending

A press swaps the pill to ink for 2 frames, as every press does. If the controller has not confirmed by then, the pill becomes the quiet STARTING pill and stays until it does. After 2 s with no answer the START pill returns and a warning is raised ("The controller did not answer"). The comet does not run here: the screen already has the heating pulse, and there is one ambient motion at a time.

Content

  • Fault title: at most 20 characters, sentence case, naming the part and what happened to it: "Boiler sensor lost", "Controller not found", "Temperature runaway".
  • Fault lines: at most two, each at most 25 characters so both fit the 276 px text square. First what the machine has done ("Heating is off."), then what to check.
  • The chip says ERROR. Codes and addresses go behind DETAILS in the web app, never on this screen.
  • The update's second line is the version alone, in screen-label.

Motion

A fault is a cut, like every screen change, and it settles in the usual three frames. The update ring walks one tick at a time as progress arrives; nothing else on that screen moves, and it never dims, so a person can see from across the room that it is still alive.

Provide: the state, and for a fault its title, up to two lines and whether a restart can clear it; for an update, progress from 0 to 1 and the version.