glider51
glider51
About
- Username
- glider51
- Joined
- Visits
- 16
- Last Active
- Roles
- Member
Comments
-
- name: "Metered Unit Price" state_topic: !secret glow_MQTT_topic_electricitymeter unit_of_measurement: "pence" #Default is GBP, see below device_class: "monetary" icon: mdi:home-import-outline val…
-
So mqttsensors.yaml is: #mqtt: is the context from the configuration.yaml file sensor: #glow/<UID>/SENSOR/electricitymeter #power - name: "Metered Current Consumption" state_topic: !secret glow_MQTT_topic_electricitymeter …
-
So I have been working with HA a lot more recently and I went back to clean up / check my MQTT coding. There were in fact one or two bits missing and I tided it up if anyone want to to reuse it: The secret is in the form: glow_MQTT_topic_electricity…
-
Thanks gedger
-
```value_template: "{{ value_json.electricitymeter.power.value | round(1) }}" >>Why do you round this? Because for my own preference I I don't want the number to 3DP or for the kWh daily/monthly/ all time usage I only want 1DP.
-
Sorry I forgot to add something about the MQTT topic. in the line: state_topic: "glow/441793504B6D/SENSOR/electricitymeter" I believe 441793504B6D is the id for the Glow device. You will need an MQTT client or similar to get the exact topi…