Write one or more writable settings on the device. Sparse: send only the settings you want to change. Read-only keys (e.g. scheduler_enabled) are rejected with 422 READ_ONLY_SETTING.
Documentation Index
Fetch the complete documentation index at: https://docs.amps.ai/llms.txt
Use this file to discover all available pages before exploring further.
The unique identifier for the battery device.
"device_abc123"
Sparse map of writable settings. At least one field is required. Each value uses the canonical { value, unit } shape; unit must match the canonical setting.
Sparse map of writable settings. At least one field is required. Unknown or read-only keys are rejected with UNSUPPORTED_SETTING.
The lowest state-of-charge the battery will ever reach, even during a power cut. (unit: percent, min: 0, max: 100)
The lowest state-of-charge the battery will reach during normal operation. (unit: percent, min: 0, max: 100)
The highest state-of-charge the battery will charge to. (unit: percent, min: 0, max: 100)
Maximum power the battery can send back to the grid. (unit: watts, min: 0)
Maximum rate the battery will charge at. (unit: amps, min: 0)
Maximum rate the battery will discharge at. (unit: amps, min: 0)
Settings written. Response lists the canonical setting keys that changed.
Acknowledgement of a settings write. updated lists the canonical setting keys that changed; OEMs that fire-and-forget will still echo the keys.