Skip to content

Commit

Permalink
Enphase: use HTTP only
Browse files Browse the repository at this point in the history
  • Loading branch information
premultiply authored Aug 26, 2023
1 parent dc3e83e commit 8adc1f4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions templates/definition/meter/enphase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ render: |
{{- if eq .usage "grid" }}
power:
source: http
uri: https://{{ .host }}/production.json
uri: http://{{ .host }}/production.json
method: GET
{{- if .token }}
auth:
Expand All @@ -36,7 +36,7 @@ render: |
{{- if eq .usage "pv" }}
power:
source: http
uri: https://{{ .host }}/production.json
uri: http://{{ .host }}/production.json
method: GET
{{- if .token }}
auth:
Expand All @@ -47,7 +47,7 @@ render: |
jq: .production[] | select(.measurementType == "production").wNow
energy:
source: http
uri: https://{{ .host }}/production.json
uri: http://{{ .host }}/production.json
method: GET
{{- if .token }}
auth:
Expand All @@ -61,7 +61,7 @@ render: |
{{- if eq .usage "battery" }}
power:
source: http
uri: https://{{ .host }}/production.json
uri: http://{{ .host }}/production.json
method: GET
{{- if .token }}
auth:
Expand All @@ -72,7 +72,7 @@ render: |
jq: .storage[] | .wNow
soc:
source: http
uri: https://{{ .host }}/ivp/ensemble/inventory
uri: http://{{ .host }}/ivp/ensemble/inventory
method: GET
{{- if .token }}
auth:
Expand Down

0 comments on commit 8adc1f4

Please sign in to comment.