Skip to content

v3.0.0-beta.5/6 fails to render dashboard on some devices #1462

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

Closed
MarqBarq opened this issue May 8, 2025 · 42 comments
Closed

v3.0.0-beta.5/6 fails to render dashboard on some devices #1462

MarqBarq opened this issue May 8, 2025 · 42 comments

Comments

@MarqBarq
Copy link

MarqBarq commented May 8, 2025

Been working with 3.0 Beta for some time. Everything has been working on the Crestron 1060 for some time. As soon as I updated to Beta 5 the device failed completely to render the screen.

Not able to upload a photo, but it loads the side-menu, and then about half way though the background, it just stops. and the whole device is frozen.

Did not have this issue in Beta 4 or 3. This is new behavior in 5. Wish I could give you more details as to what is happening, but this device is not really "smart".

@Clooos
Copy link
Owner

Clooos commented May 8, 2025

Have you cleared your cache correctly? Because this shouldn't happen. You can also try to uninstall/reinstall Bubble Card in HACS.

@MarqBarq
Copy link
Author

MarqBarq commented May 8, 2025

I did a factory reset on the Crestron and set it up again. As soon as I updated from 4 to 5 it does this.

Image

As soon as I drop back to 4, it renders as expected.

I admit this is an advanced use case. The Crestron 1060 is a POE touchscreen that is used in office applications like Room signs, and office zoom control panels. I have three of them installed into my walls, and a test one in my office, was designing a new dashboard with bubble cards.

The backend has an application dropdown that lets you put in a URL and it pulls that. It loads HA and then goes to the dashboard.

Image

@pedolsky
Copy link

pedolsky commented May 9, 2025

Same here on IOS.

Update: As soon as I delete the module sensor, everything is back to normal.

@Clooos
Copy link
Owner

Clooos commented May 9, 2025

Have you updated to HA 2025.5 as well? Because they are a lot of issues with it.

If not, without any logs from the browser console, I really don't know how to fix that.

@MarqBarq
Copy link
Author

MarqBarq commented May 9, 2025

Cloosos, thank you. The issue was discovered as soon as I got beta-5, before I pulled HA 2025.5.

I will wait for the next version, or the 3.0 release and see what happens. The device let's you download the logs, but there are quite a pile, and so I will have to dig.

@Clooos Clooos closed this as completed May 10, 2025
@Clooos Clooos reopened this May 10, 2025
@Clooos
Copy link
Owner

Clooos commented May 11, 2025

Hi! The new beta is out, let me know if everything works! 🤞

https://github.com/Clooos/Bubble-Card/releases/tag/v3.0.0-beta.6

@Clooos Clooos changed the title Beta-5 Fails to render dashboard on Crestron Devices v3.0.0-beta.5/6 fails to render dashboard on some devices May 12, 2025
@Clooos Clooos mentioned this issue May 12, 2025
@Clooos
Copy link
Owner

Clooos commented May 12, 2025

It was confirmed that v3.0.0-beta.6 is not fixing this. Can anyone check in the Home Assistant logs, you should have some errors from the frontend, can you send me these logs? You should see bubble-card.js in these. With v3.0.0-beta.6 installed of course 🙂

@MarqBarq
Copy link
Author

I will try today. I cannot get Beta 6 to install. I can get 4, but when I go to get 6 it loads 2.x. I have done the trick of changing the dashboard resource, but nothing I am doing is giving me 6. May try to install it manually.

@Clooos
Copy link
Owner

Clooos commented May 12, 2025

Check the solutions here, one of them should works 🙂

#1351

@MarqBarq
Copy link
Author

Clooos I have done that no less than 10 times. Sometimes I get the BC error missing as discussed in #1351, and others 2.x.
I even Including removing the BC, and added rebooting HA, before the reinstall. Came back and have 2.x. I will have to try again later today.

@Clooos
Copy link
Owner

Clooos commented May 12, 2025

Could you by any chance provide these logs to the HACS developer? It would help him understand what's going wrong, prevent many users from running into the same issue again, and save me from having to share this link every time someone encounters it 😄 I can't reproduce the problem myself, so your help would be really appreciated!

