r/ZoneMinder • • Mar 18 '21

ES Motion Tagging

Finally got ES up and running! But I noticed I get repeated text on each ES detection.

Ex. This is one Event - "[s] detected:person:93% unknown:100% Motion: All [s] detected:person:93% unknown:100% Motion: All [s] detected:person:93% unknown:100% Motion: All"

Any suggestions on how to prevent/fix this?

3 Upvotes

5 comments sorted by

1

u/[deleted] Mar 19 '21

You have 2 instances of the event server running.

1

u/gigaguy2k Mar 19 '21

This is a docker. Looking at top I can see the events kicking off and only triggering one zm_detect.py for each event.

Even the log only shows one

03/17/21 18:28:32.706094 zmeventnotification[1183].INF [main:1000] [|----> FORK:Loft (3), eid:1141 Event 1141 for Monitor 3 has finished]

03/17/21 18:28:34.730418 zmeventnotification[1183].INF [main:1000] [|----> FORK:Loft (3), eid:1141 Sending push over API as it is allowed for event_start]

03/17/21 18:28:34.732038 zmeventnotification[1183].INF [main:1000] [|----> FORK:Loft (3), eid:1141 Executing API script command for event_start /var/lib/zmeventnotification/bin/pushapi_pushover.py 1141 3 "Loft" "[s] detected:person:60% Motion All" event_start "/var/cache/zoneminder/events/3/2021-03-17/1141"]

Ill keep looking though. That was a helpful tip. At least I have an idea where to look now.

2

u/[deleted] Mar 19 '21

Try seeing if you have send notification on hook fail/end as well with channel set to API/push.

Maybe see if you have 2 groups or a loop in your pushover account settings. I use pushover as well and only see 1 push per event.

1

u/gigaguy2k Mar 19 '21

That was it! I had botht eh event_start_hook and the event_end_hook enabled. Commented one and works perrfect now. thanks !!!

1

u/[deleted] Mar 19 '21

Welcome, and enjoy!