#My meter changed - how do I continue in HA?

1 messages · Page 1 of 1 (latest)

mellow knot
#

My electrical company changed my meter, I needed to create new device with esphome to read it. But how do I now continue in HA so my power usage tracking is correct?

polar parcel
#

depends on country, meter model and how it can be read. e.g. zigbee, p1 etc.

mellow knot
#

I have fixed the description, as the typo made it unclear what i'm asking

polar parcel
#

is the esp device correctly configured for use with new meter?

mellow knot
#

yes

#

it is the ha side I do not know how to setup so it continues correctly

polar parcel
#

you have esphome in home assistant? Or do you mean the statistics/histiory from old meter > new meter?

mellow knot
#

well statistics, but also now it starts from 0 and from 30000kWh or whatever it was, so reading would not make any sense

polar parcel
#

that i can not answer, hence i dont know.. Bigger brains will pick up from here.

fierce schooner
#

you can either keep your old entity in the energy dashboard and just add the second one

#

or you can move the statistics from the old entity onto the new one. You can do that by renaming the new entity the same as the old entity and then delete the old entity

#

(make backups before you start messing with data though)

polar parcel
#

did not realise this could be done with energy devices, my bad 😉

mellow knot
#

but when it jumps from 30 000 to 1 i will think I export 30MWh of power, or can that be corrected?

polar parcel
#

have to pass here.. learning..

fierce schooner
#

if there is a jump, then you can correct it in dev tools -> statistics

mellow knot
shadow grove
#

also if i delete entity (if it is somehow possible to overcome) will stastics be kept?
Yes.

#

To delete the entity you would need to get the integration creating that entity to stop providing it, either by some integration-specific means, or by removing the integration entirely.

mellow knot
#

but why can't I delete it?

polar parcel
#

remove integration > reboot