Edit an existing memo?

justin_144

n3wb
Joined
Oct 24, 2020
Messages
16
Reaction score
1
Location
USA
I am triggering a camera externally via the http API, and supplying a memo in the url. If I retrigger the camera with an updated memo, the memo does not change. Is there any way to update a memo when retriggering? I'm running version 5.5.1.15
 
Last edited:

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,680
Reaction score
14,041
Location
USA
I don't know the answer for sure. But from what I know about Blue Iris's clip database (where the memo is actually stored), it is probably not possible to edit memos once they have been written to the database file. Blue Iris doesn't use a true database engine, just some relatively primitive files, so it is very limited in its ability to go back and change things once written to disk. A variable-length field like a memo would be particularly hard to modify once it has been written to disk.
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,150
Reaction score
1,254
Location
SF Bay Area
I cannot reproduce what you observe.

If I wait until the prior trigger completes, the new alert always gets the new memo.

1665940320325.png

My test HTTP interface command, where N=1,2,... on repeat commands
/admin?camera=DW1&trigger&memo=my%20textN
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,150
Reaction score
1,254
Location
SF Bay Area
Here's the latest alert's memo after using the context menu command (right-click 'Edit Memo')

1665940531947.png
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,150
Reaction score
1,254
Location
SF Bay Area
@justin_144

After more testing I think I may understand what you are seeing...
If I send the retrigger command BEFORE the prior trigger completes, then the prior trigger terminates early, keeping the original memo.

To demonstrate, here's a screenshot after I sent 5 consecutive external trigger commands. Note that this created only 4 alerts

For the first 3, I waited until the trigger completed before retriggering with a new memo (note the '20 sec' durations).

For the 4th, I did not wait to send the 5th: /admin?camera=DW1&trigger&memo=my%20text5

Note that there is no 5th alert. Also that the duration is shorter for the 4th alert (8 sec), and the memo is unchanged,

1665942581963.png

Here's my Trigger tab settings
1665943123651.png

EDIT: For completeness, I thought I'd share the relevant entries in the logfile.
Note that there is no entry for the 5th command... 'my text5'

1665944013671.png
 
Last edited:

justin_144

n3wb
Joined
Oct 24, 2020
Messages
16
Reaction score
1
Location
USA
Right, by “retrigger”, I mean sending another trigger while the previous trigger is still active. Odd, in my version of BI, a retrigger does not end my existing trigger. It just extends the existing trigger, as I expect, but the updated memo does not change.

I did see that change log that you had mentioned, which is why I was hoping it would be possible in a later version of Blue Iris.
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,150
Reaction score
1,254
Location
SF Bay Area
You might want to experiment with the ONVIF trigger commands... updated in v5.0.7 - December 15, 2019

From the help pdf...

1665947938050.png
 

justin_144

n3wb
Joined
Oct 24, 2020
Messages
16
Reaction score
1
Location
USA
Hmm, not ideal that I would have multiple alert list images, but I think I could make that work. I’ll play around with that later. Thanks for the suggestion!
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,150
Reaction score
1,254
Location
SF Bay Area
The help.pdf has more on the EXTERNAL vs ONVIF options in the 'Triggering and Motion Detection' chapter...

1665949030499.png
 

justin_144

n3wb
Joined
Oct 24, 2020
Messages
16
Reaction score
1
Location
USA
FYI, playing around with it some more, I've noticed that if I add the "flagalert=-1" parameter, I can change a memo on a retrigger. If the camera is not already triggered, it changes the memo of the last alert.
 
Top