Open galtamur opened 2 years ago
I find the same issue with all browsers and also the HA companion app for android
never heard of this issue before, sadly I don't possess neither windows nor android. How does this happen on the companion app? I presume you cannot minimize anything. I imagine the main issue with windows is that this app is awfully resource intensive due to the animation, I'm working on that but it will take at least till october. So hopefully the improvements help. Does this also happen with the energy card of HA? I'm going to copy a few concepts from that but if that is also an issue there, then this will not help.
i get the same issue on galaxy tab 8, when you wake it (via walking past) almost freezes for 10-20 seconds then as if its "fetching" data or something then back to normal,
It happens on all of my Windows PCs running either Mozilla FF, Chrome or Edge, all android devices (phones and Tabs). Hang is temporary for me. On windows browsers it only occurs if I switch to another tab or application, it'll be frozen for a few seconds (variable up to 10 sec) on switchback. Likewise on Android devices, if the companion app is backgrounded on a page with this integration running, on returning to the app, the whole app is stuck for a few (up to 10 sec), then it frees up.
On Windows, the browser page can't be refreshed until the hang times out, so maybe it's a socket issue. While hung though, If you right click the tab and duplicate it, a fresh tab will open up and work even while the previous is still stuck. The longer I am switched away from the tab or app with them running in the background, the longer is the hang when returning to HA tab or app.
Since it only is a minor inconvenience, I've never bothered to report it, but since there is a report from another, I can contribute with my experience.
Ok. So by freezing you mean there is no update of the values for a few seconds, right? Well there are two reasons for this. On the video the update of the data happens as intended by HA. I don't get new data earlier therefore it cannot be updated earlier. Second, the card is waaaay too process intensive due to a calculation for the bubbles that happens every 10-30ms depending on your browser. This makes it use A LOT of CPU. I know of the issue and have an idea to make it better, but don't have the time.
This also freezes my computer browser (Chrome on Windows Desktop) and mobile browser (Android Pixel). On my computer I will get a "wait for this script" prompt after a few seconds. The card causes no issues as long as your active on the tab with the dashboard. However if you go to another tab and come back to the dashboard then the issue will presents it self.
This isn't a refresh of the data elements issue, it causes all dashboard items and actually "all dashboards" with or without the "tesla power card" added to lock up. I had to remove the card completely from HACS to get my all my dashboards to stop freezing. I do really like the card, but I won't be able to add it again until this is resolved.
Good morning, I have installed and correctly configured the card, and it's working beautifully. The only problem I have is that on Windows if I minimize the browser window (I use Chrome) or the HA app, when I restore the window it remains hung for some 20-30 seconds. I tested back by removing the card and this problem disappears, so looks like it's connected with the card. Any idea on how to solve this?
Here is the configuration of the card, if this can help:
Thank you in advance, GA