Some checks failed
Default / Build (push) Failing after 2m0s
Default / Build UI (push) Failing after 13s
Release / Publish Docker :release (push) Has been cancelled
Release / call-build-workflow (push) Has been cancelled
Release / Publish Github & APT release (push) Has been cancelled
- Configure now asks for the users knowledge level, so advanced mode can be reached without calling with `--advanced` - Add template for solaredge inverter - Add beta template for sungrow inverter - Add template for MQTT based meter - Add more template documentation - Add check and error message for invalid config properties when using templates - Option to specify language specific template descriptions - Option to make params dependent on values of other params - Option to add sponsortoken in advanced mode - Option to set minCurrent in advanced mode - Remove sponsorship requirement from Daheimladen wallbox - Multiple fixes (FritzDect meter, Kostsal Piko meter, ...)
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
template: senec-home
|
|
description:
|
|
generic: SENEC.Home
|
|
guidedsetup:
|
|
enable: true
|
|
params:
|
|
- name: usage
|
|
choice: [ "grid", "pv", "battery" ]
|
|
- name: host
|
|
required: true
|
|
example: 192.0.2.2
|
|
render: |
|
|
type: custom
|
|
power:
|
|
source: http
|
|
unpack: hex
|
|
decode: float32
|
|
uri: http://{{ .host }}/lala.cgi
|
|
method: POST
|
|
headers:
|
|
- content-type: application/json
|
|
{{- if eq .usage "grid" }}
|
|
body: '{"ENERGY":{"GUI_GRID_POW":""}}'
|
|
jq: .ENERGY.GUI_GRID_POW | sub("fl_"; "")
|
|
{{- end }}
|
|
{{- if eq .usage "pv" }}
|
|
body: '{"ENERGY":{"GUI_INVERTER_POWER":""}}'
|
|
jq: .ENERGY.GUI_INVERTER_POWER | sub("fl_"; "")
|
|
{{- end }}
|
|
{{- if eq .usage "battery" }}
|
|
body: '{"ENERGY":{"GUI_BAT_DATA_POWER":""}}'
|
|
jq: .ENERGY.GUI_BAT_DATA_POWER | sub("fl_"; "")
|
|
scale: -1
|
|
soc:
|
|
source: http
|
|
uri: http://{{ .host }}/lala.cgi
|
|
method: POST
|
|
headers:
|
|
- content-type: application/json
|
|
body: '{"ENERGY":{"GUI_BAT_DATA_FUEL_CHARGE":""}}'
|
|
jq: .ENERGY.GUI_BAT_DATA_FUEL_CHARGE | sub("fl_"; "")
|
|
unpack: hex
|
|
decode: float32
|
|
{{- end }}
|