Solax: fix api url (#7991)
This commit is contained in:
parent
7b6f7f9862
commit
a96dc21d0b
2 changed files with 6 additions and 6 deletions
|
|
@ -40,7 +40,7 @@ render: |
|
|||
power:
|
||||
{{- if eq .usage "grid" }}
|
||||
source: http
|
||||
uri: https://www.eu.solaxcloud.com:9443/proxy/api/getRealtimeInfo.do?tokenId={{ .tokenid }}&sn={{ .serial}}
|
||||
uri: https://www.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do?tokenId={{.tokenid}}&sn={{.serial}}
|
||||
jq: .result.feedinpower
|
||||
cache: 2m30s
|
||||
scale: -1
|
||||
|
|
@ -51,23 +51,23 @@ render: |
|
|||
# Hybrid WR XXXXXXXXXXXXXX
|
||||
# DC MPPT1 + MPPT2
|
||||
- source: http
|
||||
uri: https://www.eu.solaxcloud.com:9443/proxy/api/getRealtimeInfo.do?tokenId={{ .tokenid }}&sn={{ .serial}}
|
||||
uri: https://www.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do?tokenId={{.tokenid}}&sn={{.serial}}
|
||||
jq: .result.powerdc1 # Solax API Inverter.DC.PV.power.MPPT1
|
||||
cache: 2m30s
|
||||
- source: http
|
||||
uri: https://www.eu.solaxcloud.com:9443/proxy/api/getRealtimeInfo.do?tokenId={{ .tokenid }}&sn={{ .serial}}
|
||||
uri: https://www.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do?tokenId={{.tokenid}}&sn={{.serial}}
|
||||
jq: .result.powerdc2 # Solax API Inverter.DC.PV.power.MPPT2
|
||||
cache: 2m30s
|
||||
{{- end }}
|
||||
{{- if eq .usage "battery" }}
|
||||
source: http
|
||||
uri: https://www.eu.solaxcloud.com:9443/proxy/api/getRealtimeInfo.do?tokenId={{ .tokenid }}&sn={{ .serial}}
|
||||
uri: https://www.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do?tokenId={{.tokenid}}&sn={{.serial}}
|
||||
jq: .result.batPower # Solax API inverter.DC.battery.power.total
|
||||
scale: -1
|
||||
cache: 2m30s
|
||||
soc:
|
||||
source: http
|
||||
uri: https://www.eu.solaxcloud.com:9443/proxy/api/getRealtimeInfo.do?tokenId={{ .tokenid }}&sn={{ .serial}}
|
||||
uri: https://www.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do?tokenId={{.tokenid}}&sn={{.serial}}
|
||||
jq: .result.soc # Solax API inverter.DC.battery.energy.SOC
|
||||
cache: 2m30s
|
||||
{{- if ne .capacity "" }}
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ render: |
|
|||
# Mini WR XXXXXXXXXXXX
|
||||
# AC Power
|
||||
source: http
|
||||
uri: https://www.eu.solaxcloud.com:9443/proxy/api/getRealtimeInfo.do?tokenId={{ .tokenid }}&sn={{ .serial}}
|
||||
uri: https://www.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do?tokenId={{.tokenid}}&sn={{.serial}}
|
||||
jq: if .result.acpower < 10 then 0 else .result.acpower end # Solax API Inverter.AC.power.total
|
||||
cache: 2m30s
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue