Power usage
Shows the power consumption of a smart meter.
About this flow
| System | Home Assistant |
|---|---|
| AWTRIX version | AWTRIX 3 |
| Topic | Smarthome |
| Built by | wildekek |
| File | XBJpAq0k5rzw.yaml · 0.6 KB |
| Icons | — |
| Published | 7 Oct 2024 |
| Downloads | 61 |
Is this your flow?
If you created this flow, open your saved edit link to add it to your account. You can then manage it whenever you sign in. Adding it to your account replaces the edit link.
Flow description
This app reads a smart meter (or other power sensor) and shows it on the display. The template converts kW to W get rid of decimals and save space, but is easy to change.
Requires LaMetric icon ID 44432 to be uploaded.
XBJpAq0k5rzw.yaml
alias: Send Power Usage to Awtrix
description: ""
triggers:
- trigger: time_pattern
seconds: "0"
- trigger: state
entity_id:
- sensor.power_consumed
enabled: false
conditions: []
actions:
- action: mqtt.publish
metadata: {}
data:
qos: "0"
topic: awtrix_2fc2a8/custom/power
payload: |-
{
"text": "{{ (states("sensor.power_consumed") | float * 1000) | round | int }}W",
"textCase": 2,
"color": [255,0,0],
"icon": "44432",
"noScroll": true
}
evaluate_payload: false
mode: single
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
More flows for Home Assistant or Smarthome
Something wrong with this flow? Report it.
Have an idea?
Sign in to ask questions and join the conversation.