Fronius SolarApi: mark charge mode as not available (#16121)
This commit is contained in:
parent
f7b83fa8f5
commit
f3fb1c1ae2
1 changed files with 15 additions and 11 deletions
|
|
@ -76,18 +76,22 @@ render: |
|
|||
user: {{ .user }}
|
||||
password: {{ .password }}
|
||||
body: '{"timeofuse":[{"Active":true,"Power":0,"ScheduleType":"DISCHARGE_MAX","TimeTable":{"Start":"00:00","End":"23:59"},"Weekdays":{"Mon":true,"Tue":true,"Wed":true,"Thu":true,"Fri":true,"Sat":true,"Sun":true}}]}'
|
||||
- case: 3 # charge
|
||||
- case: 3 # charge (not implemented -> normal)
|
||||
set:
|
||||
source: http
|
||||
uri: http://{{ .host }}/config/timeofuse
|
||||
method: POST
|
||||
headers:
|
||||
- content-type: application/json
|
||||
auth:
|
||||
type: digest
|
||||
user: {{ .user }}
|
||||
password: {{ .password }}
|
||||
body: '{"timeofuse":[]}'
|
||||
source: sequence
|
||||
set:
|
||||
- source: http
|
||||
uri: http://{{ .host }}/config/timeofuse
|
||||
method: POST
|
||||
headers:
|
||||
- content-type: application/json
|
||||
auth:
|
||||
type: digest
|
||||
user: {{ .user }}
|
||||
password: {{ .password }}
|
||||
body: '{"timeofuse":[]}'
|
||||
- source: error
|
||||
error: ErrNotAvailable
|
||||
{{- end }}
|
||||
capacity: {{ .capacity }} # kWh
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue