Configuration entities to be used in energy dashboard

Hi,
I have a problem with configuration of entities related to energy. The goal is to feed the energy dashboards in my HA. I will describe the simplified device configuration below.

  1. There are following meters installed in my system:
  • 3 energy meters (each phase) producing impulses each 1mkWh,
  • a gas meter producing impulses each 0.1m3 (gas flown),
  • a water meter producing impulses each 1L (water flown).
  1. Those meters are connected to arduino based controller that counts the impulses and expose the sum of each via webservice. Each time the webservice is called to read the impulses, it clears the sum so that we get only impluses generated from the last reading.

  2. Another part of my system calls the arduino webservice each 15min. It is a 12-years old, handmade similar to home-assistant system based on Raspberry PI (gen.1).

Raspberry PI serves the current values on internal website.

  1. I use “scrape” addon in the Home Assistant to create entities from above webpage. I scrape it every 15min so I should always get all impulses.

I have used “scrape” because I did not want to do any changes to raspberry PI component. At this moment this part of the system is “depricated” and whole functionality, will be replaced by Home Assistant.

How to configure these entities in enegry dashboard properly? I am new to HA. Please guide me to create appropriate helper entities.
Best regards,
Bolek

Have you looked at the Utility Meter integration?

Hi, thank you for the idea. As I use HA Green appliance, the “Utility meter” is available as a helper. For each sensor I have cofigured:

  • a “utility meter” helper to agregate the values (Delta option - swiched on)
  • a template helper to assign a valid unit (L, m3 and kWh)

Finally, I added these template helpers to Energy Dashboard. Now, I will wait until tommorow to see if it works.

Meanwhile, does anyone else have any other ideas how to do this?

Bolesław, just a quick question from your fellow Polish user.
What sort of smart meters do you have?
Can you point me to meter models?

  • 3 energy meters (each phase) producing impulses each 1mkWh,
  • a gas meter producing impulses each 0.1m3 (gas flown),
  • a water meter producing impulses each 1L (water flown).

Hi Robert,
Sure, just be aware that this part of my system was built 12 years ago. I simply had to build a smart home system, and at that moment HA was not available yet.
Here are exact sensor models (I don’t think those are smart anyway :)):
Energy meter:
https://www.fif.com.pl/pl/liczniki-zuzycia-energii-elektrycznej/1069-wskaznik-zuzycia-energii-wze-1.html
Water meter:
https://bmeters.pl/pl/gsd8_r/604/

And here is a transmeter for my gas meter
https://www.intergaz.eu/produkty/odczyt-danych/nadajniki-impulsow/nadajnik-in-z61/

Sorry, I could not paste 3 links in one post.

Thanks a lot.

I seems to be working, but I find it hard to interprete. I attach energy plots from from both:

What do you think? It looks like that HA plot accumulate the overall consumption value…