6.4.2.5 Device
6.4.2.5.1 Purpose¶
A physical device on a farm: a specific robot, meter, collar, tag, scale or camera. It is an instance of a sensor origin, with its serial number, provider address and installation period.
6.4.2.5.2 Questions it answers¶
- Which physical device produced this reading?
- Which devices are installed on a farm, and since when?
- Which firmware is a device running now?
6.4.2.5.3 Fields¶
| Field | Type | Cardinality | Description |
|---|---|---|---|
id |
string (uuid) |
1..1 |
Key. |
source_origin |
SensorSourceOrigin | 1..1 |
The kind of device (vendor, model). |
farm |
Farm | 1..1 |
|
serial_number |
string |
0..1 |
|
external_address |
string |
0..1 |
The address used by the provider's software (e.g. robot 101). Not unique: providers reuse addresses. |
validity |
Period | 1..1 |
When the device was installed and removed. |
firmware_version |
string |
0..1 |
Current inventory value only; historical observations retain their actual OriginVersion when known. Do not apply today's firmware retroactively; any learning-period exclusion is a versioned analysis rule. |
created_at |
datetime |
1..1 |
|
updated_at |
datetime |
1..1 |
6.4.2.5.4 Relationships¶
References
Device.source_origin→ SensorSourceOrigin (1..1)Device.farm→ Farm (1..1)
Referenced by
DeviceAssignment.device(1..1)CanonicalObservation.device(0..1)ObservationSession.device(0..1)
Uses types
6.4.2.5.5 Rules & constraints¶
- A physical device instance: a specific robot, meter, collar, tag, scale or camera.