@fribse wrote:
Hi all
I’m thinking about adding this to HA.
I have so many smart plugs by now, and getting more, that reports the powerusage.
I would very much like to collect this data.
I’ve found some doing the illustration in Grafana. I’ve never used Grafana, so I was thinking that I would like to first collect it in HA, and for this, use utility meter.I can see that some of my sensors are in W, and not kW, so I’ve divided them with 1000 and changed the denomination to kW.
So I need to reset the counter.Looking in the docs, I can see a service:
Service utility_meter.reset
But I can’t see that service in the developer tools or in automations until I add a tariff?
But there is no explanation of how a tariff is given, I tried this:
energy: tariff: - peak: 2.3 dryer_daily_energy: source: sensor.dryer_power cycle: daily unit_of_measurement: kWh dryer_monthly_energy: source: sensor.dryer_power cycle: monthly unit_of_measurement: kWh dryer_yearly_energy: source: sensor.dryer_power cycle: yearly unit_of_measurement: kWh washer_daily_energy: source: sensor.washer_power cycle: daily unit_of_measurement: kWh
But nooo.
Now, the next question, showing kW is not correct, it should show kWh, so is that what it actually shows, and just not display the unit correctly (I’ve added the unit myself)?
I guess that when I have this in place, I could go further and have grafana use these data for nice displays?
Posts: 10
Participants: 4