Specifically I need assistance;
1. zm_detect.py machine learning to stop returning results of no object found, "hook start returned with text: json:[] exit:1]".
2. Look at my ES + hooks/detect logs, zmeventnotification.ini, objectconfig.ini, and tell me what I'm doing wrong.
Longer Version;
I would like to get some help with setting up zmN+ZM+ES+ML to get it working properly. I am interested in person|car|motorbike|bus|truck|boat| detection. I have read the docs but I'm still having trouble getting events to trigger as a result of ML detection, and having event notifications sent to zmNinga. I'm using docker "dlandon's GitHub zoneminder.machine.learning" docker container running Zoneminder v1.36.12, ES and Hook version: 6.1.23 on Linux Mint 20.1 Ulyssa with CPU object based detection (for now GPU or TPU later) and znNinja on an android device. I get events from ES (a lot of them) when I turn off Hooks (use_hooks = no), but when I turn hooks back on (use_hooks = yes) I do not get any notifications but still get events. No alert notifications via FCM as zm_detect.py keeps coming up with "0" no object found. To me in the logs it looks like the detection is seeing a person during zmesdetect YOLO because of "model iteration inside object found: labels: ['person'],conf:[0.5948755145072937]]", yet during zm_detect.py I'm only geting notifications of nothing found, "eid:694 hook start returned with text: json:[] exit:0]". I have been working on this for weeks now, but no cigar. I came late to the party! I know zmNinga, ES + ML from Asker has reached end of life as of Dec 2021, and dlandon's docker is not being maintained any more but Asker's documentation is so good (the excellent Zoneminder documentation) it was always been on my To Do list to learn ES and ML. Now better than never.
ES + hooks/detect logs, eid:827
Code: Select all
root@30656f8d7a9e:/# tail -F /var/log/zm/zmesdetect*.log /var/log/zm/zmeventnotification.log
==> /var/log/zm/zmesdetect_m1.log <==
03/04/22 00:48:55 zmesdetect_m1[2420] DBG2 detect_sequence.py:424 [Max object size found to be: 90%]
03/04/22 00:48:55 zmesdetect_m1[2420] DBG2 detect_sequence.py:432 [Converted 90% to 432000.0]
03/04/22 00:48:55 zmesdetect_m1[2420] DBG2 detect_sequence.py:448 [No polygons, adding full image polygon: {'name': 'full_image', 'value': [(0, 0), (640, 0), (640, 480), (0, 480)], 'pattern': None}]
03/04/22 00:48:55 zmesdetect_m1[2420] DBG3 detect_sequence.py:228 [resized polygons x=1.25/y=1.25: [{'name': 'full_image', 'value': [(0, 0), (800, 0), (800, 600), (0, 600)], 'pattern': None}]]
03/04/22 00:48:55 zmesdetect_m1[2420] DBG2 detect_sequence.py:502 [intersection: object:person,POLYGON ((228 5, 696 5, 696 591, 228 591, 228 5)) intersects polygon:full_image,POLYGON ((0 0, 800 0, 800 600, 0 600, 0 0))]
03/04/22 00:48:55 zmesdetect_m1[2420] DBG2 detect_sequence.py:518 [Using global match pattern: (person|car|motorbike|bus|truck|boat)]
03/04/22 00:48:55 zmesdetect_m1[2420] DBG2 detect_sequence.py:526 [full_image intersects object:person[[(228, 5), (696, 5), (696, 591), (228, 591)]]]
03/04/22 00:48:55 zmesdetect_m1[2420] DBG2 detect_sequence.py:753 [breaking out of same model loop, as matches found and strategy is "first"]
03/04/22 00:48:55 zmesdetect_m1[2420] DBG1 detect_sequence.py:669 [============ Frame: snapshot Running face detection type in sequence ==================]
03/04/22 00:48:55 zmesdetect_m1[2420] DBG2 detect_sequence.py:190 [Skipping TPU face detection as it is disabled]
==> /var/log/zm/zmeventnotification.log <==
03/04/22 00:52:50.146302 zmeventnotification[2297].DB1 [main:1006] [PARENT: ESCONTROL_INTERFACE is disabled. Not saving control data]
03/04/22 00:52:50.146649 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
03/04/22 00:52:50.146796 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 new Events to process]
03/04/22 00:52:50.146952 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:0, total forks:1, active hooks: 0)<--------------]
03/04/22 00:52:55.136487 zmeventnotification[2297].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:0, total forks:1, active hooks: 0 running for:11 min)<--------------]
03/04/22 00:52:55.136725 zmeventnotification[2297].DB1 [main:1006] [PARENT: After tick: TOTAL: 1, ES_CONTROL: 0, FCM+WEB: 0, FCM: 1, WEB: 0, MQTT:0, invalid WEB: 0, PENDING: 0]
03/04/22 00:52:55.136898 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 active child forks & 0 zm_detect processes running...]
03/04/22 00:52:55.137306 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
03/04/22 00:52:55.137470 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 new Events to process]
03/04/22 00:52:55.137645 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:0, total forks:1, active hooks: 0)<--------------]
03/04/22 00:53:00.135238 zmeventnotification[2297].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:0, total forks:1, active hooks: 0 running for:11 min)<--------------]
03/04/22 00:53:00.135475 zmeventnotification[2297].DB1 [main:1006] [PARENT: After tick: TOTAL: 1, ES_CONTROL: 0, FCM+WEB: 0, FCM: 1, WEB: 0, MQTT:0, invalid WEB: 0, PENDING: 0]
03/04/22 00:53:00.135649 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 active child forks & 0 zm_detect processes running...]
03/04/22 00:53:00.136057 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
03/04/22 00:53:00.136223 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 new Events to process]
03/04/22 00:53:00.136397 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:0, total forks:1, active hooks: 0)<--------------]
03/04/22 00:53:05.136498 zmeventnotification[2297].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:0, total forks:1, active hooks: 0 running for:11 min)<--------------]
03/04/22 00:53:05.136742 zmeventnotification[2297].DB1 [main:1006] [PARENT: After tick: TOTAL: 1, ES_CONTROL: 0, FCM+WEB: 0, FCM: 1, WEB: 0, MQTT:0, invalid WEB: 0, PENDING: 0]
03/04/22 00:53:05.136944 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 active child forks & 0 zm_detect processes running...]
03/04/22 00:53:05.137358 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
03/04/22 00:53:05.137505 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 new Events to process]
03/04/22 00:53:05.137663 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:0, total forks:1, active hooks: 0)<--------------]
03/04/22 00:53:10.135246 zmeventnotification[2297].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:0, total forks:1, active hooks: 0 running for:11 min)<--------------]
03/04/22 00:53:10.135483 zmeventnotification[2297].DB1 [main:1006] [PARENT: After tick: TOTAL: 1, ES_CONTROL: 0, FCM+WEB: 0, FCM: 1, WEB: 0, MQTT:0, invalid WEB: 0, PENDING: 0]
03/04/22 00:53:10.135655 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 active child forks & 0 zm_detect processes running...]
03/04/22 00:53:10.136069 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
03/04/22 00:53:10.136217 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 new Events to process]
03/04/22 00:53:10.136373 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:0, total forks:1, active hooks: 0)<--------------]
03/04/22 00:53:15.135336 zmeventnotification[2297].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:0, total forks:1, active hooks: 0 running for:11 min)<--------------]
03/04/22 00:53:15.135545 zmeventnotification[2297].DB1 [main:1006] [PARENT: After tick: TOTAL: 1, ES_CONTROL: 0, FCM+WEB: 0, FCM: 1, WEB: 0, MQTT:0, invalid WEB: 0, PENDING: 0]
03/04/22 00:53:15.135700 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 active child forks & 0 zm_detect processes running...]
03/04/22 00:53:15.136330 zmeventnotification[2297].INF [main:1018] [PARENT: New event 827 reported for Monitor:1 (Name:Camera1-BesderA6-PTZ-1) Motion New[last processed eid:825]]
03/04/22 00:53:15.138634 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=1]
03/04/22 00:53:15.138798 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 1 new Events to process]
03/04/22 00:53:15.144450 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:1, total forks:2, active hooks: 0)<--------------]
03/04/22 00:53:15.145371 zmeventnotification[2516].DB1 [ZoneMinder::Logger:321] [LogOpts: level=DB4/DB1, screen=OFF, database=INF, logfile=DB1->/var/log/zm/zmeventnotification.log, syslog=INF]
03/04/22 00:53:15.145679 zmeventnotification[2516].DB1 [main:1006] [PARENT: Forked process:2516 to handle alarm eid:827]
03/04/22 00:53:15.146120 zmeventnotification[2516].DB1 [ZoneMinder::Object:125] [Loading ZoneMinder::Event from Events WHERE Id = 827]
03/04/22 00:53:15.148653 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 Adding event path:/var/cache/zoneminder/events/1/2022-03-04/827 to hook for image storage]
03/04/22 00:53:15.148817 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 Invoking hook on event start:'/var/lib/zmeventnotification/bin/zm_event_start.sh' 827 1 "Camera1-BesderA6-PTZ-1" "Motion New" "/var/cache/zoneminder/events/1/2022-03-04/827"]
==> /var/log/zm/zmesdetect_m1.log <==
03/04/22 00:53:16 zmesdetect_m1[2520] INF ZMLog.py:292 [Setting up signal handler for logs]
03/04/22 00:53:16 zmesdetect_m1[2520] INF ZMLog.py:301 [Switching global logger to ZMLog]
03/04/22 00:53:16 zmesdetect_m1[2520] INF zm_detect.py:271 [---------| app:6.1.23, pyzm:0.3.55, ES:6.1.23 , OpenCV:4.5.3|------------]
03/04/22 00:53:16 zmesdetect_m1[2520] INF utils.py:406 [Reading config from: /etc/zm/objectconfig.ini]
03/04/22 00:53:16 zmesdetect_m1[2520] INF utils.py:411 [Reading secrets from: /etc/zm/secrets.ini]
03/04/22 00:53:16 zmesdetect_m1[2520] DBG2 utils.py:383 [Secret token found in config: !ZM_PORTAL]
03/04/22 00:53:16 zmesdetect_m1[2520] DBG2 utils.py:383 [Secret token found in config: !ZM_USER]
03/04/22 00:53:16 zmesdetect_m1[2520] DBG2 utils.py:383 [Secret token found in config: !ZM_PASSWORD]
03/04/22 00:53:16 zmesdetect_m1[2520] DBG2 utils.py:383 [Secret token found in config: !ZM_API_PORTAL]
03/04/22 00:53:16 zmesdetect_m1[2520] DBG2 utils.py:383 [Secret token found in config: !ML_USER]
03/04/22 00:53:16 zmesdetect_m1[2520] DBG2 utils.py:383 [Secret token found in config: !ML_PASSWORD]
03/04/22 00:53:16 zmesdetect_m1[2520] DBG2 utils.py:383 [Secret token found in config: !PLATEREC_ALPR_KEY]
03/04/22 00:53:16 zmesdetect_m1[2520] DBG1 utils.py:446 [allowing self-signed certs to work...]
03/04/22 00:53:16 zmesdetect_m1[2520] DBG4 utils.py:456 [Now checking for monitor overrides]
03/04/22 00:53:16 zmesdetect_m1[2520] DBG4 utils.py:524 [Finally, doing parameter substitution]
03/04/22 00:53:16 zmesdetect_m1[2520] INF zm_detect.py:296 [Importing local classes for Object/Face]
03/04/22 00:53:16 zmesdetect_m1[2520] INF zm_detect.py:321 [Connecting with ZM APIs]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 api.py:72 [API SSL certificate check has been disbled]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG1 api.py:181 [using username/password for login]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 api.py:210 [Using new token API]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG1 api.py:217 [Access token expires on:2022-03-04 02:53:17.122812 [7200s]]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG1 api.py:221 [Refresh token expires on:2022-03-05 00:53:17.124684 [86400s]]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 zm_detect.py:329 [using ml_sequence]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 zm_detect.py:341 [using stream_sequence]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG1 detect_sequence.py:160 [Resetting models, will be loaded on next run]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG3 detect_sequence.py:634 [Using automatic locking as we are switching between models]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 Media.py:51 [Media get SSL certificate check has been disbled]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 Media.py:99 [Using URL 827 for stream]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 Media.py:114 [We will only process frames: ['snapshot', 'alarm']]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 Media.py:137 [No need to start streams, we are picking images from https://192.168.1.50:8443/zm/index.php?view=image&eid=827]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG3 Media.py:271 [Reading https://192.168.1.50:8443/zm/index.php?view=image&eid=827&fid=snapshot]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG3 api.py:144 [No need to relogin as access token still has 119.9996812 minutes remaining]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG3 api.py:272 [make_request called with url=https://192.168.1.50:8443/zm/index.php?view=image&eid=827&fid=snapshot payload={} type=get query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjQ2MzgzOTk3LCJleHAiOjE2NDYzOTExOTcsInVzZXIiOiJzdGV2ZSIsInR5cGUiOiJhY2Nlc3MifQ.AxiFW_UB8W8bNuS_HiqthYxmrLlVMFzMoPBz1IJ4UJw'}]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG1 detect_sequence.py:654 [perf: Starting for frame:snapshot]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG1 detect_sequence.py:664 [Sequence of detection types to execute: ['object', 'face', 'alpr']]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG1 detect_sequence.py:669 [============ Frame: snapshot Running object detection type in sequence ==================]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 detect_sequence.py:174 [Skipping TPU object detection as it is disabled]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 detect_sequence.py:178 [Loading sequence: YoloV4 GPU/CPU]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 detect_sequence.py:179 [Initializing model type:object with options:{'name': 'YoloV4 GPU/CPU', 'enabled': 'yes', 'object_config': '/var/lib/zmeventnotification/models/yolov4/yolov4.cfg', 'object_weights': '/var/lib/zmeventnotification/models/yolov4/yolov4.weights', 'object_labels': '/var/lib/zmeventnotification/models/yolov4/coco.names', 'object_min_confidence': 0.3, 'object_framework': 'opencv', 'object_processor': 'gpu', 'gpu_max_processes': 1, 'gpu_max_lock_wait': 100, 'cpu_max_processes': 3, 'cpu_max_lock_wait': 100, 'max_detection_size': '90%', 'disable_locks': 'no'}]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 yolo.py:37 [portalock: max:1, name:pyzm_uid33_gpu_lock, timeout:100]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG3 detect_sequence.py:689 [object has a same_model_sequence strategy of first]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG1 detect_sequence.py:701 [--------- Frame:snapshot Running variation: #1 -------------]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 yolo.py:123 [detect extracted image dimensions as: 800wx600h]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 yolo.py:49 [Waiting for pyzm_uid33_gpu_lock portalock...]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG2 yolo.py:51 [Got pyzm_uid33_gpu_lock portalock]
03/04/22 00:53:17 zmesdetect_m1[2520] DBG1 yolo.py:84 [|--------- Loading "YoloV4 GPU/CPU" model from disk -------------|]
03/04/22 00:53:18 zmesdetect_m1[2520] DBG1 yolo.py:91 [perf: processor:gpu Yolo initialization (loading /var/lib/zmeventnotification/models/yolov4/yolov4.weights model from disk) took: 1606.47 ms]
03/04/22 00:53:18 zmesdetect_m1[2520] DBG2 yolo.py:107 [Setting CUDA backend for OpenCV]
03/04/22 00:53:18 zmesdetect_m1[2520] DBG3 yolo.py:108 [If you did not set your CUDA_ARCH_BIN correctly during OpenCV compilation, you will get errors during detection related to invalid device/make_policy]
03/04/22 00:53:18 zmesdetect_m1[2520] DBG1 yolo.py:147 [|---------- YOLO (input image: 800w*600h, model resize dimensions: 416w*416h) ----------|]
==> /var/log/zm/zmeventnotification.log <==
03/04/22 00:53:20.135111 zmeventnotification[2297].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:1, total forks:2, active hooks: 0 running for:11 min)<--------------]
03/04/22 00:53:20.135326 zmeventnotification[2297].DB1 [main:1006] [PARENT: After tick: TOTAL: 1, ES_CONTROL: 0, FCM+WEB: 0, FCM: 1, WEB: 0, MQTT:0, invalid WEB: 0, PENDING: 0]
03/04/22 00:53:20.135844 zmeventnotification[2297].DB1 [main:1006] [PARENT: RAW TEXT-->update_parallel_hooks--TYPE--add]
03/04/22 00:53:20.135974 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 1 active child forks & 1 zm_detect processes running...]
03/04/22 00:53:20.136474 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
03/04/22 00:53:20.136579 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 new Events to process]
03/04/22 00:53:20.136685 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:1, total forks:2, active hooks: 1)<--------------]
==> /var/log/zm/zmesdetect_m1.log <==
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 yolo.py:67 [Released pyzm_uid33_gpu_lock portalock]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG1 yolo.py:173 [perf: processor:gpu Yolo detection took: 1789.47 ms]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 yolo.py:208 [perf: processor:gpu Yolo NMS filtering took: 1.10 ms]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 object.py:66 [core model detection over, got 1 objects. Now filtering]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 object.py:70 [Max object size found to be: 90%]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 object.py:78 [Converted 90% to 432000.0]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 object.py:103 [Returning filtered list of 1 objects.]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 detect_sequence.py:711 [This model iteration inside object found: labels: ['person'],conf:[0.869956910610199]]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 detect_sequence.py:424 [Max object size found to be: 90%]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 detect_sequence.py:432 [Converted 90% to 432000.0]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 detect_sequence.py:448 [No polygons, adding full image polygon: {'name': 'full_image', 'value': [(0, 0), (640, 0), (640, 480), (0, 480)], 'pattern': None}]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG3 detect_sequence.py:228 [resized polygons x=1.25/y=1.25: [{'name': 'full_image', 'value': [(0, 0), (800, 0), (800, 600), (0, 600)], 'pattern': None}]]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 detect_sequence.py:502 [intersection: object:person,POLYGON ((510 18, 708 18, 708 604, 510 604, 510 18)) intersects polygon:full_image,POLYGON ((0 0, 800 0, 800 600, 0 600, 0 0))]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 detect_sequence.py:518 [Using global match pattern: (person|car|motorbike|bus|truck|boat)]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 detect_sequence.py:526 [full_image intersects object:person[[(510, 18), (708, 18), (708, 604), (510, 604)]]]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 detect_sequence.py:753 [breaking out of same model loop, as matches found and strategy is "first"]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG1 detect_sequence.py:669 [============ Frame: snapshot Running face detection type in sequence ==================]
03/04/22 00:53:20 zmesdetect_m1[2520] DBG2 detect_sequence.py:190 [Skipping TPU face detection as it is disabled]
==> /var/log/zm/zmeventnotification.log <==
03/04/22 00:53:25.135325 zmeventnotification[2297].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:1, total forks:2, active hooks: 1 running for:11 min)<--------------]
03/04/22 00:53:25.135525 zmeventnotification[2297].DB1 [main:1006] [PARENT: After tick: TOTAL: 1, ES_CONTROL: 0, FCM+WEB: 0, FCM: 1, WEB: 0, MQTT:0, invalid WEB: 0, PENDING: 0]
03/04/22 00:53:25.135667 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 1 active child forks & 1 zm_detect processes running...]
03/04/22 00:53:25.136034 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
03/04/22 00:53:25.136169 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 new Events to process]
03/04/22 00:53:25.136313 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:1, total forks:2, active hooks: 1)<--------------]
03/04/22 00:53:30.136759 zmeventnotification[2297].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:1, total forks:2, active hooks: 1 running for:11 min)<--------------]
03/04/22 00:53:30.136860 zmeventnotification[2297].DB1 [main:1006] [PARENT: After tick: TOTAL: 1, ES_CONTROL: 0, FCM+WEB: 0, FCM: 1, WEB: 0, MQTT:0, invalid WEB: 0, PENDING: 0]
03/04/22 00:53:30.136923 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 1 active child forks & 1 zm_detect processes running...]
03/04/22 00:53:30.137102 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
03/04/22 00:53:30.137159 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 new Events to process]
03/04/22 00:53:30.137223 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:1, total forks:2, active hooks: 1)<--------------]
03/04/22 00:53:35.135216 zmeventnotification[2297].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:1, total forks:2, active hooks: 1 running for:11 min)<--------------]
03/04/22 00:53:35.135428 zmeventnotification[2297].DB1 [main:1006] [PARENT: After tick: TOTAL: 1, ES_CONTROL: 0, FCM+WEB: 0, FCM: 1, WEB: 0, MQTT:0, invalid WEB: 0, PENDING: 0]
03/04/22 00:53:35.135570 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 1 active child forks & 1 zm_detect processes running...]
03/04/22 00:53:35.135962 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
03/04/22 00:53:35.136110 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 new Events to process]
03/04/22 00:53:35.136269 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:1, total forks:2, active hooks: 1)<--------------]
03/04/22 00:53:38.578423 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 parse of hook: and []]
03/04/22 00:53:38.578569 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 hook start returned with text: json:[] exit:1]
03/04/22 00:53:38.578835 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 For 1 (Camera1-BesderA6-PTZ-1), SHM says: state=0, eid=828]
03/04/22 00:53:38.579212 zmeventnotification[2516].INF [main:1018] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 Event 827 for Monitor 1 has finished]
03/04/22 00:53:40.135297 zmeventnotification[2297].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:1, total forks:2, active hooks: 1 running for:12 min)<--------------]
03/04/22 00:53:40.135521 zmeventnotification[2297].DB1 [main:1006] [PARENT: After tick: TOTAL: 1, ES_CONTROL: 0, FCM+WEB: 0, FCM: 1, WEB: 0, MQTT:0, invalid WEB: 0, PENDING: 0]
03/04/22 00:53:40.136071 zmeventnotification[2297].DB1 [main:1006] [PARENT: RAW TEXT-->update_parallel_hooks--TYPE--del]
03/04/22 00:53:40.136278 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 1 active child forks & 0 zm_detect processes running...]
03/04/22 00:53:40.136702 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
03/04/22 00:53:40.136850 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 new Events to process]
03/04/22 00:53:40.137007 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:1, total forks:2, active hooks: 0)<--------------]
03/04/22 00:53:40.750216 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 Event end object is: state=>pending with cause=>Motion: All, New]
03/04/22 00:53:42.800583 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 rules: Checking rules for alarm caused by eid:827, monitor:1, at: Fri Mar 4 00:53:42 2022 with cause:Motion New]
03/04/22 00:53:42.800681 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 rules: No rules found for Monitor, allowing:1]
03/04/22 00:53:42.800772 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 Matching alarm to connection rules...]
03/04/22 00:53:42.800887 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 Checking alarm conditions for token ending in:...BqYagXnjLX]
03/04/22 00:53:42.801026 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 Monitor 1 event: should send out as 265.542560100555 is >= interval of 0]
03/04/22 00:53:42.801090 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 token is unique, shouldSendEventToConn returned true, so calling sendEvent]
03/04/22 00:53:42.801208 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 isAllowedChannel: got type:event_start resCode:1]
03/04/22 00:53:42.801370 zmeventnotification[2516].INF [main:1018] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 Not sending over FCM as notify filters are on_success:all and on_fail:none]
03/04/22 00:53:44.233787 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 child finished writing to parent]
03/04/22 00:53:45.135296 zmeventnotification[2297].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:1, total forks:2, active hooks: 0 running for:12 min)<--------------]
03/04/22 00:53:45.174653 zmeventnotification[2297].DB1 [main:1006] [PARENT: After tick: TOTAL: 1, ES_CONTROL: 0, FCM+WEB: 0, FCM: 1, WEB: 0, MQTT:0, invalid WEB: 0, PENDING: 0]
03/04/22 00:53:45.175130 zmeventnotification[2297].DB1 [main:1006] [PARENT: RAW TEXT-->timestamp--TYPE--1646383360.1187--SPLIT--1--SPLIT--1646384022.80113]
03/04/22 00:53:45.175241 zmeventnotification[2297].DB1 [main:1006] [PARENT: Job: Update last sent timestamp of monitor:1 to 1646384022.80113 for id:1646383360.1187]
03/04/22 00:53:45.175343 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 1 active child forks & 0 zm_detect processes running...]
03/04/22 00:53:45.175545 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
03/04/22 00:53:45.175611 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 new Events to process]
03/04/22 00:53:45.175684 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:1, total forks:2, active hooks: 0)<--------------]
03/04/22 00:53:46.235003 zmeventnotification[2516].INF [main:1018] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 end hooks/use hooks not being used, going to directly send out a notification if checks pass]
03/04/22 00:53:50.095730 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 rules: Checking rules for alarm caused by eid:827, monitor:1, at: Fri Mar 4 00:53:50 2022 with cause:Motion New]
03/04/22 00:53:50.095861 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 rules: No rules found for Monitor, allowing:1]
03/04/22 00:53:50.096103 zmeventnotification[2516].INF [main:1018] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 Not sending event end alarm, as we did not send a start alarm for this, or start hook processing failed]
03/04/22 00:53:50.135284 zmeventnotification[2297].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:1, total forks:2, active hooks: 0 running for:12 min)<--------------]
03/04/22 00:53:50.135466 zmeventnotification[2297].DB1 [main:1006] [PARENT: After tick: TOTAL: 1, ES_CONTROL: 0, FCM+WEB: 0, FCM: 1, WEB: 0, MQTT:0, invalid WEB: 0, PENDING: 0]
03/04/22 00:53:50.135596 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 1 active child forks & 0 zm_detect processes running...]
03/04/22 00:53:50.135958 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
03/04/22 00:53:50.136081 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 new Events to process]
03/04/22 00:53:50.136203 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:1, total forks:2, active hooks: 0)<--------------]
03/04/22 00:53:54.101713 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 exiting]
03/04/22 00:53:54.101916 zmeventnotification[2516].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:827 Ending process:2516 to handle alarms]
03/04/22 00:53:55.135085 zmeventnotification[2297].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:1, total forks:2, active hooks: 0 running for:12 min)<--------------]
03/04/22 00:53:55.135223 zmeventnotification[2297].DB1 [main:1006] [PARENT: After tick: TOTAL: 1, ES_CONTROL: 0, FCM+WEB: 0, FCM: 1, WEB: 0, MQTT:0, invalid WEB: 0, PENDING: 0]
03/04/22 00:53:55.135550 zmeventnotification[2297].DB1 [main:1006] [PARENT: RAW TEXT-->active_event_delete--TYPE--1--SPLIT--827]
03/04/22 00:53:55.135661 zmeventnotification[2297].DB1 [main:1006] [PARENT: Job: Deleting active_event eid:827, mid:1]
03/04/22 00:53:55.135773 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 active child forks & 0 zm_detect processes running...]
03/04/22 00:53:55.135987 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
03/04/22 00:53:55.136054 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 new Events to process]
03/04/22 00:53:55.136128 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:0, total forks:2, active hooks: 0)<--------------]
03/04/22 00:54:00.135267 zmeventnotification[2297].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:0, total forks:2, active hooks: 0 running for:12 min)<--------------]
03/04/22 00:54:00.135439 zmeventnotification[2297].DB1 [main:1006] [PARENT: After tick: TOTAL: 1, ES_CONTROL: 0, FCM+WEB: 0, FCM: 1, WEB: 0, MQTT:0, invalid WEB: 0, PENDING: 0]
03/04/22 00:54:00.135581 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 active child forks & 0 zm_detect processes running...]
03/04/22 00:54:00.135940 zmeventnotification[2297].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
03/04/22 00:54:00.136074 zmeventnotification[2297].DB1 [main:1006] [PARENT: There are 0 new Events to process]
03/04/22 00:54:00.136217 zmeventnotification[2297].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:0, total forks:2, active hooks: 0)<--------------]
Thanks in advance for your assistance.
Cheers