5.7.5 - April 20, 2023 - Onvif updates

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
2,046
Reaction score
950
I'll try and see tomorrow, thanks!
I just tested and it's working on a cloned camera. The odd thing is that I have to select "Clone Master" on the cloned camera in order for ONVIF GetEvents to report as okay. I've told Ken about that, so right now that one camera is designated as clone master for the actual master and the clone. This isn't ideal since it's using additional bandwidth.

Camera IVS Event and cloned camera settings
1682426985212.png
1682427042930.png
1682427024100.png
1682427062709.png
 
Last edited:

JL-F1

Getting the hang of it
Joined
Jun 12, 2020
Messages
119
Reaction score
73
Location
USA
Working with the default events or with Brunokiwi custom added events? and what camera?

Thank you
 

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
2,046
Reaction score
950
Working with the default events or with Brunokiwi custom added events? and what camera?

Thank you
I'm using the default events plus the two @brunokiwi events shown below. One thing I can't figure out is how to see the trigger clips in the iOS app. They show up in UI3 when I view "New" or "All" clips. Can't seem to find that view on the mobile app.
1682445904950.png
1682445923101.png
1682445938415.png
 

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
2,046
Reaction score
950
So 5.7.5.4 got the 180 camera to start recognizing external alerts, but the 5442 still no joy.
It also corrected the issue I reported where "GetEvents" wouldn't work on a cloned camera unless you selected "Clone Master".
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,980
Reaction score
48,716
Location
USA
The bruno hack does work on the 5442 though. Not sure what that means for all the other options that are there to customize
 

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
2,046
Reaction score
950
The bruno hack does work on the 5442 though. Not sure what that means for all the other options that are there to customize
Yes, I'm using that hack and allows it to work for me. This is how it looks in my log for the 5442 camera I'm testing with.

Status/log shows the events:
0 4/26/2023 4:24:09.909 PM Driveway_AI ONVIF Trigger: RuleEngine/LineDetector/Crossed
 

Vettester

Getting comfortable
Joined
Feb 5, 2017
Messages
743
Reaction score
698
The latest update also fixed the onvif issue with the IPC-HFW5241E-Z12E.
 

nwiceman

n3wb
Joined
Nov 4, 2020
Messages
15
Reaction score
12
Location
US
I just installed 5.7.5.4 and am still seeing issues with my SD5A425XA. I also noticed that I'm seeing the same issue with at least one Color4K-X. In both cases, events show up in the camera web interface but not in BI.
 

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
2,046
Reaction score
950
Just curious, has anyone tested sending IVS event triggers to CPAI for processing? Considering setting up tripwires that will trigger on any object crossing and then let CPAI analyze for objects.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,980
Reaction score
48,716
Location
USA
Just curious, has anyone tested sending IVS event triggers to CPAI for processing? Considering setting up tripwires that will trigger on any object crossing and then let CPAI analyze for objects.
Many people do that instead of using BI motion.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,980
Reaction score
48,716
Location
USA
OK, this is starting to make sense.

Here's an example ...
XML output for a line-crossing event on my 5442.
Code:
    <s:Body>
        <tev:PullMessagesResponse>
            <tev:CurrentTime>2023-04-21T16:49:21Z</tev:CurrentTime>
            <tev:TerminationTime>2023-04-21T16:50:31Z</tev:TerminationTime>
            <wsnt:NotificationMessage>
                <wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/LineDetector/Crossed</wsnt:Topic>
                <wsnt:Message>
                    <tt:Message PropertyOperation="Changed" UtcTime="2023-04-21T16:49:20Z">
                        <tt:Source>
                            <tt:SimpleItem Value="00000" Name="VideoSourceConfigurationToken"/>
                            <tt:SimpleItem Value="00000" Name="VideoAnalyticsConfigurationToken"/>
                            <tt:SimpleItem Value="IVS-5" Name="Rule"/>
                        </tt:Source>
                        <tt:Key>
                            <tt:SimpleItem Value="310311" Name="ObjectId"/>
                        </tt:Key>
                        <tt:Data>
                            <tt:SimpleItem Value="false" Name="State"/>
                        </tt:Data>
                    </tt:Message>
                </wsnt:Message>
            </wsnt:NotificationMessage>
        </tev:PullMessagesResponse>
    </s:Body>
Note in the 'RuleEngine/LineDetector/Crossed' NotificationMessage that the 'Source' entry 'Rule' has the value 'IVS-5'.

This aligns with my IVS setup in the camera. I triggered the camera for this event by crossing line IVS-5.

View attachment 160642
Have you been able to do anything with this yet?

Now that my 180 camera is triggering the IVS rules, I can see when my IVS-1 and IVS-2 are triggering.

So the thought is to be able to take this information and have BI do certain things based on which IVS rule was triggered.

So I was thinking in my case IVS-1 acts as a spotter cam to trigger the PTZ to a certain preset and IVS-2 does the same on the other side.

When I type IVS-1 into the contains box and hit OK and exit out of the camera settings, when I go back the words IVS-1 are gone.

I figure it is going to be some trial and error to figure out how to turn this information into something useful, so wanted to see if you had any better luck than I have so far.
 

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
2,046
Reaction score
950
Would be nice if BI stored a separate log file for the XML it receives.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,980
Reaction score
48,716
Location
USA
Would be nice if BI stored a separate log file for the XML it receives.
Yep, if you aren't watching it, you will miss it. It doesn't even keep a running log of those commands.
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,133
Reaction score
1,242
Location
SF Bay Area
Have you been able to do anything with this yet?

Now that my 180 camera is triggering the IVS rules, I can see when my IVS-1 and IVS-2 are triggering.

So the thought is to be able to take this information and have BI do certain things based on which IVS rule was triggered.

So I was thinking in my case IVS-1 acts as a spotter cam to trigger the PTZ to a certain preset and IVS-2 does the same on the other side.

When I type IVS-1 into the contains box and hit OK and exit out of the camera settings, when I go back the words IVS-1 are gone.

I figure it is going to be some trial and error to figure out how to turn this information into something useful, so wanted to see if you had any better luck than I have so far.
Not yet. Been away since that post. Back now and hoping to catch up and experiment.
 

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
2,046
Reaction score
950
Good to hear, I'm going to try and test that tomorrow.
I tried testing this today. The camera triggered the IVS to BI, but CPAI didn't respond with analysis results. Going to need to dig into my settings because I have CPAI working successfully for all of my cameras using BI motion detection.
 

JL-F1

Getting the hang of it
Joined
Jun 12, 2020
Messages
119
Reaction score
73
Location
USA
Anyone gotten a 5442 to work without having to add the custom event above?

I see a .6 release now

UPDATE: just tried 5.7.5.6, no go for my two 5442's

even manually adding the triggers listed above


Reverted back to 5.7.4.2 all good again
 
Last edited:

karlocikovic

Getting the hang of it
Joined
Nov 24, 2021
Messages
40
Reaction score
28
Location
Croatia
I tried v 5.7.6.7, Getevents on 5442s not working, on 4K-X are working. Reverted to 5.7.4.2 all good again.
 

biggen

Known around here
Joined
May 6, 2018
Messages
2,572
Reaction score
2,854
Ken asked me for access to one of my 5442s for testing. Like everyone else, IVS isn’t working on 5442s without disabling ONVIF authentication. Hopefully he will get it sorted out quickly.
 
Top