Dashticz - Module - Chromecast

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

Post Reply
aiolos
Posts: 129
Joined: Sunday 13 September 2015 18:58
Target OS: Raspberry Pi
Domoticz version: stable
Location: Sale, UK
Contact:

Dashticz - Module - Chromecast

Post by aiolos » Friday 10 November 2017 18:33

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 1777 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.
Contributor to Dashticz
More on my Github profile

User avatar
robgeerts
Posts: 1233
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Chromecast

Post by robgeerts » Saturday 11 November 2017 16:52

Thanks for your efforts!!
You can create a pull request on the beta branch!
Creator of Dashticz
Do you appreciate my work and want to buy me a beer?
Send:
- XVG to D8fwNbyV6YxJk1aSiXftWTtdaPipsKn2Fa
- ANY ERC20-TOKEN to 0x9b8ee84329d77765a28bca188218c6c793875a8a

or donate via PayPal: https://www.paypal.me/robgeerts

freakshock
Posts: 75
Joined: Friday 14 April 2017 13:39
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Module - Chromecast

Post by freakshock » Sunday 12 November 2017 16:09

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?

aiolos
Posts: 129
Joined: Sunday 13 September 2015 18:58
Target OS: Raspberry Pi
Domoticz version: stable
Location: Sale, UK
Contact:

Re: Dashticz - Module - Chromecast

Post by aiolos » Sunday 12 November 2017 16:23

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.
Contributor to Dashticz
More on my Github profile

User avatar
gijsje
Posts: 147
Joined: Saturday 19 August 2017 14:28
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: Berkel Enschot, NL
Contact:

Re: Dashticz - Module - Chromecast

Post by gijsje » Wednesday 15 November 2017 13:12

Works great even on the google home
Thanks
Synology DS218+ - RFXtrx433 - Aeotec Z-Stick Gen5 - Toon Thermostat - Neo CoolCam plug - Neo CoolCam PIR - FIBARO PIR - Heiman Smart Smoke Senso - Neo CoolCam Leakage Detector - BeNext Tag Reader - P1 and S0 USB - many Mi-Light lights - KAKU switches

H0ppie
Posts: 2
Joined: Wednesday 07 June 2017 17:06
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Module - Chromecast

Post by H0ppie » Tuesday 06 February 2018 22:23

Works great in my desktop browser!

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

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest