Announcement

Collapse
No announcement yet.

How to turn off Chromecast enabled TV

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to turn off Chromecast enabled TV

    I use "Cast Media" Chromecast Plug-In action that turns ON my Chromecast enabled TV ( Sony Bravia) and streams media. So far so good.
    However I need to turn it OFF after 30 seconds. How do I do that ?

    I tried "STOP" Application. It stops the media stream but TV remains ON. How do I turn OFF the TV ? Same TV can be turned off by any other Chromecast device but I can't figure it out how to do it from Chromecast PI.

    #2
    I don't think this PI can currently do that. I'm not sure what mechanism is allowing for that. Does the TV appear as a regular Chromecast device inside Google Home, or something different?

    I use Infrared control (via Harmony Hubs) plus the MediaController plugin to control my LG WebOS TVs.
    HS4, Insteon, Z-wave, USB-UIRT, Harmony Hubs, Google Hub/Chromecasts/Speakers, Foscam & Amcrest cameras, EZVIZ DB1 doorbell
    Plugins: BLLAN, BLOccupied, BLUSBUIRT, Chromecast, Harmony Hub, Insteon, Jon00 Homeseer/Echo Skill Helper, Harmony Hub, Jon00 DB Charting, MediaController, NetCAM, PHLocation2, Pushover 3P, weatherXML, Z-wave

    Comment


      #3
      Yes, TV is visible from GH Assistant and all GH devices can turn it on/off by voice.

      I do similar IR things like you do for other older equipment such as Roku, BenQ TV Projector, Yamaha Audio amplifier etc.

      My Sony Bravia TV however is newer 2022 model and totally IP enabled so there is no sense to go trough the hassles of IR with line of sight etc.

      Fortunately I found a way as Sony has published their API.

      I'm using Big6 plug-in to HTTP POST this message to TV that does the trick. Tons of other features covered by the API but this is all I need for now.

      Code:
      {  "method": "setPowerStatus",     "id": 55,     "params": [{"status": false}],     "version": "1.0" }

      Comment


        #4
        Sweet! Good on Sony. Thanks for sharing.
        HS4, Insteon, Z-wave, USB-UIRT, Harmony Hubs, Google Hub/Chromecasts/Speakers, Foscam & Amcrest cameras, EZVIZ DB1 doorbell
        Plugins: BLLAN, BLOccupied, BLUSBUIRT, Chromecast, Harmony Hub, Insteon, Jon00 Homeseer/Echo Skill Helper, Harmony Hub, Jon00 DB Charting, MediaController, NetCAM, PHLocation2, Pushover 3P, weatherXML, Z-wave

        Comment

        Working...
        X