ha-fusion icon indicating copy to clipboard operation
ha-fusion copied to clipboard

FR: Adding support for casting to Google Hubs

Open b0mbays opened this issue 1 year ago • 1 comments

Hi, first off - great addon. I really like how easy it is to use and look forward to future updates!

I've created an addon to continuously cast HA dashboards to Google Hub devices and i'd love to get Fusion supported too. I can cast Fusion to my hubs which is great but eventually the casting is stopped.

Currently the addon has a pre-requisite for ha-catt-fix which stops the timeout issue on the Hubs by adding a hidden Cast media player component and plays an image every 9 minutes. This will then cast to the device for the defined time with no issues once the script is added to the lovelace dashboard.

I was wandering if it'd be possible to add this for ha-fusion? I'm not too familiar with ts/js else I would give this a go myself.

Thanks so much!

b0mbays avatar Dec 31 '23 15:12 b0mbays

Have you tried adding ha-catt-fix to custom_javascript.js? It can be enabled in settings, the file is here:

docker ps -a | grep "ha-fusion"
docker exec -it addon_65f67727_ha_fusion bash
cd data
cat custom_javascript.js

screen

matt8707 avatar Jan 03 '24 23:01 matt8707