Commit Graph

1 Commits

Author SHA1 Message Date
type-two
783d8d0c97 local_source.py — device firmware for the "local source" sensor rig
The room as an instrument. Streams environmental sensors (light/temp/humidity/
pressure/ToF-hand/IMU-shake+tilt/mic-energy + crowd.hit events) to a hub over
OSC. Confirms + documents the hardware-agnostic ingest contract: OSC
/gs/<group>/<name> <float> -> a live source (already handled by hub._osc_handler;
send RAW, the hub auto-scales). Runs with zero sensors (smooth simulated
fallbacks) so the pipeline works before any hardware exists; real driver lines
(BH1750/BME280/VL53L1X/MPU6050/mic) are stubbed to uncomment.

Verified: --selfcheck passes; a live burst to the running hub created sources
room.*/hand.height/booth.*/crowd.* end-to-end over the websocket. Any SBC/lang
that speaks the OSC contract works identically — Pi4B ready today.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 15:51:42 +10:00