greenscreen icon indicating copy to clipboard operation
greenscreen copied to clipboard

Reloading means rebooting and reconnecting…?

Open julienbechade opened this issue 10 years ago • 7 comments

Hey,

Great work! We're using it extensively at my company, the set up was a breeze, works seamlessly.

There's something though I haven't quite figured out yet… How to reload a page without rebooting and reconnecting the Chromecast key? When we work on apps displayed on screen, we push new things quite often. Having to reboot and reconnect every time we want to see a new version is quite cumbersome.

Or did I miss something?

Thanks again for all the hard work! Cheers.

julienbechade avatar Dec 03 '14 08:12 julienbechade

If you're using Greenscreen to display a web page- why not simply include a meta refresh in the web page to automatically refresh every minute or something?

If you're talking about the receiver app itself- you would need to stop casting- then start casting again with the new app.

Can you clarify your requirements?

sirket avatar Dec 03 '14 20:12 sirket

Ok, you pretty much answered my question.

I thought there was perhaps a hidden feature that could allow you to reload the "feed" casted to the receiver without refreshing the page with HTML nor JS… Stop/start casting hasn't work for me so far, instead I need to reboot and reconnect. Strange enough.

Thanks for your help.

julienbechade avatar Dec 04 '14 08:12 julienbechade

You could also try switching the channel you display to that particular Chromecast and then switch it back- that also works for me.

sirket avatar Dec 04 '14 13:12 sirket

Yes, that worked for us too.

julienbechade avatar Dec 04 '14 14:12 julienbechade

We're using greenscreen to cast a bunch of kibana dashboards to TVs in our office. This works great except every day we need to manually switch the channel back and forth to get the dashboards to update. Unfortunately we can't add meta refresh to the web page. Would love it if this were one day added as a feature to greenscreen!

jamesmason84 avatar Feb 19 '15 22:02 jamesmason84

Also when switching channel to try to refresh the page, the cache is sometimes so persistent that we need to reboot the keys anyway… How do you guys do at Groupon to work with dynamic data, do you use socket or something?

julienbechade avatar Mar 04 '15 08:03 julienbechade

Hey Everyone,

I too am a kibana4 user, and was kind of sad that there wasn't an easy way to setup auto refreshing. So I made a simple iframe wrapper page that makes it easy to wrap pages that you want to watch with a refresh.

You can find the code in this gist: https://gist.github.com/jakedahn/dc4abac68cbb30fb1e64/

Additionally you can test it out by going to here: http://publichosting.s3.amazonaws.com/greenscreen-passthrough.html?target_url=http%3A%2F%2Fjake.ai

To change the refresh rate (default is 5 minutes), you can add an extra get param like so: http://publichosting.s3.amazonaws.com/greenscreen-passthrough.html?target_url=http%3A%2F%2Fjake.ai&refresh_rate=3

/cc @julienbechade @jamesmason84 @sirket

jakedahn avatar Apr 02 '15 23:04 jakedahn