I have a Sony STR-DA5600ES receiver which is network connected. Through Sony's (terrible) iOS or Android app, when I adjust the volume (either via the app or via my IP2IR Global Cache device) I can see the volume setting (ie; -10, -13.5, -20, etc...) on the Sony app. What I'd like to do is see that via the DemoPad interface and not a separate app when I adjust the volume from my controls (controlling the IP2IR). Does anyone know the codes, URL, whatever... I would need to use to see the volume setting from the receiver?
Also, I have a DirecTV receiver that I would like to get the channel info from within the DP app as well, but in a 'formatted' look. Right now, I've put a web page on my DirecTV panel that shows the JSON info in native form; (http://10.10.10.50:8080/tv/getTuned) gives me:
{
"callsign": "NFLHD",
"duration": 14400,
"isOffAir": false,
"isPclocked": 3,
"isPpv": false,
"isRecording": false,
"isVod": false,
"major": 212,
"minor": 65535,
"offset": 11878,
"programId": "9213947",
"rating": "No Rating",
"startTime": 1368626400,
"stationId": 3900923,
"status": {
"code": 200,
"commandResult": 0,
"msg": "OK.",
"query": "/tv/getTuned"
},
"title": "NFL AM"
}
I'd like to extract the "callsign", "title", and "major" info from that and display it on my panel. Any ideas?
Thanks in advance for the info.
Sony & DirecTV status assistance
Re: Sony & DirecTV status assistance
Ok - for the 2nd part, you can create a device at 10.10.10.50 port 8080 and send a http GET request command eg
GET /tv/getTuned HTTP/1.0\x0D\x0A
Then in the 2-way feedback module you can use a regular expression to extract the data you want, for example:
"callsign": "(.*)",
extracted to a label should give you NFLHD, which you can display on screen with an object text linked to that label.
See http://www.demopad.com/forum/viewtopic.php?f=7&t=17
You'll probably want either \x0A or \x0D as the response terminator for the device.
GET /tv/getTuned HTTP/1.0\x0D\x0A
Then in the 2-way feedback module you can use a regular expression to extract the data you want, for example:
"callsign": "(.*)",
extracted to a label should give you NFLHD, which you can display on screen with an object text linked to that label.
See http://www.demopad.com/forum/viewtopic.php?f=7&t=17
You'll probably want either \x0A or \x0D as the response terminator for the device.