For the pushover email, I am using the attach trigger leading edge image from alerts list
&ALERT_CLIP
macro in the pushover notification.&ALERT_CLIP
is just the database record for the clip in which the alert occurred.various alert macros for cam 'FD'...
ALERT_DB=@400613452
ALERT_PATH=FD.20220221_080000.734522.145-0.29874.0.jpg
ALERT_CLIP=@400322049
@400613452
JSclipstats~@400613452
Array
(
[camera] => FD
[path] => @400322049.bvr
[file] => FD.20220221_080000.734522.145-0.29874.0.jpg
[offset] => 734522
[date] => 1645459200
[color] => 9068350
[flags] => 1
[plate] =>
[res] => 1920x1080
[msec] => 734506
[alertmsec] => 0
[camprofile] => 5
[camschedule] => 1
[camsmart] => 2
[camzones] => 1
[campreset] => 2
[filesize] => 12m21s (118.4M)
[filetype] => bvr H264 New
)
@400613452
is located in clip @400322049.bvr
at offset 734522
.http://192.168.1.3:8600/file/clips/@400613452.bvr
... leading edge trigger image (from clip)http://192.168.1.3:8600/thumbs/@400613452
... database thumbnailhttp://192.168.1.3:8600/thumbs/@400613452
... database thumbnailhttp://192.168.1.3:8600/file/clips/@400613452.bvr
... leading edge trigger image (from clip)Action #1 - PS Script #1
File: D:\Blue Iris\Snapshots\replace_text.ps1
Parameters: $path = "D:\Blue Iris\Snapshots\grab_images.ps1"\n$word = "@"\n$replacement = "%%40"\n$text = get-content $path \n$newText = $text -replace $word,$replacement\n$newText > $path
Action #2 - PS Script #2
File: D:\Blue Iris\Snapshots\grab_images.ps1
Parameters: Invoke-WebRequest &LAN/file/clips/&ALERT_DB.bvr -OutFile "D:\Blue Iris\Snapshots\&CAM_leading_edge.jpg"\nInvoke-WebRequest &LAN/thumbs/&ALERT_DB -OutFile "D:\Blue Iris\Snapshots\&CAM_thumbnail.jpg"
Action #3 - Run script from Action #1
File: powershell.exe
Parameters: -File "D:\Blue Iris\Snapshots\replace_text.ps1"
Action #5 - Run script from Action #2
File: powershell.exe
Parameters: -File "D:\Blue Iris\Snapshots\grab_images.ps1"
I just went ahead and converted all 52 Blue Iris sounds to MP3 format.I use not-kiddin for the driveway stuff, I downloaded and use a Westminster chime for front door approaches, alarm frenzy for rear approaches and the doorbell for the doorbell camera.
Which way are you saving alert JPEGs?If you go in periodically and delete the files in the Alerts folder and then do a repair/regenerate, it will drop the clips count down by the number of files you deleted and keeps the thumbnail images. At least it did on my computer.
This behavior might be good to confirm with Ken… with a request to not make both approaches behave similarly in the future (i.e., handle thumbnails like the clips/archiving function).It seems like a manual delete of the Alerts files results in thumbnails staying. But using the clips/archiving function to delete Alerts wipes out the thumbnails.