I just upgraded from BI3 to BI 4 on a Windows 10 machine. I was having no trouble running a script from the camera alert configuration in BI 3. After upgrading to BI 4, the script is no longer activated when the camera is triggered. I have tried using the "Test" button from the "Configure Run Alert" window. The script will not run that way either. The script is a Windows Batch File. I can double-click the script file itself and it executes perfectly. The code looks like this:
ECHO OFF
ECHO "Setting Sony SNC-RX570 Camera to Preset 2 then to Preset 1"
:: This batch program is triggered by Blue Iris when motion is detected on CAM5
:: The program commands the SONY SNC-RX570 camera to go to Preset 2 and pause for 5 seconds
:: Preset 2 is the Worship Center view
:: The program then commands the SONY SNC-RX570 to go back to Preset 1 which is the normal parking lot view
callurl http://192.168.1.202/command/presetposition.cgi?PresetCall=2,30
sleep 5
callurl http://192.168.1.202/command/presetposition.cgi?PresetCall=1,30
exit
The script (Preset2 Preset1.bat) is located at C:\Camera Scripts
Callurl.exe and sleep.exe are located located at C:\Windows\System32.
Operating System: Windows 10 Home 64-bit Operating System, x64-based Processor
Notes:
1. I had to install BI4 as 32-bit since some of my cameras require Vitamin Control
2. I am not running 3rd party Antivirus, just Windows Defender. I tried with Windows Defender turned off and that didn't help.
3. I tried with Windows Firewall turned off and that didn't help.
4. I am running Blue Iris as a service.
ECHO OFF
ECHO "Setting Sony SNC-RX570 Camera to Preset 2 then to Preset 1"
:: This batch program is triggered by Blue Iris when motion is detected on CAM5
:: The program commands the SONY SNC-RX570 camera to go to Preset 2 and pause for 5 seconds
:: Preset 2 is the Worship Center view
:: The program then commands the SONY SNC-RX570 to go back to Preset 1 which is the normal parking lot view
callurl http://192.168.1.202/command/presetposition.cgi?PresetCall=2,30
sleep 5
callurl http://192.168.1.202/command/presetposition.cgi?PresetCall=1,30
exit
The script (Preset2 Preset1.bat) is located at C:\Camera Scripts
Callurl.exe and sleep.exe are located located at C:\Windows\System32.
Operating System: Windows 10 Home 64-bit Operating System, x64-based Processor
Notes:
1. I had to install BI4 as 32-bit since some of my cameras require Vitamin Control
2. I am not running 3rd party Antivirus, just Windows Defender. I tried with Windows Defender turned off and that didn't help.
3. I tried with Windows Firewall turned off and that didn't help.
4. I am running Blue Iris as a service.
Last edited: