Energy Management in Home Assistant

Really love the energy management.

However, there are some additions which would fit:

  • Pie Chart with Total consumed energy and the single known consumers (example: TV, Washing machine, …, and the rest unknown… This would help understanding where energy hungry devices are…
  • Trend. is this day better or worse than the previous ones
  • Forecast for the rest of the month
  • month/year view, to see the consumed energy and compare it

I guess that this will improve over time. Thanks a lot. Moved my energy management from homee to HA this week

Can someone give a working example of an energy sensor obtained from a Shelly EM (or other Shelly device with energy measurement), integrated with MQTT, that works with new Energy dashboards? If you added some attributes to the yaml code of the MQTT Shelly sensor please copy the code you used or say if simply edit parameters in entities personalization. Thank you.

If you use the Shelly integration rather than mqtt it will just work.

Ok, I added for try also official Shelly integration (not now but a couple of days ago), the sensor provide watt measurement, must I create a new sensor to convert it to kwh? Because the straight Shelly sensor of official integration does not provide, in my HA, any data.

My shelly dimmer had an Energy sensor that was not active by default. Click into confg/integrations/devices and click on the shelly device. Are there some disabled entities?

It’d be really nice if this was documented somewhere? So far, this comment is the only place I’ve found this info.

Maybe somewhere linked from this blog post or from the “Understanding Home Energy Management - Home Assistant” page?

4 Likes

Ok I checked, the only disabled entities are uptime, firmware version etc, nothing that involves energy measurement. I also think a better documentation must be provided, I know there are many types of sensor to have energy measurement, but Shelly are very popular.

Are you sure you are using the shelly integration? Can you post a screenshot of the device panel with the disabled entities shown?

You can see exactly where/what/how the data is stored - I describe it in this post:

I’ve got a post that might be relevant

Not all of Australia. In my part of Melbourne our smart meters use a private mesh network.

1 Like

I would like to have a power display as well (ie instantaneous energy use). Possibly this can already be done using the right sensors and card, but then so could the energy dashboard.

Ok here is the screenshot from Shelly integration, the disabled entities are the black ones below.

Fair enough - forgot about that!

So there are two energy sensors there. Have you tried to add them as energy sources in ha and waited at least 2 hours for results?

If you are having problems adding them, what are the attributes of the sensors, the ones measuring in kWh?

1 Like

the energy sensors are 2 because one is from official shelly integration and one from mqtt integration (the Shelly EM is the same), added both in energy sources and now I erased also all Shelly Em data from it’s web page, I will wait and then see if in this way it works, I will give feedback if usefull for others.

Hi guys, love the new energy feature.
After hacking together the DSMR sensors on my ESPHome near the utiltiy meter it’s looking good.
That said, I swapped the tarif 1 and 2 sensors, and of course after fixing this HA got a huge spike in the readouts:

Is there any easy way to nuke this spike or reset the energy data?
Since I just started I’m fine with dropping all energy data so far.

UPDATE: after erasing shelly em data the energy bashboard begun to work, I now must find the right way to reset counters of mqtt tasmota plugs and esphome plugs if I want to start from everything with zero values, I will decide if this panel is usefull for me or not.

Why can’t I figure out where to turn on on enable the dashboard?