DTH for Netflix - working
DTH for Youtube - working
DTH for HDMI and WIDI - Working
Ok guys I’ve got a DTH that turns on netflix, but I can’t for the life of me figure out the turn on and off of the tv.
This request is a TCP request, where you just send the ascii packet. I was hoping of using the WOL but no luck, and neither is the HTTP request I used for netflix. See below for the code I’m trying.
def on() {
log.debug "Executing ‘off’"
def result = new physicalgraph.device.HubAction(“1012”, physicalgraph.device.Protocol.LAN, “${state.tv_ip}:${tv_port}”)
log.debug result.toString()
sendHubCommand(result);
}
Any tips?
Thanks
Bal