Submit a device state
Submit the current operational state of a device, such as BESS state of charge and power.
Authorizations
Authenticate with bearer you obtained from authentication endpoint.
Path Parameters
Flatpeak device_id.
Body
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
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"
Response
Example response
Flatpeak device state record ID.
"dsr_6a284b7596d3f2b722544e70"
Flatpeak device ID.
"dev_6563a6757360a6d6a628e839"
Time when this object was created. In UTC.
"2022-02-01T10:33:00Z"
Flatpeak account ID.
"acc_661677911f2197045e6cf1b1"
Flatpeak object, i.e. device_state.
"device_state"

