Hi all,
as of yesterday I´m finally able to charge my Hyundai Kona EV in my garage at home.
I´m using a Go-E Charger as a Wallbox which has support for MQTT and luckily als has a custom compontent which makes things even easier. I can read out pretty much every sensor of the charger and I´m also able to start/stop charging.
I´m now in the need to calculate the monthly usage. I´m pretty sure this is something Home Assistant can do for me. The logic behind this should be pretty simple.
I do have the Total Charged sensor which comes with the custom component.
At the first day of every month I would then want to send out an email or message with the kWh used by the charger last month. So for example on April 1st I would want to receive a message with the energy use from March 1st-31st.
Ideally there should be also a second value for the costs produced. In this case I would need to multiplie the kWh used last mont with 0.287 (28,7 cents is my current energy price I pay).
I already tried using the https://www.home-assistant.io/integrations/utility_meter/ Utility Meter Integration. Unfortunately I´m only able to get the new values out of this. In this case it would mean that the 7 kWh I charged yesterday would not add up to this months consumption. For sure this wouldn´t be a dealbreaker and no problem for this month.
I configured the Utility Meter like this:
utility_meter:
energy:
source: sensor.goetotal
cycle: monthly
I was just wondering if there is a smarter way to do this?
I would also like this to be very stable and not to dependent on the Home Assistant Database as I had to delete my database two time in the last year I´ve started using Home Assistant. This of course deletes all history and my guess would be that also the Utility Meter would then reset???
Thanks in advance for your help!