diff --git a/meter/template_test.go b/meter/template_test.go index cb7f6470e..38a8d3123 100644 --- a/meter/template_test.go +++ b/meter/template_test.go @@ -13,7 +13,8 @@ var acceptable = []string{ "missing mqtt broker configuration", "mqtt not configured", "not a SunSpec device", - "missing password", // Powerwall + "missing password", // Powerwall + "missing user or password", // Tapo "connect: no route to host", "connect: connection refused", "connect: network is unreachable", diff --git a/templates/definition/meter/shelly-pm1.yaml b/templates/definition/meter/shelly-pm1.yaml index e21d6a1d0..1430eb4a2 100644 --- a/templates/definition/meter/shelly-pm1.yaml +++ b/templates/definition/meter/shelly-pm1.yaml @@ -8,6 +8,7 @@ params: - name: usage choice: ["pv"] - name: host + default: 192.0.2.2 - name: user - name: password mask: true diff --git a/templates/definition/meter/tasmota.yaml b/templates/definition/meter/tasmota.yaml index 2c759de49..e97ab5337 100644 --- a/templates/definition/meter/tasmota.yaml +++ b/templates/definition/meter/tasmota.yaml @@ -7,6 +7,7 @@ params: - name: usage choice: ["grid", "pv", "battery"] - name: host + default: 192.0.2.2 - name: user required: false help: diff --git a/templates/definition/meter/tplink.yaml b/templates/definition/meter/tplink.yaml index f9ad71d4b..d22404886 100644 --- a/templates/definition/meter/tplink.yaml +++ b/templates/definition/meter/tplink.yaml @@ -8,6 +8,7 @@ params: - name: usage choice: ["pv"] - name: host + default: 192.0.2.2 render: | type: tplink uri: {{ .host }}