Skip to main content

Scan the selected board for cameras and microphones

POST 

/api/peripherals/refresh

Asks SiMa Sentinel on the board (/run/simaai-sentinel/api.sock, POST /v1/peripherals/refresh) to rescan; Sentinel answers with the catalog of a scan that started after the request (it returns 504 after 10 s and 429 when 8 refreshes already wait). Over SSH the socket is reached with a stdlib python3 helper. Each mode's support comes from Sentinel's catalog alone (see SupportTier). Microphones are Sentinel's ALSA capture devices, read from /proc/asound and sysfs without opening a sound device; their availability is Sentinel's own, passed through. A camera whose provider failed keeps Sentinel's last good modes (modes_source: previous-scan). changes lists devices added or removed since the previous refresh. Concurrent refreshes of one board share a single scan. Sentinel errors (not installed, not running, discovery disabled, too old, malformed answer) return 503 or 502 with an install or update hint.

Responses​

New peripheral snapshot.