Submit a device state
Submits the current operational state of a device, such as battery state of charge and power.
Authorizations
Authenticate with bearer you obtained from authentication endpoint.
Path Parameters
Flatpeak Device ID.
Body
Submit the current operational state of a device, such as BESS state of charge and power.
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
Optional unique identifier for the telemetry record, used for idempotency and reconciliation.
"MET1234567890"
Direction of energy flow this applies to. IMPORT (from grid) or EXPORT (to grid).
IMPORT, EXPORT "EXPORT"
Current battery power in kilowatts.
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
Response
Example response
Flatpeak device ID.
"dev_6563a6757360a6d6a628e839"
Flatpeak device state record ID.
"dsr_6a284b7596d3f2b722544e70"
Flatpeak Account ID.
"acc_661677911f2197045e6cf1b1"
Time when this object was created. In UTC.
"2022-02-01T10:33:00Z"
Object type.
"device_state"

