Sensor
Physical sensor device owned by an auth user and of a specific type.
Entity: Sensor
Description
Physical sensor device owned by an auth user and of a specific type.
Attributes
| Attribute | Type / Unit | Description |
|---|---|---|
SID | PK (UUID/string) | Sensor id. |
ZID | FK → AuthUser(ZID) | Owning auth user/tenant. |
STID | FK → SensorType(STID) | Sensor type. |
Snr_UK | string | Serial number (unique). |
HRSnr_UK | string | Hardware serial/revision (unique). |
authflash_verified | boolean | Verified via authflash. |
lastPing | timestamp | Last heartbeat. |
software_version | string | Firmware/app version. |
long | float | Longitude. |
lat | float | Latitude. |
Keys
- Primary Key:
SID - Foreign Keys:
ZID→AuthUser.ZID,STID→SensorType.STID - Unique Keys:
Snr_UK,HRSnr_UK