Jump to content

ISY / ECHO / Android TV


Recommended Posts

Posted

Hi- 

i would like to incorporate turning my TV on and off into a vacation program. 

The Sony TV has Google TV and I can control on/off with the Echo. “Alexa, turn the TV off.”

Is there any way to control the TV with the ISY either directly to Google TV or via the Echo?

 

 

Posted

I do not believe it's possible to control Alexa skills from ISY. I think you best bet would be to find some network resources that can control Sony TV specifically or go with some for of IR control.

Posted (edited)

Yeah, you can do this assuming you mean Android TV when you say Google TV. There are some steps involved and you'll need to be able to set up network resources on the ISY to issue the commands to the TV, it won't be Alexa, but the results are the same. 

 

1) Register your ISY with Android TV by creating a network resource with the follwoing

  • http
  • POST
  • {IP Address}
  • 80 (port)
  • /sony/accessControl (path)
  • 500 (timeout)
  • Raw Text (mode)
  • Body
{"id":13,"method":"actRegister","version":"1.0","params":[{"clientid":"ISY:1","nickname":"ISY"},[{"clientid":"ISY:1","value":"yes","nickname":"ISY","function":"WOL"}]]}

 

2) On your TV you should see some popup asking you to confirm and set a passcode. You'll need this to issue commands to the TV. There may be a time limit so do it quick. 

3) Once you get that set up, just create additional resources to control whatever functions you want. Here is what I'm using to issue commands

  • http
  • POST
  • {IP Address}
  • 80 (port)
  • /sony/IRCC (path)
  • 1000 (timeout)
  • Raw Text (Mode)

I'm using the following headers

  • X-AUTH-PSK: 0000 (whatever 4-digit passcode you set up on the TV)
  • SOAPACTION: "urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"

Body

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
    xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
    s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <s:Body>
    <u:X_SendIRCC xmlns:u="urn:schemas-sony-com:service:IRCC:1">
      <IRCCCode>AAAAAQAAAAEAAAAuAw==</IRCCCode>
    </u:X_SendIRCC>
  </s:Body>
</s:Envelope>

The <IRCCCode> block is the actual command being sent (TV on in the example above). Here are some other commands that I've found.

