Energy Management in Home Assistant

Not exactly the most critical thing, but is there a way to switch currency from Euros to USD?

@bra1n Yes:

Open your Home Assistant instance and show your general Home Assistant settings.

3 Likes

Is it possible that the standard HA SAJ integration (SAJ Solar Inverter - Home Assistant) is not yet compatible as solar production source in the energy dashboard?
I suppose that’s because the following is not yet added.

state_class: measurement
device_class: energy

Any idea how this can be added manually?

I’m not sure if I’ve got the correct options. The only options I have are for sensor.envoy_lifetime_energy_consumption and sensor.envoy_lifetime_energy_production. Not sure how that works with the Grid consumption and Return to grid options.

Has anyone got this working with their Enphase Envoy?

How did you get this to work? I have several integration sensors tracking kWh that I’ve been using for a few months, but they don’t show up in my Energy page. Maybe I have to make new ones for them to be picked up?

I have a really hard time believing someone like Bill Gates really cares about his carbon footprint… I mean the guy has a mansion in Washington that is over 66,000 square feet. I just hate when famous, rich people get put on a pedestal because they care “so much” for the environment, where you really know all they care about is #1 (themselves). They are just saving face to the media.

That said, cool additions. Because I am actually for reducing my carbon footprint :slight_smile:

3 Likes

I wish I could help more, but all I did was create these sensors with the source as a kW power sensor and they have shown up in the Energy integration!

4 Likes

I’m totaly lost, I can setup all the sensors: DSMR, Fronius, Shelly’s.
There are energy values kWh in each sensor, only the Energy screen stays empty.
Even if I wait for more than 3 hours…
The entity attributes are complete.
Please advice.

This appears to be targeted at people with grid-tied systems and I guess it is a great step forward for them. I hope development will soon make it useful for those who are off-grid and those who are using battery backup.

Kudos for the good works.

1 Like

hi i have a SolarEdge
it gives the data to Home assistant with SolarEdge modbus but I don’t get any data to the Energy management tool
does anyone have this working already?

SolarEdge Modbus is a custom integration, please request that with the custom integration author, as the integration needs to be adjusted to work with this.

Works fine with my Utility Meter integration. However I though, why keep that when this basically does the same.

So I found this thread Energy: Not showing the expected entities for consumption with instructions to add my “total energy” sensors:

homeassistant:
  customize_glob:
    sensor.<total consumption, returning & solar generated sensors>:
      last_reset: '1970-01-01T00:00:00+00:00'
      device_class: energy
      state_class: measurement

And yes, they showed up, so I could select them in the energy configuration. However nothing is showing up in the Energy panel now (i.e. empty graphs). How long to wait before stuff should show up? Until the next day?

Never mind, karma strikes again. As soon as I posted this. The first bar appeared :slight_smile:

2 Likes

I would not recommend that, especially not using globs, as it is not universal. Additionally, please make sure the entities do NOT reset with those values.

So how should I do it?

Add work into adding actual support to those integrations. Report those, or contributing to actually adding support for them.

1 Like

Small chance I fear. Values are published on MQTT. Can I rewrite the sensor definition so they’ll work. It now looks like this:

- platform: mqtt
  name: Totaal verbruik net laag tarief
  unit_of_measurement: "kWh"
  state_topic: "sensors/power/slimme_meter/verbruik_laag_tarief"
  value_template: "{{ value|float / 1000 }}"

I’ll check the goodwe component creator if he’s planning to update that.

1 Like

You can add the last_reset_topic and last_reset_value_template to those.

Ok now I got it, thanks for the help. Strange thing is that I could not add the parameters directly to the sensor but like that:

homeassistant:
  customize_glob:
    sensor.*_total:
      last_reset: '1970-01-01T00:00:00+00:00'
      state_class: measurement

Note that my relevant sensor names all end with “_total”, so if somebody wants to adopt that you should change your sensor names or the definition in the snipet above.

2 Likes

I don’t really understand what they should be if I cannot use ‘1970-01-01T00:00:00+00:00’ for last_reset_topic as you said. Let alone what value this attribute should have last_reset_value_template