mindmelting / hass-powerpal

Home Assistant custom integration to fetch data from Powerpal
MIT License
44 stars 11 forks source link

Units for Live consumption #10

Closed aksvenk closed 2 years ago

aksvenk commented 2 years ago

I'm thinking this should be reported in kW and not kWh since it is a measure of instantaneous power.

mindmelting commented 2 years ago

Hey - thanks for the feedback. What comes back from the API is not real time instant measurement - it's watt usage over the course of a minute. This then gets converted into kWh - hope that makes (some) sense!

I've taken the kWh outputs from this plugin along with energy price integration from Amber - and it's almost exactly my bill price - so it's pretty accurate.

aksvenk commented 2 years ago

Thanks for your reply, that makes sense. The powerpal app confused me a bit as the instantaneous power is shown in Watts(W) on the 'energy clock'.

Looking at the API I see data is actually coming through in watt-hours(Wh)

mindmelting commented 2 years ago

Ah nice - they have published details on the api response now!