@MarqBarq
Copy link
Author

Clooos I have spent 2 hours trying to get this to install. I followed the link above and added the debug message to my config yaml. No matter how I do this, if I go for Beta-6 I get 2.x and I see nothing from HACS in the Core Log (if I should look somewhere else, please let me know.)

The only thing I see in the core logs related to BC is
2025-05-12 16:03:44.409 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.bubble_card_modules exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored

@Clooos
Copy link
Owner

Clooos commented May 12, 2025

Have you tried to remove this sensor? Then restart Home Assistant, create it again, then restart again?

@MarqBarq
Copy link
Author

I did the above and do not see the error. I went to reinstall BC this is what is in the log (not sure it helps at all, but)

This was there 30 times

2025-05-12 17:03:41.221 DEBUG (MainThread) [aiogithubapi] 'GitHubBaseUserModel' is missing key 'user_view_type' for <class 'str'>

And this is the rest.

2025-05-12 17:03:41.236 DEBUG (MainThread) [aiogithubapi] 'GitHubBaseUserModel' is missing key 'user_view_type' for <class 'str'> 2025-05-12 17:03:44.384 DEBUG (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Getting hacs.json for version=v3.0.0-beta.6 2025-05-12 17:03:44.384 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/Clooos/Bubble-Card/v3.0.0-beta.6/hacs.json 2025-05-12 17:03:44.479 INFO (MainThread) [custom_components.hacs] Starting download, v3.0.0-beta.6 2025-05-12 17:03:44.481 INFO (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Running pre installation steps 2025-05-12 17:03:44.481 INFO (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Pre installation steps completed 2025-05-12 17:03:44.481 INFO (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Running installation steps 2025-05-12 17:03:44.481 DEBUG (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Getting repository information 2025-05-12 17:03:44.589 DEBUG (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Did not update, content was not modified 2025-05-12 17:03:44.590 DEBUG (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Local path is set to /config/www/community/Bubble-Card 2025-05-12 17:03:44.590 DEBUG (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Remote path is set to dist 2025-05-12 17:03:44.590 DEBUG (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Version to install: v3.0.0-beta.6 2025-05-12 17:03:44.590 DEBUG (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> bubble-card.js 2025-05-12 17:03:44.591 DEBUG (MainThread) [custom_components.hacs] <QueueManager> Checking out tasks to execute 2025-05-12 17:03:44.591 DEBUG (MainThread) [custom_components.hacs] <QueueManager> Starting queue execution for 3 tasks 2025-05-12 17:03:44.592 DEBUG (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Downloading bubble-card.js 2025-05-12 17:03:44.592 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/Clooos/Bubble-Card/v2.4.0/dist/bubble-card.js 2025-05-12 17:03:44.594 DEBUG (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Downloading bubble-card.js.LICENSE.txt 2025-05-12 17:03:44.594 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/Clooos/Bubble-Card/v2.4.0/dist/bubble-card.js.LICENSE.txt 2025-05-12 17:03:44.596 DEBUG (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Downloading bubble-pop-up-fix.js 2025-05-12 17:03:44.596 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/Clooos/Bubble-Card/v2.4.0/dist/bubble-pop-up-fix.js 2025-05-12 17:03:44.689 INFO (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Download of bubble-card.js completed 2025-05-12 17:03:44.689 INFO (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Download of bubble-card.js.LICENSE.txt completed 2025-05-12 17:03:44.697 INFO (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Download of bubble-pop-up-fix.js completed 2025-05-12 17:03:45.698 DEBUG (MainThread) [custom_components.hacs] <QueueManager> Queue execution finished for 3 tasks finished in 1.11 seconds 2025-05-12 17:03:45.699 INFO (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Installation steps completed 2025-05-12 17:03:45.699 INFO (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Running post installation steps 2025-05-12 17:03:45.700 INFO (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Adding dashboard resource /hacsfiles/Bubble-Card/bubble-card.js?hacstag=6801129193006 2025-05-12 17:03:45.701 INFO (MainThread) [custom_components.hacs] <Plugin Clooos/Bubble-Card> Post installation steps completed 2025-05-12 17:03:45.734 INFO (MainThread) [homeassistant.components.update] Setting up hacs.update 2025-05-12 17:03:45.759 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new update.hacs entity: update.bubble_card_update 2025-05-12 17:03:45.828 DEBUG (MainThread) [custom_components.hacs] <HacsData async_write> Saving data

@MarqBarq
Copy link
Author

@Clooos
Copy link
Owner

Clooos commented May 13, 2025

Thank you so much for the logs! I've sent them to the HACS dev, and he's asking a question, can you answer him directly? 🙂

hacs/integration#4501 (comment)

@julien94800
Copy link

I have this issue too, but not with all devices. Basically I get this error with "old versions" of browser (on an old Mac that I cannot upgrade). As soon as I use a computer or phone up to date, I don't get this issue anymore.
And yes, it appeared before last HA release, and started with beta 5

@Clooos
Copy link
Owner

Clooos commented May 13, 2025

That's nice actually! You could probably help me since you can reproduce this on a desktop computer (this is also possible on a tablet, but a bit more complicated), could you send me the logs you see in your Mac browser console? If you don't know how to do that, check on Google with the name of your browser.

You should see errors from bubble-card.js 🤞

@julien94800
Copy link

Im trying.... but as the browser get stucked its a bit difficult 😬

@Clooos
Copy link
Owner

Clooos commented May 13, 2025

Can you try to first display the console on page where there is no Bubble Cards?

@julien94800
Copy link

Image
Is this any of interest for you?

@Clooos
Copy link
Owner

Clooos commented May 13, 2025

Anything in the "real" console? 😄

Image

@julien94800
Copy link

I have the page blocked and the console free right now on my computer, but I'm not sure about where to look for any potential errors... Maybe a sharing screen session could help you?

@julien94800
Copy link

Image
In the console tab it's full empty (i cleared it just before opening the page that create the issue)

@Clooos
Copy link
Owner

Clooos commented May 13, 2025

Damn! 😅 That's a serious freeze, and sharing your screen wouldn’t helps.

Can you check in your Home Assistant logs (System > Logs)? 🤞

@julien94800
Copy link

When I try with chrome, nothing in log...
I tried with safari, and then I get this in HA logs

Enregistreur: frontend.js.legacy.202505090
Source: components/system_log/init.py:331
S'est produit pour la première fois: 17:49:47 (2 occurrences)
Dernier enregistrement: 17:52:01

Uncaught error from Safari 13.1.2 on macOS 10.13.6 SyntaxError: The string did not match the expected pattern. matches ([native code]::) handleEvent (focus-ring.ts:83:45)

@Clooos
Copy link
Owner

Clooos commented May 13, 2025

Nothing related to Bubble Card sadly.

Could you try to create a new view with only one Bubble Card? This way it will maybe not freeze too much 🤞

@julien94800
Copy link

julien94800 commented May 13, 2025

From Safari Console I get this, but not sure it can help....

[Error] SyntaxError: Unexpected token '=' (x3)
[Error] SyntaxError: Unexpected token '=' (x2)
[Error] Unhandled Promise Rejection: http://192.168.0.121:8123/hacsfiles/hassio-trash-card/trashcard.js?hacstag=678764124247
[Error] Unhandled Promise Rejection: http://192.168.0.121:8123/hacsfiles/my-harmony-card/my-harmony-card.js?hacstag=8129167961410
[Error] Unhandled Promise Rejection: http://192.168.0.121:8123/hacsfiles/lovelace-navbar-card/navbar-card.js?hacstag=871106499070
[Error] Unhandled Promise Rejection: http://192.168.0.121:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=6801129193056
[Error] Unhandled Promise Rejection: http://192.168.0.121:8123/hacsfiles/status-card/status-card.js?hacstag=878557286210
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (image.camera_cabane_jardin_event_image, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (image.camera_arriere_maison_event_image, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (image.camera_abris_bois_event_image, line 0)
[Error] Unhandled Promise Rejection: RangeError: minimumFractionDigits is out of range
	(fonction anonyme)
	rejectPromise
	promiseReactionJob
[Error] Unhandled Promise Rejection: RangeError: minimumFractionDigits is out of range
	(fonction anonyme) (app.8872948204c092c6.js:73:393931)
	asyncFunctionResume
	(fonction anonyme)
	promiseReactionJobWithoutPromise
[Error] Unhandled Promise Rejection: RangeError: minimumFractionDigits is out of range
	performUpdate (app.8872948204c092c6.js:73:394735)
	(fonction anonyme) (app.8872948204c092c6.js:73:393991)
	asyncFunctionResume
	(fonction anonyme)
	promiseReactionJobWithoutPromise
[Error] Unhandled Promise Rejection: RangeError: minimumFractionDigits is out of range
	(fonction anonyme) (app.8872948204c092c6.js:73:393931)
	asyncFunctionResume
	(fonction anonyme)
	promiseReactionJobWithoutPromise
[Error] Unhandled Promise Rejection: RangeError: minimumFractionDigits is out of range
	performUpdate (app.8872948204c092c6.js:73:394735)
	(fonction anonyme) (app.8872948204c092c6.js:73:393991)
	asyncFunctionResume
	(fonction anonyme)
	promiseReactionJobWithoutPromise
[Error] Unhandled Promise Rejection: RangeError: minimumFractionDigits is out of range
	(fonction anonyme) (app.8872948204c092c6.js:73:393931)
	asyncFunctionResume
	(fonction anonyme)
	promiseReactionJobWithoutPromise
[Error] Unhandled Promise Rejection: RangeError: minimumFractionDigits is out of range
	performUpdate (app.8872948204c092c6.js:73:394735)
	(fonction anonyme) (app.8872948204c092c6.js:73:393991)
	asyncFunctionResume
	(fonction anonyme)
	promiseReactionJobWithoutPromise
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (core.js, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (utils.js, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (index.js, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (tslib.es6.mjs, line 0)
[Error] Unhandled Promise Rejection: RangeError: minimumFractionDigits is out of range
	(fonction anonyme) (app.8872948204c092c6.js:73:393931)
	asyncFunctionResume
	(fonction anonyme)
	promiseReactionJobWithoutPromise
[Error] SyntaxError: The string did not match the expected pattern.
	matches (89978.7c80336a02bccf38.js:2:20432)
	handleEvent (89978.7c80336a02bccf38.js:2:20432)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (focus-ring.ts, line 0)
[Error] Unhandled Promise Rejection: RangeError: minimumFractionDigits is out of range
	(fonction anonyme) (app.8872948204c092c6.js:73:393931)
	asyncFunctionResume
	(fonction anonyme)
	promiseReactionJobWithoutPromise
[Error] Unhandled Promise Rejection: RangeError: minimumFractionDigits is out of range
	performUpdate (app.8872948204c092c6.js:73:394735)
	(fonction anonyme) (app.8872948204c092c6.js:73:393991)
	asyncFunctionResume
	(fonction anonyme)
	promiseReactionJobWithoutPromise
[Error] Unhandled Promise Rejection: RangeError: minimumFractionDigits is out of range
	(fonction anonyme) (app.8872948204c092c6.js:73:393931)
	asyncFunctionResume
	(fonction anonyme)
	promiseReactionJobWithoutPromise
[Error] Unhandled Promise Rejection: RangeError: minimumFractionDigits is out of range
	performUpdate (app.8872948204c092c6.js:73:394735)
	(fonction anonyme) (app.8872948204c092c6.js:73:393991)
	asyncFunctionResume
	(fonction anonyme)
	promiseReactionJobWithoutPromise
[Error] Unhandled Promise Rejection: RangeError: minimumFractionDigits is out of range
	(fonction anonyme) (app.8872948204c092c6.js:73:393931)
	asyncFunctionResume
	(fonction anonyme)
	promiseReactionJobWithoutPromise
[Error] Unhandled Promise Rejection: RangeError: minimumFractionDigits is out of range
	performUpdate (app.8872948204c092c6.js:73:394735)
	(fonction anonyme) (app.8872948204c092c6.js:73:393991)
	asyncFunctionResume
	(fonction anonyme)
	promiseReactionJobWithoutPromise
[Error] SyntaxError: The string did not match the expected pattern.
	matches (89978.7c80336a02bccf38.js:2:20432)
	handleEvent (89978.7c80336a02bccf38.js:2:20432)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (tslib.es6.mjs, line 0)
```

@julien94800
Copy link

Nothing related to Bubble Card sadly.

Could you try to create a new view with only one Bubble Card? This way it will maybe not freeze too much 🤞

Even with only this it freeze....

Image

@julien94800
Copy link

If it can help you reproducing.... It is with Chrome Version 116.0.5845.187 (Build officiel) (x86_64)

@Clooos
Copy link
Owner

Clooos commented May 13, 2025

Installing that version was the real challenge, my Mac just wouldn’t cooperate 🫠 So thank goodness I had a Windows VM.

I instantly got the same issue, and then, unbelievably, I spotted the cause on my very first try! 🥳

I will try to release a new version tomorrow 😄

@julien94800
Copy link

Installing that version was the real challenge, my Mac just wouldn’t cooperate 🫠 So thank goodness I had a Windows VM.

I instantly got the same issue, and then, unbelievably, I spotted the cause on my very first try! 🥳

I will try to release a new version tomorrow 😄

Wooow!!! Great!!! By curiosity, did you succeeded to find something in console?
Btw.... you just break one of my main reason to buy a new Mac! 😅

@Clooos
Copy link
Owner

Clooos commented May 13, 2025

Nothing in the console as well, instant freeze.

And this is "funny" because this was caused by a fix I did to improve compatibility with older browsers 🫠

@julien94800
Copy link

Good to know! At least I was not missing something and making you lost time!
Thanks a lot @Clooos
Really good job, as usual! 👏

@Clooos
Copy link
Owner

Clooos commented May 13, 2025

And thanks to you as well! This issue was very difficult to understand without any logs, but the fact I could reproduce it helped a lot!

@deergitseason
Copy link

Hello, I just wanted to say that I (finally) got 3.0b6 running, and I have the same exact problem. Running Fully Kiosk browser on Fire HD10. Reverting back to 2.4 fixes the issue.

There is no issue with any of my other browsers (companion app, mac firefox/chrome, etc)

@Clooos
Copy link
Owner

Clooos commented May 14, 2025

Like I said above, this issue is fixed on my side, just wait for the next beta 🙂

Clooos added a commit that referenced this issue May 14, 2025
- [x] v3.0.0-beta.5/6 fails to render dashboard on some devices #1461 #1462 #1476
- [x] Light slider with hold to slide (default new behavior) are now limited to min 1%, to turn it off, just tap on the card. You can change that in the editor, or in YAML with `allow_light_slider_to_0: true`. #1295
- [x] Bubble backdrop color no longer works as expected #1294
- [x] Relative time formatting inconsistent with Home Assistant #1228
- [x] [3.0.0-beta.6] Slider doesnt work as expected, when entity step size is not 1 #1478
- [x] Slider does not update for brightness if adjusted outside of the card after being adjusted in the card #1367
- [x] Inconsistent and / or wrong color when using sub buttons on a slider #1448
- [x] All buttons are now hidden when a card’s entity is unavailable (like in a media player or cover card) #1453
@Clooos
Copy link
Owner

Clooos commented May 14, 2025

The new beta is here! 😄

https://github.com/Clooos/Bubble-Card/releases/tag/v3.0.0-beta.7

@julien94800
Copy link

The new beta is here! 😄

https://github.com/Clooos/Bubble-Card/releases/tag/v3.0.0-beta.7

I confirm that it works back for me!!!!
Merci!!!! (Même si j'ai craqué pour un ordi plus récent quand même) 🙃

@Clooos
Copy link
Owner

Clooos commented May 14, 2025

Thank you for the quick feedback and enjoy your new computer! 😄

@MarqBarq
Copy link
Author

Beta 7 is working perfectly Clooos! Thank you! If you are not supporting Clooos' work on Patron YOU SHOULD.

@Clooos
Copy link
Owner

Clooos commented May 16, 2025

You're welcome! 😄

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

5 participants