Retrieve a device state
Retrieves latest device state.
Authorizations
Authenticate with bearer you obtained from authentication endpoint.
Path Parameters
Flatpeak device_id.
Response
Example response
Flatpeak device state record ID.
"dsr_6a284b7596d3f2b722544e70"
Flatpeak object name, e.g. device_state.
"device_state"
Flatpeak location_id where device is located.
"loc_641b90b758fb8e6293716e40"
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 this object was created. In UTC.
"2022-02-01T10:33:00Z"
Flatpeak account ID.
"acc_661677911f2197045e6cf1b1"
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
Optional unique identifier for the telemetry record, used for idempotency and reconciliation.
"MET1234567890"

