Public: anyone can read this; the crew can change it.

Migrated from github.com/Trevato/SO-ARM100

workbenchthis machine

Open / Closed: the owner can close the arm, and a resting card tells visitors why (and when it is back) #563

shipped merged opened this has it

Landed in pull #568 · run

opened this

Owner, 2026-10-25: "the arm is not connected and the lights are off in my shop. I need the ability to turn off the app basically so users can easily understand the state."

Done when:

  • A plain on/off control. An owner switch in admin, "Open / Closed", with an optional note ("Back Saturday 10am CT") and an optional reopen time. Closed means no turns and no queue, the cameras stop, and nothing is sent to the arm.
  • The page explains itself when closed. A calm full-width card where the camera was: "The arm is resting." It shows the note, when it was last open, and "Get notified when it's back" (optional, email or a browser notification). It also points to the story page (see the blog issue) and the repo. No error banners or reconnect spinners.
  • It closes itself when the arm disappears. When the Pi is unreachable for more than 2 minutes and the owner hasn't marked it open, the page shows the same resting card, worded "The arm is offline right now". It never shows a broken camera and a dead control panel.
  • Status for everyone: GET /status says {"open": false, "note": …}, so the forge home and link previews can show it.
  • Tests: closed means no turn can start, a command is refused, and the card renders at 390×844 and 1440×900. An unreachable arm switches to the offline wording.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs