Rpi Camera
Enumerates Raspberry Pi CSI camera modules via rpicam-hello --list-cameras, as a typed, versioned Swamp model. Zero cameras is a valid, verified result, not an error.
Ship the workflow in the package so a single ops repo can pull it and run it under swamp serve's own scheduler.
Global Arguments
| Argument | Type | Description |
|---|---|---|
| rpicamHelloPath? | string | Path to the rpicam-hello binary. Override for odd installs. |
Resources
Enumerate cameras from camera-local and assert outputRecognized == true — NOT cameraCount > 0, since zero cameras is this machine's normal, verified state. outputRecognized catches the real failure mode: a future rpicam-apps update changing --list-cameras's output shape in a way this model's parser doesn't recognize, which would otherwise fail silently as "0 cameras" indistinguishable from the honest zero-camera case. Camera presence changes rarely, so this runs once a day rather than every 5 mi
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License1/2partial
no SPDX license declared
- Verified public repository2/2earned