Understand Core Device Data and Attributes
mainEvery device in the Dirigera ecosystem shares a common data structure.
Core Data Fields
id: Unique identifier (string).relation_id: Optional relation identifier.type/device_type: Categorization strings.is_reachable: Boolean indicating if the device is online.attributes: A nested object containing device-specific properties.capabilities: Lists ofcan_sendandcan_receiveactions.room: An optionalRoomobject containingid,name,color, andicon.
Common Attributes
All devices include these attributes:
custom_name: User-defined name.model,manufacturer,firmware_version,hardware_version.serial_number,product_code(optional).ota_status,ota_state,ota_progress,ota_policy,ota_schedule_start,ota_schedule_end(OTA update related).