WebRelay input
Comments
-
Hi TSI,
There is a way to get the state of the WebRelay's input ports via a simple HTTP command (http://device-address/state.xml). So the best way to do this would be to create a short AppleScript that continually polls the device (say every 5 seconds) to check the state of the inputs, and if one is activated, it triggers SecuritySpy to start recording.
The only problem is that the input would have to be of a sufficient duration (significantly longer than the poll interval) for reliable triggering, and also there is going to be a bit of a delay built in. It's a pity the device doesn't seem to be able to trigger an HTTP command itself upon receiving an input, as this would have been a better solution.
Let me know if you need help putting together a script.

