Reolink and Sirens All at once

Post Reply
Bestbloke
Posts: 3
Joined: Tue Oct 24, 2023 12:27 pm

Reolink and Sirens All at once

Post by Bestbloke »

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
User avatar
TimG
Posts: 2391
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Reolink and Sirens All at once

Post by TimG »

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.
User avatar
TimG
Posts: 2391
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Reolink and Sirens All at once

Post by TimG »

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.
Bestbloke
Posts: 3
Joined: Tue Oct 24, 2023 12:27 pm

Re: Reolink and Sirens All at once

Post by Bestbloke »

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.
patrickm
Posts: 5
Joined: Tue Dec 05, 2023 2:51 pm

Re: Reolink and Sirens All at once

Post by patrickm »

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.
clachapelle
Posts: 2
Joined: Sat Jun 01, 2024 6:45 am

Re: Reolink and Sirens All at once

Post by clachapelle »

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>'
User avatar
Pogo
Posts: 528
Joined: Tue Jul 18, 2023 7:21 pm
Location: Reportedly in the Area

Re: Reolink and Sirens All at once

Post by Pogo »

How many threads are necessary for this?
Post Reply