Page 1 of 1

Dashticz - Module - Chromecast

Posted: Friday 10 November 2017 17:33
by aiolos
I started using the dashticz screen a while ago, and missed an easy way to cast directly to my chromecast audio. So I created a module, highly inspired by the streamplayer that is already integrated (it uses even the same streams from the config)

It looks like this:
Screen Shot 2017-11-10 at 16.25.01.png
Screen Shot 2017-11-10 at 16.25.01.png (159.91 KiB) Viewed 4410 times
The play button is changed to the default cast button from google. When clicking on it, the default casting screen from chrome pops up, where you can select the available chromecasts in your network. The arrows on the left let you select the streams, on the right side the volume buttons are available.

The block is available as 'chromecast' in the config, for example

Code: Select all

columns[3]['blocks'] = ['chromecast'];
The code is available on github: https://github.com/aiolos/dashticz_v2/tree/chromecast

Rob, I can make a pull request to integrate it, just let me know. It might need some tweaks for the sizes of the elements, since I use dashticz in portrait, so only one column.

Re: Dashticz - Module - Chromecast

Posted: Saturday 11 November 2017 15:52
by robgeerts
Thanks for your efforts!!
You can create a pull request on the beta branch!

Re: Dashticz - Module - Chromecast

Posted: Sunday 12 November 2017 15:09
by freakshock
Nice addon! Works great on Chrome but unfortunately not on the browser app I use on my tablet (Fully Kiosk Browser). Does it only support chrome?

Re: Dashticz - Module - Chromecast

Posted: Sunday 12 November 2017 15:23
by aiolos
I guess it only works in Chrome, since that natively supports casting. I have not really looked into support on other browsers. I also noticed that if you add a direct link to the page on the home screen, the browser first needs to be started.

Re: Dashticz - Module - Chromecast

Posted: Wednesday 15 November 2017 12:12
by gijsje
Works great even on the google home
Thanks

Re: Dashticz - Module - Chromecast

Posted: Tuesday 06 February 2018 21:23
by H0ppie
Works great in my desktop browser!

Would be so great if Spotify could be connected to this. :oops:

Re: Dashticz - Module - Chromecast

Posted: Friday 09 November 2018 23:31
by EdwinK
Screen Shot 2018-11-09 at 23.31.06.png
Screen Shot 2018-11-09 at 23.31.06.png (111.61 KiB) Viewed 2221 times
Only got this block to show

Re: Dashticz - Module - Chromecast

Posted: Wednesday 28 August 2019 17:08
by marcom
EdwinK wrote: Friday 09 November 2018 23:31 Screen Shot 2018-11-09 at 23.31.06.pngOnly got this block to show
Hi Edwin, did you (or anybody else) ever managed to get this working?
I have the same problem as you described..
Been searching now for over 2 hours but couldn't find a solution...

code used in config.js is:
Spoiler: show
columns[2] = {}
columns[2]['blocks'] = [frames.weather,'chromecast',calendars.afval]
columns[2]['width'] = 5;
Thanks in advance,
Marcom
Capture.JPG
Capture.JPG (13.08 KiB) Viewed 1602 times

Re: Dashticz - Module - Chromecast

Posted: Saturday 21 September 2019 23:38
by jaaap
Same here, I have no idea how to get this to work. Anybody got a working setup and is willing to share how you did it?