feat(example-iot-telemetry): define MDM device ontology and telemetry metric models #15

Open
opened 2026-10-27 14:51:24 +00:00 by crapougnax · 0 comments
Owner

Migrated from GitHub https://github.com/Quatrain/Core/issues/42 (opened by @crapougnax on 2026-09-18).

Part of parent story #14.

🎯 Goal

Define the physical device ontology and telemetry time-series models for the IoT Telemetry reference application.

📋 Specification

  1. Integrate @quatrain/mdm to create Device entity:
    • Hardware capabilities matrix: radio (LoRaWAN terrestrial/satellite, cellular LTE-M), power (solar MPPT, primary lithium), sensor bus (analog, pulse counters, SDI-12).
    • Serial number, hardware revision, firmware version.
  2. Create TelemetryMetric entity:
    • Properties: deviceUri (ObjectUri), timestamp (DateProperty), metrics (temperature, soil moisture, battery voltage), rssi (NumberProperty), snr (NumberProperty).
    • Collection name: 'telemetry_metrics'.
  3. Provide fail-fast schema validation for incoming binary/JSON frames.
> Migrated from GitHub https://github.com/Quatrain/Core/issues/42 (opened by @crapougnax on 2026-09-18). Part of parent story #14. ### 🎯 Goal Define the physical device ontology and telemetry time-series models for the IoT Telemetry reference application. ### 📋 Specification 1. Integrate `@quatrain/mdm` to create `Device` entity: - Hardware capabilities matrix: radio (LoRaWAN terrestrial/satellite, cellular LTE-M), power (solar MPPT, primary lithium), sensor bus (analog, pulse counters, SDI-12). - Serial number, hardware revision, firmware version. 2. Create `TelemetryMetric` entity: - Properties: `deviceUri` (ObjectUri), `timestamp` (DateProperty), `metrics` (temperature, soil moisture, battery voltage), `rssi` (NumberProperty), `snr` (NumberProperty). - Collection name: `'telemetry_metrics'`. 3. Provide fail-fast schema validation for incoming binary/JSON frames.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
quatrain/core#15
No description provided.