Files
apirroneandClaude Opus 5.5 0ee179ac53 Give the beta's face LEDs their owners and meanings
Each LED is written by the daemon that owns what it shows (architecture.md §3.2):

- robotd: status (gr2, from robot.health), battery gauge (gr1 + green2 + green1,
  bottom to top, with hysteresis) and the flashlight (rgb).
- mediad: camera LED (cam), lit while a WebRTC peer or media.stream is live (§7).
- configd: network LED (gb), green on wifi, blue when the relay is registered.

New route robot.flashlight {on, toggle, color} (API v40), on the pad's Home
button and `robotctl flashlight`. duck_ipc_proto::led is the shared writer.
The units get /sys/devices/platform/face-leds back from ProtectKernelTunables
and switch their LEDs off in ExecStopPost.

Validated on beta board 192.168.10.130.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 20:39:39 +02:00
..