Jamison_IO Posted July 27, 2018 Posted July 27, 2018 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? Quote
firstone Posted July 27, 2018 Posted July 27, 2018 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. Quote
nathagt Posted July 30, 2018 Posted July 30, 2018 (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 July 30, 2018 by nathagt 1 Quote
Jamison_IO Posted September 21, 2018 Author Posted September 21, 2018 kind of late, but i wanted to say thanks - for some reason I did't have the notifications turned on for this. I will give it a try! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.