I'm sure people have run into this before, but i'm having problems trying to find detailed information on how to make this happen.
My client wants the polycom to turn on when the activity button is selected (push polycom button, it turns on tv, polycom, etc) Polycom however, has a power toggle for the IR command not a power on or power off command. So I need to run a query to make sure the system is on or off before issuing the power toggle command. This is the only way I know how to tell the system status, through rs232 I can get these replies:
testlan ping 188.8.131.52: passed = 1; failed = 0 <-this means power is on and do nothing
testlan ping 184.108.40.206: passed = 0; failed = 1 <-this means power is off and unit must be powered on
I would like, hopefully with some pictures, to see an example of what this conditional query and command would look like. If anyone could help I would be greatly appreciative!