ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Node-RED and Chromecast: How to Cast Video and Audio

Автор: KPeyanski

Загружено: 2020-02-26

Просмотров: 19480

Описание: I didn’t put my Google Chromecast to a good use lately, so I decided to drastically change that.
Google Chromecast - https://amzn.to/2VjLs2F
I wanted to find a way to #cast images or audio using #Node-RED and #Chromecast when something important happens in my Smart Home.
Fortunately I manage to find how to do that and now I’m about to show it to you in details.

The same approach can be applied to Google Home devices with or without display. Apparently If your device is without display like the Google Home mini, then you can only cast audio files.

But before you say:
“Kiril, I already can stream from my phone to my TV whenever I want, why are you wasting my time?“

Imagine the following scenario: Someone ring at your door and your TV is automatically displaying a security camera image – isn’t it priceless?

Node-RED 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 you can easily adapt this to your needs afterwards.

Really quick before we get into the article – I just want to say a huge thank you to our sponsor today, which it’s called: Smash That Subscribe Button if you haven’t done that already.

For real there is no sponsor, but if you just hit the Subscribe button that would be good enough for me – thank you.

So anyway if you have any of the Google Cast compatible devices, the only additional thing that you will need is Node-RED.

Node-RED install
You need Docker client to install Node-RED, if you already have working Node-RED you can skip this.

Go to https://docker.com 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 you install and run the Docker client you have to open a Terminal/Console and you just need to type the following command:

docker run -it -p 1880:1880 --name nodered nodered/node-red:latest

This roughly means: start a Docker container with the latest official Node-RED image and export the port 1880 to localhost.

Cast from Node-RED
Node-RED is up & running. Let’s import some flows now.

To do that go to “Manage Palette” in the Node-RED menu and search for “node-red-contrib-cast” or just “cast”

Click on the Install button in the lower right corner and wait for the process to finish.

Then you can grab one of the examples https://peyanski.com/node-red-and-chr... or from the GitHub page https://github.com/Hypnos3/node-red-c... of the project and import it in your Node-RED

The only thing that you have to change here is the IP, you have to type the IP of your Chromecast / Google Cast device :

The last thing before you can test it, you have to hit the “Deploy” button in the upper right and then click on the inject button.

If everything is configured properly – you should hear an audio record from your Google Cast device.

You can test the other examples as well and of course you can adapt them to suit your needs.

Check the Device Status
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 can understand the volume level, is device muted, is device currently playing any media and if yes – what exactly and so on and so on.

Question?
I would love to hear what are your ideas for a good 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 channel does really help out a lot with the YouTube algorithm, so make sure you hit the subscribe, Like and Bell buttons If you enjoy this video.

Also feel free to add me on Twitter by searching for @KPeyanski.

I really hope that you find this information useful and you now can cast video and audio from Node-RED to your Chromecast or Google Home devices .

Thank you for watching/reading, stay safe and see you next time.

My Sonoff Camera video -    • Sonoff Camera GK-200MP2-B integration with...  

DISCLAIMER
Some of the links above are affiliate links, where I earn a small commission if you click on the link and purchase an item. You are not obligated to do so, but it does help fund these videos in hopes of bringing value to you!

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Node-RED and Chromecast: How to Cast Video and Audio

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Shelly Plus 1PM, Home Assistant and Node-RED - Not another Sonoff vs Shelly video

Shelly Plus 1PM, Home Assistant and Node-RED - Not another Sonoff vs Shelly video

Ваш домашний помощник может ЭТО сделать?!

Ваш домашний помощник может ЭТО сделать?!

Безопасность SuiteCRM: двухфакторная аутентификация — как её настроить и как отключить.

Безопасность SuiteCRM: двухфакторная аутентификация — как её настроить и как отключить.

ESP32-CAM Video Streaming Camera that works with Node-RED and Home Assistant

ESP32-CAM Video Streaming Camera that works with Node-RED and Home Assistant

Google Assistant in NodeRED - NORA

Google Assistant in NodeRED - NORA

Лаврова 142 раза у Эпштейна. Трамп верит в Путина. Мы русские, с нами Си! Колесникова против Толокно

Лаврова 142 раза у Эпштейна. Трамп верит в Путина. Мы русские, с нами Си! Колесникова против Толокно

Ollama-HA Add-on is HERE! Complete Setup Guide + Local & Cloud AI Testing Live

Ollama-HA Add-on is HERE! Complete Setup Guide + Local & Cloud AI Testing Live

NodeRED: Washing Machine Notifications

NodeRED: Washing Machine Notifications

Reolink IP camera integration in Node-Red

Reolink IP camera integration in Node-Red

Node-Red on Android Blew my Mind

Node-Red on Android Blew my Mind

Home Assistant Remote Access for FREE - DuckDNS + LetsEncrypt + Single URL

Home Assistant Remote Access for FREE - DuckDNS + LetsEncrypt + Single URL

Object detection with ANY camera in Home Assistant - Tensorflow and DOODS

Object detection with ANY camera in Home Assistant - Tensorflow and DOODS

#255 Node-Red, InfluxDB, and Grafana Tutorial on a Raspberry Pi

#255 Node-Red, InfluxDB, and Grafana Tutorial on a Raspberry Pi

Ollama in Home Assistant: Everything You NEED to Know

Ollama in Home Assistant: Everything You NEED to Know

Node Red + Home Assistant 2022: начальный, продвинутый и экспертный уровни обнаружения движения и...

Node Red + Home Assistant 2022: начальный, продвинутый и экспертный уровни обнаружения движения и...

Home Assistant How To  - PythonADB & ADB server for Android TV/FireTV

Home Assistant How To - PythonADB & ADB server for Android TV/FireTV

Build a machine learning node for Node-RED using TensorFlow.js

Build a machine learning node for Node-RED using TensorFlow.js

Google Home with Home Assistant Local for FREE Without Subscription

Google Home with Home Assistant Local for FREE Without Subscription

Хватит платить за ChatGPT! Этот метод разблокирует его БЕСПЛАТНО в Home Assistant

Хватит платить за ChatGPT! Этот метод разблокирует его БЕСПЛАТНО в Home Assistant

Camera monitoring with Node Red

Camera monitoring with Node Red

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]