Sample device
Entities & storage
hover to trace relations · click (or Enter) to inspect · samples update every tickWire format
GET /api/stream · text/event-stream · one frame per event per tickEvery frame carries id: <seq>. Events: hello on connect, summary and delta every tick, alert on transitions, and a : hb comment heartbeat. The browser validates each frame with the shared zod schemas and drops bad ones.
Device
MongoDBMongoDB · devices (10,000)
One physical unit with a stable deviceId (DEV-00001), a name, a device type and a location, reporting all ten sensor types.
- Fields
- _id = deviceId PKnametypesite · floor · zoneroom · rackactive
- Related