style.tilde.hacking.sensorReading
A single reading from a live sensor (e.g. temperature, humidity), published via Nebra.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | hacking.tilde.style |
| Indexed |
Record
record · key tidProperties
ATProto-compatible UTC timestamp — use nebra.get_atproto_utc_time().
deviceId
stringFree-form identifier for which physical device produced this — e.g. which Raspberry Pi.
maxLength: 128
What kind of sensor this reading came from, e.g. 'temperature', 'humidity'.
maxLength: 64
Unit for value, e.g. 'celsius', 'percent'.
maxLength: 32
The reading, scaled to an integer by valueScale (AT Protocol records can't hold floats) — real value = value / valueScale.
Divide `value` by this to recover the real-world reading, e.g. value=238, valueScale=10 means 23.8.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.sensorthings.sensor
recordAn instrument or procedure that produces observations.
-
dev.sensorthings.datastream
recordGroups Observations of one ObservedProperty by one Sensor on one Thing. Carries all context needed to interpret observation results.