Hi Guys,
I'm going to fit some reolink duo 2's to a school building, is there anyway to use blue iris to set all the sirens off at once for a lockdown alarm?
Best
Reolink and Sirens All at once
Re: Reolink and Sirens All at once
What would be the trigger for a lockdown ? BI5 can switch a usb relay board when triggered, but what are you looking for ?
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
Problem ? Ask and we will try to assist, but please check the Help file.
Re: Reolink and Sirens All at once
Ah, a built in siren for each camera. I think that would require an external command. If you can find what that is, then it could be possible, although I would be looking at MQTT commands from home automation. Have a look if the Home Assistant crew have already found a way to do it. Experimentation
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
Problem ? Ask and we will try to assist, but please check the Help file.
Re: Reolink and Sirens All at once
Hi Tim, so if a receptionist of a school gets a lockdown or a pressure situation they can just press a button on Blue iris and trigger the sirens of all the cameras so everyone knows to come inside or out/depending.
Re: Reolink and Sirens All at once
I've had some delay issues using BI to control at least the PTZ on my Reolink cameras (I'm sure its a setup issue on my part or a Reolink issue). I've found the Reolink integration in Home Assistant works very well to control Reolink cameras. I have one that rotates a PTZ camera when a contact sensor from a gate in my fence opens and it works instantly. Also have one to disable all the push notifications when landscapers come by and it seems to work instantly across all 14 cameras.
-
- Posts: 2
- Joined: Sat Jun 01, 2024 6:45 am
Re: Reolink and Sirens All at once
Powershell cmd triggering an AI enabled Reolink camera Siren/AudioAlarm:
Invoke-WebRequest -Method Post -Uri 'http://<ipaddress>/cgi-bin/api.cgi?user=admin&password=<password>' -UseBasicParsing -Body '[{"cmd":"AudioAlarmPlay","action": 0, "param": {"alarm_mode": "times", "manual_switch": 1, "times": 1, "channel": 0}}]'
Save this to a .ps1 file, and can be run from camera Alert / On alert... / Run a program (or anywhere):
Program = powershell.exe
Parameters = -f <full path>\<filename.ps1> like -f C:\BlueIris\Scripts\PlayAudioAlarm.ps1
IMPORTANT:
Powershell cmd getting Reolink camera AI configuration; required for triggering Siren/AudioAlarm from a web request:
Invoke-WebRequest -Method Post -Uri 'http://<ipaddress>/cgi-bin/api.cgi?cmd=GetAICfg&user=admin&password=<password>'
Invoke-WebRequest -Method Post -Uri 'http://<ipaddress>/cgi-bin/api.cgi?user=admin&password=<password>' -UseBasicParsing -Body '[{"cmd":"AudioAlarmPlay","action": 0, "param": {"alarm_mode": "times", "manual_switch": 1, "times": 1, "channel": 0}}]'
Save this to a .ps1 file, and can be run from camera Alert / On alert... / Run a program (or anywhere):
Program = powershell.exe
Parameters = -f <full path>\<filename.ps1> like -f C:\BlueIris\Scripts\PlayAudioAlarm.ps1
IMPORTANT:
Powershell cmd getting Reolink camera AI configuration; required for triggering Siren/AudioAlarm from a web request:
Invoke-WebRequest -Method Post -Uri 'http://<ipaddress>/cgi-bin/api.cgi?cmd=GetAICfg&user=admin&password=<password>'
Re: Reolink and Sirens All at once
How many threads are necessary for this?