So I’ve had my HASS turning on my TV through chromecast as part of my morning automation. one thing that I wanted to do is get away from the standard “welcome to home assistant” background and set up my own.
I was able to do that by going to the cast.py in the components section and replacing the CAST_SPLASH variable from the standard ‘https://home-assistant.io/images/cast/splash.png’ to ‘http://www.flabber.nl/sites/default/files/archive/files/in-117-jaar-wordt-wereldbevolking-van-6-miljard-gerecycled.jpg’.
I could even get a gif like this: http://forum.ucweb.com/data/attachment/forum/201212/27/165045phvyk2uj2uhixkat.gif
I did have to change something in the media.py file inside the pychromecast dependency:
def play_media(self, url, content_type, title=None, thumb=None,
current_time=0, autoplay=True,
stream_type=STREAM_TYPE_BUFFERED,
metadata=None, subtitles=None, subtitles_lang=‘en-US’,
subtitles_mime=‘text/vtt’, subtitle_id=1):
became
def play_media(self, url, content_type, title=None, thumb=None,
current_time=0, autoplay=True,
stream_type=STREAM_TYPE_LIVE,
metadata=None, subtitles=None, subtitles_lang=‘en-US’,
subtitles_mime=‘text/vtt’, subtitle_id=1):
And BOOM!! gif on my tv! (my girlfriend loves pugs so that’s why I used that one)
Now for my main question: is there a way to have a website display instead of a picture or gif? I tried with something simple like google.com and it wouldn’t work, it would just display the cast icon.
I see this as a potential “summary of your day” on the TV type thing where you have time, weather, and anything else that might be useful to you displayed on the big screen as a part of a morning automation.
Any tips or tricks would be much appreciated!!