stestagg / dashcast

Chromecast app for displaying dashboard pages
MIT License
141 stars 40 forks source link

Cast is during 10min and close... #12

Open ysoudy opened 3 years ago

ysoudy commented 3 years ago

Hi,

I tried this wonderful package to cast a custom dashboard to my Google Nest Hub. But the cast is streaming during 10min.. and close it :(

Do you have any solution ?

timbo1437 commented 3 years ago

I was running into the same issue. In the Google Docs it says you can use disableIdleTimeout. So I am trying this:

window.castReceiverManager.start({statusText: "Application is starting", disableIdleTimeout: true});

Good luck.

ysoudy commented 3 years ago

Where Should I add this line ?

I download the github zip from dashcast, and add it without any change

timbo1437 commented 3 years ago

Replace line 163 in receiver.html with the above. I am not 100% sure that it works, but according to the docs it should.

JmactheAttack commented 3 years ago

@timbo1437 did this fix work for you? I started to implement CATT for webpages on a few home hubs and ran into the timeout problems too. Recasting based on a timer isn't ideal. I'm curious if the timeout option worked out well for you.

maxi1134 commented 3 years ago

Did anyone tried the Line 163 trick?

swiergot commented 2 years ago

I did, no luck. I have a fix for Home Assistant here:

https://github.com/swiergot/ha-catt-fix

Fixing it for any website casted with CATT/DashCast will require some changes to both.