PowerOff="AAAAAQAAAAEAAAAvAw==",
["PowerOn"]="AAAAAQAAAAEAAAAuAw==",
["VolumeUp"]="AAAAAQAAAAEAAAASAw==",
["VolumeDown"]="AAAAAQAAAAEAAAATAw==",
["Mute"]="AAAAAQAAAAEAAAAUAw==",
["Input"]="AAAAAQAAAAEAAAAlAw==",
["GGuide"]="AAAAAQAAAAEAAAAOAw==",
["EPG"]="AAAAAgAAAKQAAABbAw==",
["Favorites"]="AAAAAgAAAHcAAAB2Aw==",
["Display"]="AAAAAQAAAAEAAAA6Aw==",
["Home"]="AAAAAQAAAAEAAABgAw==",
["Options"]="AAAAAgAAAJcAAAA2Aw==",
["Return"]="AAAAAgAAAJcAAAAjAw==",
["Up"]="AAAAAQAAAAEAAAB0Aw==",
["Down"]="AAAAAQAAAAEAAAB1Aw==",
["Right"]="AAAAAQAAAAEAAAAzAw==",
["Left"]="AAAAAQAAAAEAAAA0Aw==",
["Confirm"]="AAAAAQAAAAEAAABlAw==",
["Red"]="AAAAAgAAAJcAAAAlAw==",
["Green"]="AAAAAgAAAJcAAAAmAw==",
["Yellow"]="AAAAAgAAAJcAAAAnAw==",
["Blue"]="AAAAAgAAAJcAAAAkAw==",
["Num1"]="AAAAAQAAAAEAAAAAAw==",
["Num2"]="AAAAAQAAAAEAAAABAw==",
["Num3"]="AAAAAQAAAAEAAAACAw==",
["Num4"]="AAAAAQAAAAEAAAADAw==",
["Num5"]="AAAAAQAAAAEAAAAEAw==",
["Num6"]="AAAAAQAAAAEAAAAFAw==",
["Num7"]="AAAAAQAAAAEAAAAGAw==",
["Num8"]="AAAAAQAAAAEAAAAHAw==",
["Num9"]="AAAAAQAAAAEAAAAIAw==",
["Num0"]="AAAAAQAAAAEAAAAJAw==",
["Num11"]="AAAAAQAAAAEAAAAKAw==",
["Num12"]="AAAAAQAAAAEAAAALAw==",
["Tv"]="AAAAAQAAAAEAAAAkAw==",
["Hdmi1"]="AAAAAgAAABoAAABaAw==",
["Hdmi2"]="AAAAAgAAABoAAABbAw==",
["Hdmi3"]="AAAAAgAAABoAAABcAw==",
["Hdmi4"]="AAAAAgAAABoAAABdAw==",
["Google"]="AAAAAgAAAMQAAAA7Aw==",
["ActionMenu"]="AAAAAgAAAMQAAABLAw==",
["ChannelUp"]="AAAAAQAAAAEAAAAQAw==",
["ChannelDown"]="AAAAAQAAAAEAAAARAw==",
["SubTitle"]="AAAAAgAAAJcAAAAoAw==",
["ClosedCaption"]="AAAAAgAAAKQAAAAQAw==",
["Enter"]="AAAAAQAAAAEAAAALAw==",
["DOT"]="AAAAAgAAAJcAAAAdAw==",
["Analog"]="AAAAAgAAAHcAAAANAw==",
["Teletext"]="AAAAAQAAAAEAAAA/Aw==",
["Exit"]="AAAAAQAAAAEAAABjAw==",
["Analog2"]="AAAAAQAAAAEAAAA4Aw==",
["AD"]="AAAAAgAAABoAAAA7Aw==",
["Digital"]="AAAAAgAAAJcAAAAyAw==",
["Analog"]="AAAAAgAAAJcAAAAuAw==",
["BS"]="AAAAAgAAAJcAAAAsAw==",
["CS"]="AAAAAgAAAJcAAAArAw==",
["BSCS"]="AAAAAgAAAJcAAAAQAw==",
["Ddata"]="AAAAAgAAAJcAAAAVAw==",
["PicOff"]="AAAAAQAAAAEAAAA+Aw==",
["Tv_Radio"]="AAAAAgAAABoAAABXAw==",
["Theater"]="AAAAAgAAAHcAAABgAw==",
["SEN"]="AAAAAgAAABoAAAB9Aw==",
["InternetWidgets"]="AAAAAgAAABoAAAB6Aw==",
["InternetVideo"]="AAAAAgAAABoAAAB5Aw==",
["Netflix"]="AAAAAgAAABoAAAB8Aw==",
["SceneSelect"]="AAAAAgAAABoAAAB4Aw==",
["Mode3D"]="AAAAAgAAAHcAAABNAw==",
["iManual"]="AAAAAgAAABoAAAB7Aw==",
["Audio"]="AAAAAQAAAAEAAAAXAw==",
["Wide"]="AAAAAgAAAKQAAAA9Aw==",
["Jump"]="AAAAAQAAAAEAAAA7Aw==",
["PAP"]="AAAAAgAAAKQAAAB3Aw==",
["MyEPG"]="AAAAAgAAAHcAAABrAw==",
["ProgramDescription"]="AAAAAgAAAJcAAAAWAw==",
["WriteChapter"]="AAAAAgAAAHcAAABsAw==",
["TrackID"]="AAAAAgAAABoAAAB+Aw==",
["TenKey"]="AAAAAgAAAJcAAAAMAw==",
["AppliCast"]="AAAAAgAAABoAAABvAw==",
["acTVila"]="AAAAAgAAABoAAAByAw==",
["DeleteVideo"]="AAAAAgAAAHcAAAAfAw==",
["PhotoFrame"]="AAAAAgAAABoAAABVAw==",
["TvPause"]="AAAAAgAAABoAAABnAw==",
["KeyPad"]="AAAAAgAAABoAAAB1Aw==",
["Media"]="AAAAAgAAAJcAAAA4Aw==",
["SyncMenu"]="AAAAAgAAABoAAABYAw==",
["Forward"]="AAAAAgAAAJcAAAAcAw==",
["Play"]="AAAAAgAAAJcAAAAaAw==",
["Rewind"]="AAAAAgAAAJcAAAAbAw==",
["Prev"]="AAAAAgAAAJcAAAA8Aw==",
["Stop"]="AAAAAgAAAJcAAAAYAw==",
["Next"]="AAAAAgAAAJcAAAA9Aw==",
["Rec"]="AAAAAgAAAJcAAAAgAw==",
["Pause"]="AAAAAgAAAJcAAAAZAw==",
["Eject"]="AAAAAgAAAJcAAABIAw==",
["FlashPlus"]="AAAAAgAAAJcAAAB4Aw==",
["FlashMinus"]="AAAAAgAAAJcAAAB5Aw==",
["TopMenu"]="AAAAAgAAABoAAABgAw==",
["PopUpMenu"]="AAAAAgAAABoAAABhAw==",
["RakurakuStart"]="AAAAAgAAAHcAAABqAw==",
["OneTouchTimeRec"]="AAAAAgAAABoAAABkAw==",
["OneTouchView"]="AAAAAgAAABoAAABlAw==",
["OneTouchRec"]="AAAAAgAAABoAAABiAw==",
["OneTouchStop"]="AAAAAgAAABoAAABjAw==",
["DUX"]="AAAAAgAAABoAAABzAw==",
["FootballMode"]="AAAAAgAAABoAAAB2Aw==",
["Social"]="AAAAAgAAABoAAAB0Aw=="}

 

Edited by nathagt
  • Like 1
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...