Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Energy Dashboard not work anymore #121282

Closed
Destroyer061090 opened this issue Jul 5, 2024 · 29 comments
Closed

Energy Dashboard not work anymore #121282

Destroyer061090 opened this issue Jul 5, 2024 · 29 comments

Comments

@Destroyer061090
Copy link

Destroyer061090 commented Jul 5, 2024

The problem

after last update to HA 2024.07.0 i recognized that the energy dashbord is not anymore update after a certain time during night. after HA restart system restart to work properly.

Today before restart:
image

Today after restart:
image

yesterday:
image

What version of Home Assistant Core has the issue?

core-2024.7.0

What was the last working version of Home Assistant Core?

core-2024.6.4

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@zztopgtb
Copy link

zztopgtb commented Jul 5, 2024

Yep, I've got the same. I rebooted and thought it fixed it but going off your screenshot, it's the same time as mine. I checked the numbers and home assistant seems to be reporitng correct numbers. It may just be an issue with the graphs or energy dashboard? Same for solar production and water usage too.
Screen Shot 2024-07-05 at 16 56 16 PM

@pikkemans
Copy link

pikkemans commented Jul 5, 2024

It appears it's not the dashboard but the actual entities behind it.

I got two entities I use for the energy dashboard. They are getting "stale" after the upgrade and also eventually after restarting HA.

image

EDIT: Found related issue #121232

@dbachats
Copy link

dbachats commented Jul 5, 2024

Exact the same behavior for me.
Hope gets solved soon

@ChristophCaina
Copy link
Contributor

same as #121232

@garry0garry
Copy link

The same thing if template sensors is used. Rebooting the HA helps only at the time of rebooting the HA.

@nicoducos
Copy link

hello
same problem
I think it's a statistics recording problem on all equipments
not only for energy dashboard

image

in addition the energy dashboard is no longer configurable
image

@GeraldPape
Copy link

Mine stopped working too after the upgrade. Sensors that accumulate a value over the day are showing the last value before the upgrade. No reset on midnight.
Also, the energy dashboard is empty, it looks like it was never configure. Trying to get into the energy dashboard configuration (settings/dashboards) only shows "Unknown error"

@pacsabi
Copy link

pacsabi commented Jul 5, 2024

Mine stopped working as well. Individual energy sensors history shows incorrect data.

@DONATO-82
Copy link

good morning I'm having the same problem too, practically around four in the morning the sensors of all entities go to zero until the home assistant is restarted and they start to register again, now I don't know whether to wait for them to resolve it or restore the core previous 2024.6.4

@pacsabi
Copy link

pacsabi commented Jul 5, 2024

Use the following temporary solution:

#121164 (comment)

@LioBoul
Copy link

LioBoul commented Jul 5, 2024

Patch 2024.7.1 installed but always the same problem for me (energy dashboard, apex graph, sensors recording). And for you?

@ChristophCaina
Copy link
Contributor

2024.7.1 does not fix the issue.
Have you tried the workaround mentioned above?

@pacsabi
Copy link

pacsabi commented Jul 5, 2024

The fix is ​​not in the 7.1 release notes, so it won't fix it. There is quite a lot of movement on the Recorder github page, I think they working on it.

@LioBoul
Copy link

LioBoul commented Jul 5, 2024

2024.7.1 does not fix the issue.
Have you tried the workaround mentioned above?

The 2 complet reboot has not fixed the problem.
what other solutions? recorder line in yaml (config or sensor)? or solution with icloud v3?

@pacsabi
Copy link

pacsabi commented Jul 5, 2024

'> 2024.7.1 ne résout pas le problème. Avez-vous essayé la solution de contournement mentionnée ci-dessus ?

Les 2 reboot complets n'ont rien donné. Quelle autre solution ? Patch icloud v3? Ou recorder dans le YAML ?

This: #121282 (comment)

@LioBoul
Copy link

LioBoul commented Jul 5, 2024

'> 2024.7.1 ne résout pas le problème. Avez-vous essayé la solution de contournement mentionnée ci-dessus ?
Les 2 reboot complets n'ont rien donné. Quelle autre solution ? Patch icloud v3? Ou recorder dans le YAML ?

This: #121282 (comment)

Already the same with the 2 lines in config.yaml (recorder: auto_purge: false) and quick reboot :-(
Other solution ?

Capture d’écran 2024-07-05 201201
Capture d’écran 2024-07-05 201124
Capture d’écran 2024-07-05 201044
Capture d’écran 2024-07-05 201028

@ChristophCaina
Copy link
Contributor

Are you using one of the following Integrations?

https://community.home-assistant.io/t/psa-2024-7-recorder-problems/746428

@LioBoul
Copy link

LioBoul commented Jul 5, 2024

Yes. iCloud v3 and after disabled, it's ok :-)
Existing a patch for iCloud ?

@LioBoul
Copy link

LioBoul commented Jul 5, 2024

I have find this 👍 gcobb321/icloud3#349
Tks @ChristophCaina et @pacsabi :-)

@Damrak2022
Copy link

Sorry for using Google Translate, but my English is no longer good enough. Nothing is displayed in my energy dashboard either. Not even after the update to 2024.7.1
Do I understand correctly that this may be related to iCloud V3? Should I wait now or do I have to uninstall iCloud V 3?

@LioBoul
Copy link

LioBoul commented Jul 6, 2024

Sorry for using Google Translate, but my English is no longer good enough. Nothing is displayed in my energy dashboard either. Not even after the update to 2024.7.1 Do I understand correctly that this may be related to iCloud V3? Should I wait now or do I have to uninstall iCloud V 3?

You didn't have to uninstall icloud v3 but you could paste this file in you config (in the good folder!), follow the instructions and don't forget to restart HA 😉
gcobb321/icloud3#349 (comment)
It's OK for me 👌

@Damrak2022
Copy link

Sorry, I'm sorry, but I still don't understand.
Do I have to insert this code:

if hass.data.get('recorder_prefilter') is None:

rp_data = hass.data['recorder_prefilter'] = {}

rp_data['injected'] = True

rp_data['legacy'] = True

rp_data['exclude_entities'] = []

try:

ha_recorder.entity_filter._exclude_e.add(entities)

return True

except:

pass

rp_data['legacy'] = False

#if _inject_filter(hass) is False:

return

somewhere. And if so, can you please tell me exactly where I have to insert it, i.e. which folder and at which location.
I'm really sorry, but I don't know much about these things yet, or I don't understand them yet.
I would be grateful if you could explain this to me in a way that I can understand so that my energy dashboard works again.

Best regards, Andy

@bdraco
Copy link
Member

bdraco commented Jul 8, 2024

op's issue is a duplicate of #117263

icloud3 issues are a different problem

@bdraco bdraco closed this as not planned Won't fix, can't repro, duplicate, stale Jul 8, 2024
@home-assistant
Copy link

home-assistant bot commented Jul 8, 2024

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (recorder) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of recorder can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign recorder Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


recorder documentation
recorder source
(message by IssueLinks)

@DONATO-82
Copy link

Good evening, I see that a new version of the 2024.7.2 core has been released. Do you know if the problem of the energy dashboard and everything else connected has been resolved??

@pacsabi
Copy link

pacsabi commented Jul 10, 2024

According to release notes yes. I deleted the config changes and upgraded HA a few hours ago, everything looks OK

@Damrak2022
Copy link

Yes, my Energy Dashboard is working fine

@DONATO-82
Copy link

Good morning, did your energy dashboard behave well after last night? Can you confirm me so I can also update to version 7.2, thanks

@dbachats
Copy link

unfortunatelly the problem persists even after the 2024.7.2 update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests