Delay with automation BIND call
Posted: 16 Sep 2013 14:07
Hi
I'm getting a strange delay when binding to a SwitchBinary.Set call.
I have bound a php script to a switch. The php script can be executed from a web browser or the command line. The phpscript has one line - a curl command to call Razberry to effect a different switch. I can call this script from the command line and the second switch is effected immediately.
Everything works with the BIND and I can call my script on the server when first switch state changes, however there is a delay of about 8 seconds from the time that my script sends the curl command to Razberry to the time Razberry excutes the command.
Can anyone explain why there is a difference here? Any idea why a script called from a BIND is 8 seconds slower than the same script called from a web browser or the command line?
I assume something in Razberry's automation engine is slowing it down.
I'm getting a strange delay when binding to a SwitchBinary.Set call.
I have bound a php script to a switch. The php script can be executed from a web browser or the command line. The phpscript has one line - a curl command to call Razberry to effect a different switch. I can call this script from the command line and the second switch is effected immediately.
Everything works with the BIND and I can call my script on the server when first switch state changes, however there is a delay of about 8 seconds from the time that my script sends the curl command to Razberry to the time Razberry excutes the command.
Can anyone explain why there is a difference here? Any idea why a script called from a BIND is 8 seconds slower than the same script called from a web browser or the command line?
I assume something in Razberry's automation engine is slowing it down.