Pioneer AVR IP Control and Feedback
Posted: Sun Jan 18, 2015 6:52 pm
I've asked this question in another thread however it probably bests sits in its own thread for those out there who use Pioneer kit.
Basically I'm looking to build a function on my remote that will set a volume control subpage to enable me to control sound levels on either my TV (or later projector) or my PIONEER SC2025 AVR. I have the IP commands from Pioneer for the AVR which I am using to send commands but am a bit like a fish out of water when it comes to retrieving 2-way feedback data.
The way I'm thinking of doing it it to have a flag set that if the feedback from the AVR power state indicates that it is switched on it activates a subpage which uses the AVR volume controls and if it is set to off it instead uses the TV/Projector volume controls.
The question I have to ask is how do I set the app to listen for the power state feed back?
I know I need to send the AVR the command ?P and then receive the following commands:
pwr0 = on
pwr1 = off
depending on the power state.
Can someone tell me how I go about polling the AVR to query the power state and then use it to add a label based on the power state
Basically I'm looking to build a function on my remote that will set a volume control subpage to enable me to control sound levels on either my TV (or later projector) or my PIONEER SC2025 AVR. I have the IP commands from Pioneer for the AVR which I am using to send commands but am a bit like a fish out of water when it comes to retrieving 2-way feedback data.
The way I'm thinking of doing it it to have a flag set that if the feedback from the AVR power state indicates that it is switched on it activates a subpage which uses the AVR volume controls and if it is set to off it instead uses the TV/Projector volume controls.
The question I have to ask is how do I set the app to listen for the power state feed back?
I know I need to send the AVR the command ?P and then receive the following commands:
pwr0 = on
pwr1 = off
depending on the power state.
Can someone tell me how I go about polling the AVR to query the power state and then use it to add a label based on the power state