POST /battery/{id}/settings. Unlike commands, settings writes are applied in the request and return 200.
1. Check the battery supports it
settings lists each setting the battery supports, with its current value, unit, and bounds. A null value means the setting’s value is unavailable.
2. Send the update
Send only the settings you want to change. Each value needs the unit shown in step 1.
See Error codes.
3. Confirm
updated lists the settings that changed. A battery can round a value to the nearest step its hardware supports, so read the battery again to see what it holds.
Next steps
Settings
Settings vs commands, and every setting code.
Battery cookbook
All battery recipes.