[SOLVED] How to play alert sound when BI is running as a service

Post Reply
smirkingman
Posts: 1
Joined: Thu Jan 07, 2021 11:02 am

[SOLVED] How to play alert sound when BI is running as a service

Post by smirkingman »

Alert sounds don't play when BI is running as a service, which is reasonable, there's no UI displayed.
To play a sound from BI as a service, create a DOORBELL.BAT file with this line in it:

Code: Select all

powershell -c (New-Object System.Media.SoundPlayer 'C:\Program Files\Blue Iris 5\sounds\doorbell.wav').PlaySync();
Then, in Camera Settings->Alerts->On Alert->Run a program or script->File->path-to-your-doorbell.bat

HTH
Post Reply