Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
so101 serve boots with the arm unplugged: /status says "arm: not connected", cameras and the grow box keep serving #615
Sign in to join this conversation.
Split from #581 (the steward's probe on the Pi, 2026-10-27 01:28Z): with
SO101_PORT=/dev/ttyACM0set byso101.serviceand the arm unplugged,serveexits every 6 s withcannot open /dev/ttyACM0, so the Pi shows no cameras and cannot self-update.Cause on main:
serveinSoftware/so101/src/cli.tsgoes throughwithBus, which callsFeetechBus.open(src/bus.ts) and throws;startServer(bus, …)in src/server.ts needs a bus.Done when:
--port,SO101_PORTor detection),servestill starts and listens. It logs one line:arm not connected (<path>: <reason>).GET /statusanswers 200 witharm: "not connected".GET /version, the camera routes and the/grow/*routes answer as they do with an arm.{"error":"arm not connected"}, and touches nothing. STOP still answers 200, because there is nothing to stop.SO101_PORTpointing at a missing path./statusis 200 witharm: "not connected",/versionand the camera list answer, and a move answers 503.Files: src/cli.ts (serve, withBus), src/server.ts (an absent bus), a small src/absent-bus.ts if it keeps server.ts plain, and a test beside them. Risk: a route that reaches the bus without the guard. A test lists the arm routes and checks each one answers 503. Not here: reconnecting without a restart (the next issue).