Xbox One IP2IR Global Cache Commands

Using the Global Cache iLearn app and lots of trial and error, I’ve determined the Xbox One on and off commands. The on command is pretty straight forward while the off command took three separate commands which I separated with pauses. I’m using Cass Mieczakowski’s IR SmartApp to send these commands to my Global Cache IP2IR device. Big thanks to him for his help.

Reference Post: Any luck with iTach WF2IR?

Xbox Off:
def theCom1 = “sendir,1:1,1,38343,1,1,347,173,22,21,22,21,22,22,22,21,22,21,22,22,22,21,22,65,22,21,22,21,22,22,22,64,22,65,22,21,22,65,22,65,22,21,22,21,22,65,22,21,22,22,22,64,22,65,22,21,22,65,22,65,22,21,22,65,22,64,22,22,22,21,22,65,22,1631,347,86,22,3717,347,87,22,3712,347,86,22,3712,347,86,22,3712,347,87,22,3712,347,86,22,3712,347,87,22,3712,347,86,22,3712,347,86,22,3713\r"
def theCom2 = “sendir,1:1,1,38343,1,1,346,174,21,22,22,21,22,22,21,22,22,21,22,22,21,22,22,65,21,22,22,21,22,22,21,65,22,65,22,21,22,65,22,65,21,22,22,65,21,65,22,65,22,65,21,22,22,21,22,22,21,65,22,22,21,22,22,21,22,22,21,65,22,65,22,65,21,1631,347,87,21,3800\r"
def theCom3 = “sendir,1:1,1,38343,1,1,347,173,22,21,22,21,22,22,22,21,22,21,22,22,22,21,22,65,22,21,22,21,22,22,22,64,22,65,22,21,22,65,22,65,22,21,22,65,22,21,22,21,22,22,22,64,22,22,22,21,22,65,22,21,22,65,22,64,22,65,22,21,22,65,22,65,22,1630,347,87,21,3718,347,86,22,3712,348,86,22,3800\r"
sendHubCommand(new physicalgraph.device.HubAction(”””$theCom1\r\n""", physicalgraph.device.Protocol.LAN, “:1386”))
pause(2000)
sendHubCommand(new physicalgraph.device.HubAction("""$theCom2\r\n""", physicalgraph.device.Protocol.LAN, “:1386”))
pause(1000)
sendHubCommand(new physicalgraph.device.HubAction("""$theCom3\r\n""", physicalgraph.device.Protocol.LAN, “:1386”))

Xbox On:
def theCom = “sendir,1:1,5,38343,1,1,347,173,22,22,22,21,22,21,22,22,22,21,22,21,22,22,22,64,22,22,22,21,22,21,22,65,22,65,22,21,22,65,22,64,22,22,22,21,22,65,22,21,22,21,22,65,22,65,22,21,22,65,22,64,22,22,22,64,22,65,22,21,22,22,22,64,22,1632,347,87,22,3800\r"
sendHubCommand(new physicalgraph.device.HubAction(”""$theCom\r\n""", physicalgraph.device.Protocol.LAN, “:1386”))

I’ve also use the Alexa Helper to call these from my Amazon Echo. If anyone knows of any better sendir commands for Xbox One then please post them here. I’m sure there are some more exact commands out there somewhere, but these should work until then.

Jeff