question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Data @ 11pm-12am is lost every night

See original GitHub issue

Each night at the end of the day, the accumulating value of kWh consumed is reset to zero and begins increasing again for the next day from after midnight. This value (for electricity) is sensor.electric_consumption_today

However, if you use a HistoryGraph (see attached image) to graph sensor.electric_consumption_today it’s apparent that there is no data from 11pm until 12.30am every night (the consumption data is zero for at least 1.5hrs). This means that there is at least 1.5hrs of consumption not being accounted for every night.

Expected behaviour would be for consumption data to continue until 12.00am when it would reset to 0kWh and begin accumulating again from 12.01am.

HomeAssistant v2021.10.6 Hildebrand Glow (DCC) integration v0.3.3

IMG_20211020_051629

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
HandyHatcommented, Oct 26, 2021

I’ve clarified that the last 30 minutes of the day will be lost on the daily sensors, the bug in the calculation of DST has been fixed and cumulative sensors have been added. Please reopen if you are still losing more than 30 minutes of data!

1reaction
ColinRobbinscommented, Oct 22, 2021

I now have the cumulative (Usage since Jan 1 in current year) sensors implemented in my test system. Need to let it run for a few days to make sure the Energy integration works OK with it. If all goes well, I’ll make a PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

My phone lost 50% battery over night and … - Apple Community
Yesterday night it was at 75% and when I woke up it was around 18%. I looked some stuff up and it said...
Read more >
Solved: Broadband goes down 11pm-12am every night
Since last week we lose Internet between 11pm-12am for about 30 minutes, happened about 4 times now. I rang up VM, they said...
Read more >
Hildebrandglow - Smart Meters - SMETS2 - #198 by Locoblade
For an in-depth discussion of this point see Data @ 11pm-12am is lost every night · Issue #45 · HandyHat/ha-hildebrandglow-dcc · GitHub.
Read more >
Try this trick if your phone keeps losing its data connection
If your phone seems like it loses a data connection pretty frequently, there's an easy fix to make sure that doesn't happen.
Read more >
Why 10:10pm Is The Best Time To Go To Bed - Women's Health
Getting into a good sleep routine is essential for health, ... slept fewer hours a night on average compared with before the lockdown....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found