Can I Cast Youtube Red To Chromecast Audio
Final updated on August 5th, 2020 at 09:12 am
Hey,
I wanted to observe a way to bandage images or audio using Node-Red and Chromecast when something important happens in my Smart Home.
I didn't put my Google Chromecast to a skilful utilize lately, and then I decided to drastically alter that.
Fortunately I manage to find how to do that and now I'm about to prove it to y'all in details.
The aforementioned approach can exist practical to Google Dwelling devices with or without display. Apparently If your device is without display like the Google Home mini, then you lot can only cast audio files.
But earlier you say:
"Kiril, I already can stream from my telephone to my TV whenever I want, why are you wasting my time?"
Imagine the post-obit scenario: Someone band at your door and your Tv set is automatically displaying a security camera image – isn't information technology priceless?
Node-Carmine and Chromecast
The possibilities for a trigger of the cast are basically endless. They are depending of your needs and available sensors in your Smart Home.
I will focus more on the Chromecast and Node-RED integration, but yous can easily adapt this to your needs after.
Really quick before nosotros become into the article – I but want to say a huge thanks to our sponsor today, which it'due south called: Blast That Subscribe Button if you haven't done that already.
For real there is no sponsor, but if y'all just hit the Subscribe button that would exist skillful plenty for me – thanks.
So anyhow if you have whatever of these Google devices,
| Chromecast | Android Television devices | Soundbars and speakers |
|---|---|---|
| Starting time generation (video) | Nexus Player | Google Home |
| Second generation (video) | Nvidia Shield | Vizio |
| Third generation (video) | Xiaomi MiBox | Sony |
| Chromecast Audio | Vizio televisions | LG |
| Chromecast Ultra | Sharp televisions | Philips |
| Sony televisions | B&O Play | |
| Toshiba televisions | Grundig | |
| Philips televisions | Polk Audio | |
| Blindside & Olufsen | ||
| Raumfeld | ||
| Brookstone | ||
| NAD | ||
| Onkyo | ||
| Integra | ||
| Pioneer | ||
| Riva Wand | ||
| Grace Digital | ||
| Jensen | ||
| JBL |
the only additional thing that you will need is Node-Cherry-red.
Node-RED install
Yous need Docker customer to install Node-Crimson, if y'all already accept working Node-RED yous can go direct to the Cast from Node-RED department.
Become to docker website and download the client for your Operating System.
For MacOS, the running Docker client is looking like this. Windows client is pretty similar. You should see the green dot.
After y'all install and run the Docker client you accept to open a Terminal/Console and yous just demand to type the following control:
docker run -it -p 1880:1880 --proper noun nodered nodered/node-ruddy:latest
This roughly means: start a Docker container with the latest official Node-Reddish image and consign the port 1880 to localhost.
Bandage from Node-Red
Node-Red is up & running. Let's import some flows now.
To do that go to "Manage Palette" in the Node-Carmine carte du jour and search for "node-crimson-contrib-cast" or just "bandage"
Click on the Install button in the lower right corner and wait for the process to finish.
Then y'all can take hold of one of the examples (like the one below) from the GitHub page of the project and import it in your Node-Ruby
[{"id":"8d9663a.05e27a","type":"cast-to-client","z":"d900d7d9.c4c498","name":"","url":null,"contentType":"","message":nothing,"linguistic communication":"en","ip":"","port":"","book":goose egg,"x":590,"y":200,"wires":[["b885e401.447548"]]},{"id":"6faf449b.c11efc","blazon":"inject","z":"d900d7d9.c4c498","proper name":"","topic":"","payload":"","payloadType":"engagement","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":160,"y":200,"wires":[["23bdf480.46b85c"]]},{"id":"23bdf480.46b85c","type":"change","z":"d900d7d9.c4c498","name":"","rules":[{"t":"set up","p":"ip","pt":"msg","to":"192.168.i.125","tot":"str"},{"t":"set","p":"message","pt":"msg","to":"Subscribe for Kiril'southward newsletter","tot":"str"},{"t":"set up","p":"language","pt":"msg","to":"En-gb","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":380,"y":200,"wires":[["8d9663a.05e27a"]]},{"id":"b885e401.447548","blazon":"debug","z":"d900d7d9.c4c498","name":"","agile":truthful,"tosidebar":truthful,"console":false,"tostatus":simulated,"complete":"false","10":790,"y":200,"wires":[]},{"id":"9a5a2ce.5ae7ed","blazon":"comment","z":"d900d7d9.c4c498","name":"say a text","info":"","ten":120,"y":160,"wires":[]}]
The only affair that you have to modify here is the IP, you have to type the IP of your Chromecast / Google Cast device :
The last thing earlier you can examination it, yous have to hit the "Deploy" button in the upper right and then click on the inject button.
If everything is configured properly – you lot should hear an audio record from your Google Bandage device.
You can test the other examples besides and of grade yous can arrange them to suit your needs.
Check the Device Condition
The other thing that could be very useful for your Smart Home Automation is checking the current status of the Chromecast / Google Cast device.
You tin sympathise the volume level, is device muted, is device currently playing any media and if yeah – what exactly and so on and so on.
To attain this, merely import the post-obit instance and modify the IP with yours afterwards:
[{"id":"82e3c67a.27b218","blazon":"bandage-to-client","z":"c4dd07cf.84ae98","proper name":"","url":"","contentType":"","bulletin":"","linguistic communication":"en","ip":"192.168.ane.125","port":"","volume":"","x":490,"y":220,"wires":[["6bc79592.92574c"]]},{"id":"a5bddaf0.4e9578","type":"inject","z":"c4dd07cf.84ae98","name":"","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":simulated,"onceDelay":0.1,"ten":110,"y":220,"wires":[["82e3c67a.27b218"]]},{"id":"6bc79592.92574c","type":"debug","z":"c4dd07cf.84ae98","name":"","agile":true,"tosidebar":true,"console":imitation,"tostatus":false,"complete":"false","x":710,"y":220,"wires":[]}]
Question?
I would dearest to hear what are your ideas for a skilful use of this Chromecast and Node-RED collaboration – let me know your answers in the comments section below.
Support my work
Any sort of engagement on this aqueduct does really aid out a lot with the YouTube algorithm, so make certain you hit the subscribe, Like and Bong buttons If you relish this video.
Besides feel free to add me on Twitter past searching for @KPeyanski.
I really hope that y'all observe this information useful and you now can cast video and sound from Node-RED to your Chromecast or Google Home devices .
Thanks for watching/reading, stay safe and run into you next time.
Source: https://peyanski.com/node-red-and-chromecast-how-to-cast-video-and-audio/
Posted by: marcucciancessitere.blogspot.com

0 Response to "Can I Cast Youtube Red To Chromecast Audio"
Post a Comment