@ALERT_PATH has old data

Post Reply
ZSasha
Posts: 8
Joined: Thu Jul 27, 2023 11:29 am

@ALERT_PATH has old data

Post by ZSasha »

Hi guys,

wondering if someone else came across this strange problem.
I setup a script to send me an alarm and the picture that triggered the alarm via pushover (following published manual here).
Occasionally I hit this problem - when the camera sees something it send a notification with the correct date/time but the picture it attaches is from the old alarm.
To debug this further I also run a simple .bat file that saves the current date, time and value of @ALERT_PATH into a txt file.

Todat I got a notification saying that camera "vigigarage" deteced "nothing" at 11:44:26.821
This message indeed was delivered at 11:44 but the image that it had attached was taken two days ago!

I checked my debug file and found this:

Code: Select all

"New run at:" 
Sun 03/09/2023 
11:44
Got argument:C:\BlueIris\Alerts\vigigarage.20230901_180409.0.3-1.jpg 
===================================== 
"New run at:" 
Sun 03/09/2023 
13:40
Got argument:C:\BlueIris\Alerts\vigigarage.20230903_114426.0.3-1.jpg 
===================================== 
In this particular instance when it was triggered at 11:44 the content of @ALERT_PATH was taken from a few days ago - 20230901_180409
However when it was triggered the second time - the content of @ALERT_PATH was set from the previous event - 20230903_114426 (exactly 11:44:26)

I can confirm I have "Hi-Res JPEG files" option selected when triggered.

Did I just miss something, any option I need to select/check/tick?


I am pretty much ready to write another script that would capture the image directly from BI URL but it won't have an overlay with marked movement I guess.

Thank you!!
ZSasha
Posts: 8
Joined: Thu Jul 27, 2023 11:29 am

Re: @ALERT_PATH has old data

Post by ZSasha »

So - no ideas? Anyone, please?

Here is what I got today:
Screenshot_20230909-152108.jpg
Screenshot_20230909-152108.jpg (191.76 KiB) Viewed 2368 times
Three separate alerts.
Each alert has a picture from the previous alert so like @ALERT_PATH was updated either after the alert was sent or with some delay.
It was NOT a delay in deliverying the notification - timestamp on the notification matches the time when it arrived.

Here are my settings for this camera - maybe you could spot some obvious mistake I made?:
01.jpg
01.jpg (71.09 KiB) Viewed 2368 times
02.jpg
02.jpg (106.35 KiB) Viewed 2368 times
ZSasha
Posts: 8
Joined: Thu Jul 27, 2023 11:29 am

Re: @ALERT_PATH has old data

Post by ZSasha »

04.jpg
04.jpg (57.37 KiB) Viewed 2368 times
03.jpg
03.jpg (67.18 KiB) Viewed 2368 times
Email alerts come with perfectly correct pictures.
User avatar
TimG
Posts: 2098
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: @ALERT_PATH has old data

Post by TimG »

I'm afraid it's one for Support, but - is the old image the latest jpg image for that camera found in that C:\BlueIris\Alerts\vigigarage folder when this happens ?
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
IAmATeaf
Posts: 466
Joined: Mon Jun 17, 2019 7:48 pm

Re: @ALERT_PATH has old data

Post by IAmATeaf »

Do you guys save images in trigger? I used to ages ago but then found 10s of thousands of image in the designated folder so unticked the option for all my cams.

What is the benefit of saving a trigger image?
User avatar
Pogo
Posts: 396
Joined: Tue Jul 18, 2023 7:21 pm
Location: Reportedly in the Area

Re: @ALERT_PATH has old data

Post by Pogo »

TimG wrote: Sat Sep 09, 2023 9:19 am I'm afraid it's one for Support...
Or a careful review of the script.
Post Reply