BottlecapDave / HomeAssistant-OctopusEnergy

Unofficial Home Assistant integration for interacting with Octopus Energy
https://bottlecapdave.github.io/HomeAssistant-OctopusEnergy/
MIT License
595 stars 60 forks source link

Old data still showing for daily cost data import/export #985

Open justin-dev-uk opened 2 months ago

justin-dev-uk commented 2 months ago

Describe the bug

Seems problem with data at Octopus. They requested data and appears fixed on octo-aid

but my home assistant is not showing updated vales

Reproduction steps

Home assistant updates data daily

Expected behaviour

Correct values showing for import and export IMG_7534

Tariff Code

Agile

Integration Version

Latest

Home Assistant Version

2024.8.3

Fresh Install?

Not specified

Home Assistant Logs

Na

Confirmation

BottlecapDave commented 2 months ago

Hello. Sorry that you're having issues. What sensors are you having issues with directly? If this is around previous consumption sensors, the sensors only look at a set timeframe for new data. If data is refreshed outside of that timeframe, it won't get picked up.

justin-dev-uk commented 2 months ago

That’s not good given Octopus data has been wrong all weekend so it’s now lost

On Thu, 29 Aug 2024 at 17:09, David Kendall @.***> wrote:

Hello. Sorry that you're having issues. What sensors are you having issues with directly? If this is around previous consumption sensors, the sensors only look at a set timeframe for new data. If data is refreshed outside of that timeframe, it won't get picked up.

— Reply to this email directly, view it on GitHub https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/issues/985#issuecomment-2318253579, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQA7MD3FTAB6D5KJZADMAA3ZT5BT3AVCNFSM6AAAAABNI4E7ECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJYGI2TGNJXHE . You are receiving this because you authored the thread.Message ID: @.*** com>

BottlecapDave commented 2 months ago

The sensors are built to show the latest available information, similar to other sensors with HA. Depending on the data you require, there is a service/action which can be used to backfill data for the previous sensors. However, this only fills the information for the linked statistics sensors (built/recommended for energy dashboard). This won't backfill the data for the sensors themselves (e.g when you look at the history). This is a limitation in the HA sensors as they're not built for correcting historic data.

github-actions[bot] commented 1 month ago

This issue has become stale because it has been open for 30 days with no activity. If you still think it's an issue, please respond soon.

yellowduck commented 3 weeks ago

I'm having a similar problem. I switched from flux to agile with fixed export a couple of weeks ago, and my export meter is still showing the flux prices. Octopus and octoprice show the correct (fixed export) values. Logbook events suggest the values are being updated, but that is not what I am seeing.

yellowduck commented 3 weeks ago

I relented and restarted HA. That appears to have fixed things...