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

Dashboard slows down and some cards no longer work properly #49

Open
2 tasks done
pluusla opened this issue Dec 6, 2024 · 3 comments
Open
2 tasks done

Dashboard slows down and some cards no longer work properly #49

pluusla opened this issue Dec 6, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@pluusla
Copy link

pluusla commented Dec 6, 2024

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:

Last working release (if known):
Unknown, the problem has existed for a while

HA-info:
Core 2024.12.0
Supervisor 2024.11.4
Operating System 14.0
Frontend 20241127.4

Browser and Operating System:
Brave (v1.73.97) , Firefox / Windows, Android

Description of problem:
First of all, I would like to thank you for the great theme. I know that a lot of work has gone into it. I am an absolute fan of it and would like to continue using it.

Now to my problem:
I have noticed that there have been problems for some time (I can't say exactly when).

I use the theme with all mods. In addition to the standard cards, I also use mushroom and bubble cards in my dashboard.

For some time now I have noticed that the dashboard in the browser on the PC as well as in the mobile app becomes sluggish and slow after a certain time. This means that certain functions no longer work, e.g. closing bubble cards (if a pop-up has been opened)

Card mod is installed and correctly stored as a resource. I have tried Card-Mod versions 3.4.0 to 3.4.3 individually. The problem exists with all versions.
I do not use any other card mod customizations apart from the theme itself.

Interestingly, the problem does not occur when I use the theme with No-Mod. For me, this actually indicates a problem with Card-Mod itself.

I realize that if this is a Card-Mod problem, no solution can be worked out here. But perhaps other users have had similar experiences.

I have also placed the problem with Card-Mod myself: thomasloven/lovelace-card-mod#413 (comment)

Javascript errors shown in the web inspector (if applicable):

I notice a lot of memory consumption here too:
image

As well as in the browser console after some time (when tab is open) the following error messages:
image

Uncaught (in promise) {code: 'not_found', message: 'Subscription not found.'} card-mod.js:1 Uncaught (in promise) y @ card-mod.js:1 s @ card-mod.js:1
After a certain time, the dashboard becomes slow and some functions, such as closing the bubble card pop-up, no longer work.

@pluusla pluusla added the bug Something isn't working label Dec 6, 2024
@Nerwyn
Copy link
Owner

Nerwyn commented Dec 19, 2024

I can't say I'm experiencing this issue or that it's related to this theme in particular. I wonder if it's related to Home Assistant closing it's connection to the browser on inactivity. Can you go to profile settings, scroll down to Browser Settings, and disable Automatically close connection?

image

@pluusla
Copy link
Author

pluusla commented Dec 19, 2024

Thanks for the input! Yes, I also believe that the problem does not come from the theme itself. My main suspect is still Card Mod. I'm just surprised that I'm the only one with this observed behavior.
I tried your recommendation. Unfortunately, the behavior is still as described above.

@iamthekings5
Copy link

@pluusla I want to pop in and say I have the same issue, the ram usage of my browser tab gradually increases over time especially if I interact with anything card-mod related. Sometimes it goes up to 4 - 5 GB ram usage and it becomes exactly as you describe where everything is sluggish. I resolve the issue by closing the browser tab, but it doesn't solve the issue in the long term.

I have tried uninstalling card-mod and the issue was resolved, but card-mod is very useful for me and I do need it.

Is there anyone using card-mod and doesn't experience this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants