Beaky2000 / esphome-p1mini

ESPHome external component for reading P1 data from (Swedish) electricity meters
MIT License
128 stars 26 forks source link

Home Assistant sensor error #27

Closed Deadfox531 closed 8 months ago

Deadfox531 commented 8 months ago

Hello,

The project works very well, but in the Home Assistant, the value keeps jumping around. The updated data appears momentarily, but then immediately resets to zero.

https://github.com/Beaky2000/esphome-p1mini/assets/65756216/32139b9c-80c7-4b80-a689-18217d4e9fe9

Beaky2000 commented 8 months ago

This is not something I have seen before.

If you look at the ESPHome web server (http://p1mini.local/ or something like that) do the values look good there?

I would try removing the integration from HA and adding it back again to see if that helps.

Deadfox531 commented 8 months ago

It shows the information correctly on the web server.

Beaky2000 commented 8 months ago

I do not think this has anything to do with this component. I think it is a HA issue, possibly in combination with the ESPHome core, but I doubt there is anything I can do about this.

I would suggest removing and re-adding the integration in HA, restarting HA, updating HA and that kind of stuff.