Before I get a modbus counter for solar panels installed, I decided to put together an integration for my grid energy provider counter API.
The values the API provides aren’t real-time but daily and published at midnight.
This causes the data to appear one day late messing up stats like Self consumed solar energy. Moreover for some days it appears as if solar production is less that energy injected into grid.
Is there a way to get it working through the regular extensions mechanism or shall I look into backfilling the data directly into home-assistant’s db?
TBH, the sole reason for doing this is having the values I can compare against. Even with the modbus counter in place next week.
Same issue here. I have a heat pump connected to my energy data network. Every night at midnight the heat pump publishes its energy (electricity) usage to the KNX bus as a cumulative counter. But this happens a few seconds after midnight. This has the effect that HASS shows the energy usage on ‘today’ instead of ‘yesterday’, thus biassing my energy usage for heat (by the heat pump) with 1 day. On my energy dashboard for today, I can see the electricity usage from yesterday. Is there a way to somehow shift this statistic about 5 minutes back into time, so that I have the correct values on the correct days in the energy usage history?
A quick follow-up. I was getting a bit tired of the issue, so I integrated a KNX energy meter on a 3 phase electrical system. I now have live and accurate data on my heat pump and some other devices. Works like a charm. Bit more expensive, yes.