You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: static/rest-api.yaml
+47
Original file line number
Diff line number
Diff line change
@@ -147,6 +147,26 @@ paths:
147
147
responses:
148
148
"200":
149
149
$ref: "#/components/responses/NumberResult"
150
+
/batterymode:
151
+
delete:
152
+
summary: Disable external battery control
153
+
description: Default evcc control behavior is restored
154
+
tags:
155
+
- Home Battery
156
+
responses:
157
+
"200":
158
+
$ref: "#/components/responses/BatteryModeResult"
159
+
/batterymode/{batteryMode}:
160
+
post:
161
+
summary: Set external battery mode
162
+
description: Directly controls the mode of all controllable batteries. evcc behavior like "price limit" or "prevent discharge while fast charging" is overruled. External mode resets after 60s. The external system has to call this endpoint regularly.
163
+
tags:
164
+
- Home Battery
165
+
parameters:
166
+
- $ref: "#/components/parameters/batteryMode"
167
+
responses:
168
+
"200":
169
+
$ref: "#/components/responses/BatteryModeResult"
150
170
/buffersoc/{soc}:
151
171
post:
152
172
summary: Set battery buffer SoC
@@ -966,6 +986,15 @@ paths:
966
986
$ref: "#/components/schemas/StaticSocPlan"
967
987
components:
968
988
schemas:
989
+
BatteryMode:
990
+
description: TODO
991
+
type: string
992
+
example: normal
993
+
enum:
994
+
- unknown
995
+
- normal
996
+
- hold
997
+
- charge
969
998
ChangePassword:
970
999
type: object
971
1000
properties:
@@ -1335,6 +1364,12 @@ components:
1335
1364
required: true
1336
1365
schema:
1337
1366
$ref: "#/components/schemas/Power"
1367
+
batteryMode:
1368
+
name: batteryMode
1369
+
in: path
1370
+
required: true
1371
+
schema:
1372
+
$ref: "#/components/schemas/BatteryMode"
1338
1373
costLimit:
1339
1374
name: cost
1340
1375
description: Cost limit in configured currency (default EUR) or CO2 limit in g/kWh
0 commit comments