Axis M7014 feedback
Posted: Mon Nov 04, 2013 4:34 pm
Hi, I'm hoping someone can help me with this as its driving me potty!
Basically, as with the example on the forum using an Aviosys 9100, I use an axis M7014 connected to my sky box and pull images from it that are displayed. I've been trying to find a way for Demopad to know the current power status of the sky box. Because sky won'rt release API and I can't find how to do this using IP commands to the sky box (which I know it does because the most recent update of the box and sky+ app pulls data from the sky box including power status), I had a brainwave that I could poll the axis to see whether it is receiving video on the input the sky box is connected to and sure enough, there is a command that can be sent - http://<axisusername>:<axispassword>@<axisipaddress>/axis-cgi/videostatus.cgi?status=1 This is sent as <send data to a website> on page load. The response is Video 1 = video or Video 1 = no video and I know this works because this is displayed when I put http://<axisusername>:<axispassword>@<axisipaddress>/axis-cgi/videostatus.cgi?status=1 directly into a browser. I thought it would be straight forwards to set up a 2-way feedback matching <feedback matches specific data> with the date as Video 1 = video and then having to actions to set SkyPowerOn to ON and SkyPowerOff to OFF and the associated image is turned on. Equally, I had data as Video 1 = no video and then having to actions to set SkyPowerOn to OFF and SkyPowerOff to ON and the associated image is turned on. But it doesn't work
I've tried various device response terminators including \xOD, >, \r, \r\n etc etc and I can't get my head around regex.
Any help would really be appreciated
Thanks, Chris


I've tried various device response terminators including \xOD, >, \r, \r\n etc etc and I can't get my head around regex.
Any help would really be appreciated

Thanks, Chris