So I use a Chromecast connected to my TV/Media center for speakers. When an event plays a file or uses TTS, it turns on the TV and receiver. Is there a way to get it to turn off?
Announcement
Collapse
No announcement yet.
Way to turn off a device connected to a Chromecast?
Collapse
X
-
Originally posted by Alconnell View PostSo I use a Chromecast connected to my TV/Media center for speakers. When an event plays a file or uses TTS, it turns on the TV and receiver. Is there a way to get it to turn off?
Another option is to use Logitech Harmony remote connected to HS to send OFF command after TTS (if you have one)
-
I'm wanting to do the same thing. I have your plugin stream a camera feed to my chromecasts which automatically turn on the TVs and then begin showing a camera. After 5 minutes, I stop the camera feed and then want to turn off the TV. Using google home, I can tell it to turn off the TV, so it would appear that there's some command that is available, just not sure if you can get to it or not.
Also, it would be nice to know if the TV is off or on. If it was already on when beginning the web url cast, I could turn off the TV if it was off before showing the camera. If the TV was already on, then I would leave it on after the camera feed was stopped.
Comment
-
Originally posted by slbuck View PostI'm wanting to do the same thing. I have your plugin stream a camera feed to my chromecasts which automatically turn on the TVs and then begin showing a camera. After 5 minutes, I stop the camera feed and then want to turn off the TV. Using google home, I can tell it to turn off the TV, so it would appear that there's some command that is available, just not sure if you can get to it or not.
Also, it would be nice to know if the TV is off or on. If it was already on when beginning the web url cast, I could turn off the TV if it was off before showing the camera. If the TV was already on, then I would leave it on after the camera feed was stopped.
Google continuously improve their API, problem is - there's no C# API for ChromeCast, so it's a lot of work to find out.
Regarding getting the status from TV is interesting, but don't see how. Possibly via CromeCast.
Comment
-
Originally posted by Alconnell View PostHmm I hadn't thought of Harmony and I do have one but stopped using it. Might be worth considering.
Comment
-
Originally posted by alexbk66 View Post
Do you know how Google Home turns off the TV? Via Chromecast?
Google continuously improve their API, problem is - there's no C# API for ChromeCast, so it's a lot of work to find out.
Regarding getting the status from TV is interesting, but don't see how. Possibly via CromeCast.
There's no technical, just general information on this page that describes how to do it from a consumer point of view. https://support.google.com/chromecas.../7498991?hl=en
Comment
-
Found this yesterday on Hackaday
BETTER CONTROLS FOR YOUR CHROMECAST THROUGH CEC
https://hackaday.com/2020/01/14/bett...t-through-cec/
Comment
-
Originally posted by drhtmal View PostFound this yesterday on Hackaday
BETTER CONTROLS FOR YOUR CHROMECAST THROUGH CEC
https://hackaday.com/2020/01/14/bett...t-through-cec/
"It also sends shutdown commands to the attached TV when Chromecast goes into its idle state, saving energy. It relies on the PyChromecast library to intercept traffic on the network, and thus send the appropriate commands to other hardware."
Comment
-
Originally posted by slbuck View Post"It also sends shutdown commands to the attached TV when Chromecast goes into its idle state, saving energy. It relies on the PyChromecast library to intercept traffic on the network, and thus send the appropriate commands to other hardware."
Comment
-
Originally posted by drhtmal View PostFound this yesterday on Hackaday
BETTER CONTROLS FOR YOUR CHROMECAST THROUGH CEC
https://hackaday.com/2020/01/14/bett...t-through-cec/
Comment
-
Originally posted by alexbk66 View Post
I don't think this is of much use. It's not sending commands to Chromecast - it runs on Raspberry PI (Linux, using libcec) connected to the TV via HDMI.
Comment
Comment