Retrieve a device state
Retrieves the latest submitted device state.
Path Parameters
Flatpeak Device ID
Response
Example response
Flatpeak device state record ID.
"dsr_6a284b7596d3f2b722544e70"
Flatpeak object name, e.g. device_state.
"device_state"
Time the measurement was recorded, in RFC3339 format.
"2022-02-01T10:30:00Z"
Current battery state of charge as a percentage from 0 to 100.
34.2
Time when the object was created, in UTC.
"2022-02-01T10:33:00Z"
Optional unique identifier for the telemetry record, used for idempotency and reconciliation.
"MET1234567890"
Target battery state of charge as a percentage from 0 to 100.
80
Current battery power in kilowatts. Positive values indicate charging, negative values indicate discharging.
-3.4
Estimated usable energy currently available in the battery, in kilowatt-hours.
8.3
Percentage of battery capacity reserved for backup and unavailable for optimisation or dispatch.
20

