Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 03/25/22 15:18:16.962558 zmeventnotification[4978].INF [main:1018] [PARENT: New event 2481 reported for Monitor:1 (Name:Camera1-BesderA6-PTZ-1) Motion All[last processed eid:2480]]
- 03/25/22 15:18:16.979563 zmeventnotification[4978].DB1 [main:1006] [PARENT: checkEvents() new events found=1]
- 03/25/22 15:18:16.979672 zmeventnotification[4978].DB1 [main:1006] [PARENT: There are 1 new Events to process]
- 03/25/22 15:18:16.983569 zmeventnotification[4978].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:2, total forks:16, active hooks: 1)<--------------]
- 03/25/22 15:18:16.984071 zmeventnotification[9524].DB1 [ZoneMinder::Logger:321] [LogOpts: level=DB4/DB1, screen=OFF, database=INF, logfile=DB1->/var/log/zm/zmeventnotification.log, syslog=INF]
- 03/25/22 15:18:16.984267 zmeventnotification[9524].DB1 [main:1006] [PARENT: Forked process:9524 to handle alarm eid:2481]
- 03/25/22 15:18:16.984565 zmeventnotification[9524].DB1 [ZoneMinder::Object:125] [Loading ZoneMinder::Event from Events WHERE Id = 2481]
- 03/25/22 15:18:16.986418 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 Adding event path:/var/cache/zoneminder/events/1/2022-03-25/2481 to hook for image storage]
- 03/25/22 15:18:16.986515 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 Invoking hook on event start:'/var/lib/zmeventnotification/bin/zm_event_start.sh' 2481 1 "Camera1-BesderA6-PTZ-1" "Motion All" "/var/cache/zoneminder/events/1/2022-03-25/2481"]
- ==> /var/log/zm/zmesdetect_m1.log <==
- 03/25/22 15:18:18 zmesdetect_m1[9528] INF ZMLog.py:292 [Setting up signal handler for logs]
- 03/25/22 15:18:18 zmesdetect_m1[9528] INF ZMLog.py:301 [Switching global logger to ZMLog]
- 03/25/22 15:18:18 zmesdetect_m1[9528] INF zm_detect.py:271 [---------| app:6.1.23, pyzm:0.3.55, ES:6.1.23 , OpenCV:4.5.3|------------]
- 03/25/22 15:18:18 zmesdetect_m1[9528] INF utils.py:406 [Reading config from: /etc/zm/objectconfig.ini]
- 03/25/22 15:18:18 zmesdetect_m1[9528] INF utils.py:411 [Reading secrets from: /etc/zm/secrets.ini]
- 03/25/22 15:18:18 zmesdetect_m1[9528] DBG2 utils.py:383 [Secret token found in config: !ZM_PORTAL]
- 03/25/22 15:18:18 zmesdetect_m1[9528] DBG2 utils.py:383 [Secret token found in config: !ZM_USER]
- 03/25/22 15:18:18 zmesdetect_m1[9528] DBG2 utils.py:383 [Secret token found in config: !ZM_PASSWORD]
- 03/25/22 15:18:18 zmesdetect_m1[9528] DBG2 utils.py:383 [Secret token found in config: !ZM_API_PORTAL]
- 03/25/22 15:18:18 zmesdetect_m1[9528] DBG2 utils.py:383 [Secret token found in config: !ML_USER]
- 03/25/22 15:18:18 zmesdetect_m1[9528] DBG2 utils.py:383 [Secret token found in config: !ML_PASSWORD]
- 03/25/22 15:18:18 zmesdetect_m1[9528] DBG2 utils.py:383 [Secret token found in config: !PLATEREC_ALPR_KEY]
- 03/25/22 15:18:18 zmesdetect_m1[9528] DBG1 utils.py:446 [allowing self-signed certs to work...]
- 03/25/22 15:18:18 zmesdetect_m1[9528] DBG4 utils.py:456 [Now checking for monitor overrides]
- 03/25/22 15:18:18 zmesdetect_m1[9528] DBG4 utils.py:524 [Finally, doing parameter substitution]
- 03/25/22 15:18:18 zmesdetect_m1[9528] INF zm_detect.py:296 [Importing local classes for Object/Face]
- 03/25/22 15:18:18 zmesdetect_m1[9504] DBG2 yolo.py:67 [Released pyzm_uid33_cpu_lock portalock]
- 03/25/22 15:18:18 zmesdetect_m1[9504] DBG1 yolo.py:173 [perf: processor:cpu Yolo detection took: 1964.73 ms]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 yolo.py:208 [perf: processor:cpu Yolo NMS filtering took: 1.05 ms]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 object.py:66 [core model detection over, got 4 objects. Now filtering]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 object.py:70 [Max object size found to be: 90%]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 object.py:78 [Converted 90% to 432000.0]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 object.py:101 [Ignoring book [729, 332, 765, 600] as conf. level 0.26400047540664673 is lower than 0.3]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 object.py:103 [Returning filtered list of 3 objects.]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:711 [This model iteration inside object found: labels: ['book', 'book', 'clock'],conf:[0.6234503388404846, 0.5506402850151062, 0.30125436186790466]]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:424 [Max object size found to be: 90%]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:432 [Converted 90% to 432000.0]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:502 [intersection: object:book,POLYGON ((692 334, 750 334, 750 602, 692 602, 692 334)) intersects polygon:full_image,POLYGON ((0 0, 800 0, 800 600, 0 600, 0 0))]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:518 [Using global match pattern: (person|car|motorbike|bus|truck|boat)]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:535 [full_image intersects object:book[[(692, 334), (750, 334), (750, 602), (692, 602)]] but does NOT match your detect pattern filter]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:502 [intersection: object:book,POLYGON ((664 344, 712 344, 712 596, 664 596, 664 344)) intersects polygon:full_image,POLYGON ((0 0, 800 0, 800 600, 0 600, 0 0))]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:518 [Using global match pattern: (person|car|motorbike|bus|truck|boat)]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:535 [full_image intersects object:book[[(664, 344), (712, 344), (712, 596), (664, 596)]] but does NOT match your detect pattern filter]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:502 [intersection: object:clock,POLYGON ((266 68, 304 68, 304 118, 266 118, 266 68)) intersects polygon:full_image,POLYGON ((0 0, 800 0, 800 600, 0 600, 0 0))]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:518 [Using global match pattern: (person|car|motorbike|bus|truck|boat)]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:535 [full_image intersects object:clock[[(266, 68), (304, 68), (304, 118), (266, 118)]] but does NOT match your detect pattern filter]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:770 [We did not find any object matches in frame: alarm]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG1 detect_sequence.py:669 [============ Frame: alarm Running face detection type in sequence ==================]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:190 [Skipping TPU face detection as it is disabled]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:190 [Skipping DLIB based face recognition as it is disabled]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG3 detect_sequence.py:689 [face has a same_model_sequence strategy of union]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:770 [We did not find any face matches in frame: alarm]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG1 detect_sequence.py:669 [============ Frame: alarm Running alpr detection type in sequence ==================]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG2 detect_sequence.py:672 [Making sure we have matched one of ['car', 'motorbike', 'bus', 'truck', 'boat'] in [] before we proceed]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG1 detect_sequence.py:674 [Did not find pre existing labels, not running detection type]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG1 detect_sequence.py:827 [perf: TOTAL detection sequence (with image loads) took: 5041.03 ms to process 2480]
- 03/25/22 15:18:19 zmesdetect_m1[9504] INF zm_detect.py:471 [Prediction string:[s] detected:person:98% ]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG1 zm_detect.py:473 [Prediction string JSON:{"labels": ["person"], "boxes": [[117, 10, 441, 594]], "frame_id": "snapshot", "confidences": [0.9772003889083862], "image_dimensions": {"original": [480, 640], "resized": [600, 800]}}]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG1 zm_detect.py:492 [Writing detected image to /var/cache/zoneminder/events/1/2022-03-25/2480/objdetect.jpg]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG1 zm_detect.py:496 [Writing JSON output to /var/cache/zoneminder/events/1/2022-03-25/2480/objects.json]
- 03/25/22 15:18:19 zmesdetect_m1[9504] DBG1 zm_detect.py:550 [Closing logs]
- 03/25/22 15:18:19 zmesdetect_m1[9528] INF zm_detect.py:321 [Connecting with ZM APIs]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG2 api.py:72 [API SSL certificate check has been disbled]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG1 api.py:181 [using username/password for login]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG2 api.py:210 [Using new token API]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG1 api.py:217 [Access token expires on:2022-03-25 17:18:19.372095 [7200s]]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG1 api.py:221 [Refresh token expires on:2022-03-26 15:18:19.373223 [86400s]]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG2 zm_detect.py:329 [using ml_sequence]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG2 zm_detect.py:341 [using stream_sequence]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG1 detect_sequence.py:160 [Resetting models, will be loaded on next run]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG3 detect_sequence.py:634 [Using automatic locking as we are switching between models]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG2 Media.py:51 [Media get SSL certificate check has been disbled]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG2 Media.py:99 [Using URL 2481 for stream]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG2 Media.py:114 [We will only process frames: ['snapshot', 'alarm']]
- 03/25/22 15:18:19 zmesdetect_m1[9528] 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=2481]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG3 Media.py:271 [Reading https://192.168.1.50:8443/zm/index.php?view=image&eid=2481&fid=snapshot]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG3 api.py:144 [No need to relogin as access token still has 119.99971493333334 minutes remaining]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG3 api.py:272 [make_request called with url=https://192.168.1.50:8443/zm/index.php?view=image&eid=2481&fid=snapshot payload={} type=get query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjQ4MjQ2Njk5LCJleHAiOjE2NDgyNTM4OTksInVzZXIiOiJzdGV2ZSIsInR5cGUiOiJhY2Nlc3MifQ.7L3m4Lf4yLc1Z2y4E5E4l8TL-Fz13GXphpLOPQtTvU8'}]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG1 detect_sequence.py:654 [perf: Starting for frame:snapshot]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG1 detect_sequence.py:664 [Sequence of detection types to execute: ['object', 'face', 'alpr']]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG1 detect_sequence.py:669 [============ Frame: snapshot Running object detection type in sequence ==================]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG2 detect_sequence.py:174 [Skipping TPU object detection as it is disabled]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG2 detect_sequence.py:178 [Loading sequence: YoloV4 GPU/CPU]
- 03/25/22 15:18:19 zmesdetect_m1[9528] 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': 'cpu', '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/25/22 15:18:19 zmesdetect_m1[9528] DBG2 yolo.py:37 [portalock: max:3, name:pyzm_uid33_cpu_lock, timeout:100]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG3 detect_sequence.py:689 [object has a same_model_sequence strategy of first]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG1 detect_sequence.py:701 [--------- Frame:snapshot Running variation: #1 -------------]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG2 yolo.py:123 [detect extracted image dimensions as: 800wx600h]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG2 yolo.py:49 [Waiting for pyzm_uid33_cpu_lock portalock...]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG2 yolo.py:51 [Got pyzm_uid33_cpu_lock portalock]
- 03/25/22 15:18:19 zmesdetect_m1[9528] DBG1 yolo.py:84 [|--------- Loading "YoloV4 GPU/CPU" model from disk -------------|]
- ==> /var/log/zm/zmeventnotification.log <==
- 03/25/22 15:18:19.353679 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 parse of hook:[s] detected:person:98% and {"labels": ["person"], "boxes": [[117, 10, 441, 594]], "frame_id": "snapshot", "confidences": [0.9772003889083862], "image_dimensions": {"original": [480, 640], "resized": [600, 800]}}]
- 03/25/22 15:18:19.353848 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 hook start returned with text:[s] detected:person:98% json:{"labels": ["person"], "boxes": [[117, 10, 441, 594]], "frame_id": "snapshot", "confidences": [0.9772003889083862], "image_dimensions": {"original": [480, 640], "resized": [600, 800]}} exit:0]
- 03/25/22 15:18:19.354337 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 For 1 (Camera1-BesderA6-PTZ-1), SHM says: state=3, eid=2481]
- 03/25/22 15:18:19.354707 zmeventnotification[9500].INF [main:1018] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 Event 2480 for Monitor 1 has finished]
- 03/25/22 15:18:19.357398 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 Event end object is: state=>pending with cause=>Motion: All]
- 03/25/22 15:18:21.378424 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 rules: Checking rules for alarm caused by eid:2480, monitor:1, at: Fri Mar 25 15:18:21 2022 with cause:[s] detected:person:98% Motion All]
- 03/25/22 15:18:21.378543 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 rules: No rules found for Monitor, allowing:1]
- 03/25/22 15:18:21.378654 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 Matching alarm to connection rules...]
- 03/25/22 15:18:21.378766 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 Checking alarm conditions for token ending in:...BqYagXnjLX]
- 03/25/22 15:18:21.378901 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 Monitor 1 event: should send out as 190.71405005455 is >= interval of 0]
- 03/25/22 15:18:21.378977 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 token is unique, shouldSendEventToConn returned true, so calling sendEvent]
- 03/25/22 15:18:21.379128 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 isAllowedChannel: got type:event_start resCode:0]
- 03/25/22 15:18:21.379303 zmeventnotification[9500].INF [main:1018] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 Sending event_start notification over FCM]
- 03/25/22 15:18:21.410947 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 Resetting counters for tokenBqYagXnjLX as month changed]
- 03/25/22 15:18:21.417751 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 fcmv1: SnLogs for 2481apshot frame matched, changing picture url to:https://portal/zm/index.php?view=image&eid=2480&fid=objdetect&width=600&username=steve&password=testing456 ]
- 03/25/22 15:18:21.427978 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 setting channel to zmninja]
- 03/25/22 15:18:21.428184 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 fcmv1: Final JSON using FCMV1 being sent is: {"badge":1,"image_url":"https://portal/zm/index.php?view=image&eid=2480&fid=objdetect&width=600&username=steve&password=xxx},"sound":"default","token":"camCNCqgQRutGXxnaJKDiR:APA91bEvnNQTgMXHb1_ojo7NtcobGDWrlAOmoGn0jRjt0JwCyV66_loYTRd_QIAiQEXEhPW4jeD50N_wqiKo-kQBZLsO-9xABbBbJ_fmtXHgf2jJJ6sacg8PMpDy9IGK1fBqYagXnjLX","body":"[s] detected:person:98% Motion All at 03:18 PM, 25-Mar","data":{"mid":"1","eid":"2480","notification_foreground":"true"},"title":"Camera1-BesderA6-PTZ-1 Alarm (2480)"} to token: ...gXnjLX]
- ==> /var/log/zm/zmesdetect_m1.log <==
- 03/25/22 15:18:21 zmesdetect_m1[9528] DBG1 yolo.py:91 [perf: processor:cpu Yolo initialization (loading /var/lib/zmeventnotification/models/yolov4/yolov4.weights model from disk) took: 2442.16 ms]
- 03/25/22 15:18:21 zmesdetect_m1[9528] DBG1 yolo.py:104 [Using CPU for detection]
- 03/25/22 15:18:21 zmesdetect_m1[9528] DBG1 yolo.py:147 [|---------- YOLO (input image: 800w*600h, model resize dimensions: 416w*416h) ----------|]
- ==> /var/log/zm/zmeventnotification.log <==
- 03/25/22 15:18:21.956161 zmeventnotification[4978].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:2, total forks:16, active hooks: 1 running for:846 min)<--------------]
- 03/25/22 15:18:21.956304 zmeventnotification[4978].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/25/22 15:18:21.956636 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->update_parallel_hooks--TYPE--add]
- 03/25/22 15:18:21.956835 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->update_parallel_hooks--TYPE--del]
- 03/25/22 15:18:21.957552 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->active_event_update--TYPE--1--SPLIT--2480--SPLIT--Start--SPLIT--Cause--SPLIT--[s] detected:person:98% Motion All--JSON--{"labels": ["person"], "boxes": [[117, 10, 441, 594]], "frame_id": "snapshot", "confidences": [0.9772003889083862], "image_dimensions": {"original": [480, 640], "resized": [600, 800]}}]
- 03/25/22 15:18:21.957916 zmeventnotification[4978].DB1 [main:1006] [PARENT: Job: Update active_event eid:2480, mid:1, type:Start, field:Cause to: [s] detected:person:98% Motion All--JSON--{"labels": ["person"], "boxes": [[117, 10, 441, 594]], "frame_id": "snapshot", "confidences": [0.9772003889083862], "image_dimensions": {"original": [480, 640], "resized": [600, 800]}}]
- 03/25/22 15:18:21.958261 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->event_description--TYPE--1--SPLIT--2480--SPLIT--[s] detected:person:98% ]
- 03/25/22 15:18:21.958343 zmeventnotification[4978].DB1 [main:1006] [PARENT: Job: Update monitor 1 description:[s] detected:person:98% ]
- 03/25/22 15:18:21.958417 zmeventnotification[4978].DB1 [main:1006] [PARENT: updating Notes clause for Event:2480 with:[s] detected:person:98% ]
- 03/25/22 15:18:21.961577 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->fcm_notification--TYPE--camCNCqgQRutGXxnaJKDiR:APA91bEvnNQTgMXHb1_ojo7NtcobGDWrlAOmoGn0jRjt0JwCyV66_loYTRd_QIAiQEXEhPW4jeD50N_wqiKo-kQBZLsO-9xABbBbJ_fmtXHgf2jJJ6sacg8PMpDy9IGK1fBqYagXnjLX--SPLIT--1--SPLIT--1--SPLIT--2]
- 03/25/22 15:18:21.961703 zmeventnotification[4978].DB1 [main:1006] [PARENT: GOT JOB==> update badge to 1, count to 1 for: camCNCqgQRutGXxnaJKDiR:APA91bEvnNQTgMXHb1_ojo7NtcobGDWrlAOmoGn0jRjt0JwCyV66_loYTRd_QIAiQEXEhPW4jeD50N_wqiKo-kQBZLsO-9xABbBbJ_fmtXHgf2jJJ6sacg8PMpDy9IGK1fBqYagXnjLX, at: 2]
- 03/25/22 15:18:21.961806 zmeventnotification[4978].DB1 [main:1006] [PARENT: There are 2 active child forks & 1 zm_detect processes running...]
- 03/25/22 15:18:21.962148 zmeventnotification[4978].DB1 [main:1006] [PARENT: We've already worked on Monitor:1, Event:2481, not doing anything more]
- 03/25/22 15:18:21.962213 zmeventnotification[4978].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
- 03/25/22 15:18:21.962268 zmeventnotification[4978].DB1 [main:1006] [PARENT: There are 0 new Events to process]
- 03/25/22 15:18:21.962338 zmeventnotification[4978].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:2, total forks:16, active hooks: 1)<--------------]
- 03/25/22 15:18:22.387946 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 fcmv1: FCM push message returned a 200 with body {"Success":"projects/ninja-1105/messages/0:1648246726390910%311426be311426be"}]
- 03/25/22 15:18:22.388157 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 child finished writing to parent]
- ==> /var/log/zm/zmesdetect_m1.log <==
- 03/25/22 15:18:23 zmesdetect_m1[9528] DBG2 yolo.py:67 [Released pyzm_uid33_cpu_lock portalock]
- 03/25/22 15:18:23 zmesdetect_m1[9528] DBG1 yolo.py:173 [perf: processor:cpu Yolo detection took: 1971.57 ms]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 yolo.py:208 [perf: processor:cpu Yolo NMS filtering took: 1.09 ms]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 object.py:66 [core model detection over, got 4 objects. Now filtering]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 object.py:70 [Max object size found to be: 90%]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 object.py:78 [Converted 90% to 432000.0]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 object.py:101 [Ignoring book [632, 148, 744, 290] as conf. level 0.2181423008441925 is lower than 0.3]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 object.py:103 [Returning filtered list of 3 objects.]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:711 [This model iteration inside object found: labels: ['person', 'book', 'book'],conf:[0.9772003889083862, 0.5952441692352295, 0.46922364830970764]]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:424 [Max object size found to be: 90%]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:432 [Converted 90% to 432000.0]
- 03/25/22 15:18:24 zmesdetect_m1[9528] 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/25/22 15:18:24 zmesdetect_m1[9528] 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/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:502 [intersection: object:person,POLYGON ((117 10, 441 10, 441 594, 117 594, 117 10)) intersects polygon:full_image,POLYGON ((0 0, 800 0, 800 600, 0 600, 0 0))]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:518 [Using global match pattern: (person|car|motorbike|bus|truck|boat)]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:526 [full_image intersects object:person[[(117, 10), (441, 10), (441, 594), (117, 594)]]]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:502 [intersection: object:book,POLYGON ((696 334, 748 334, 748 602, 696 602, 696 334)) intersects polygon:full_image,POLYGON ((0 0, 800 0, 800 600, 0 600, 0 0))]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:518 [Using global match pattern: (person|car|motorbike|bus|truck|boat)]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:535 [full_image intersects object:book[[(696, 334), (748, 334), (748, 602), (696, 602)]] but does NOT match your detect pattern filte2481r]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:502 [intersection: object:book,POLYGON ((662 343, 708 343, 708 597, 662 597, 662 343)) intersects polygon:full_image,POLYGON ((0 0, 800 0, 800 600, 0 600, 0 0))]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:518 [Using global match pattern: (person|car|motorbike|bus|truck|boat)]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:535 [full_image intersects object:book[[(662, 343), (708, 343), (708, 597), (662, 597)]] but does NOT match your detect pattern filter]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:753 [breaking out of same model loop, as matches found and strategy is "first"]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG1 detect_sequence.py:669 [============ Frame: snapshot Running face detection type in sequence ==================]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:190 [Skipping TPU face detection as it is disabled]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:190 [Skipping DLIB based face recognition as it is disabled]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG3 detect_sequence.py:689 [face has a same_model_sequence strategy of union]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:770 [We did not find any face matches in frame: snapshot]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG1 detect_sequence.py:669 [============ Frame: snapshot Running alpr detection type in sequence ==================]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 detect_sequence.py:672 [Making sure we have matched one of ['car', 'motorbike', 'bus', 'truck', 'boat'] in ['person'] before we proceed]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG1 detect_sequence.py:674 [Did not find pre existing labels, not running detection type]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG3 Media.py:271 [Reading https://192.168.1.50:8443/zm/index.php?view=image&eid=2481&fid=alarm]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG3 api.py:144 [No need to relogin as access token still has 119.91905788333334 minutes remaining]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG3 api.py:272 [make_request called with url=https://192.168.1.50:8443/zm/index.php?view=image&eid=2481&fid=alarm payload={} type=get query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjQ4MjQ2Njk5LCJleHAiOjE2NDgyNTM4OTksInVzZXIiOiJzdGV2ZSIsInR5cGUiOiJhY2Nlc3MifQ.7L3m4Lf4yLc1Z2y4E5E4l8TL-Fz13GXphpLOPQtTvU8'}]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG1 detect_sequence.py:654 [perf: Starting for frame:alarm]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG1 detect_sequence.py:664 [Sequence of detection types to execute: ['object', 'face', 'alpr']]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG1 detect_sequence.py:669 [============ Frame: alarm Running object detection type in sequence ==================]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG3 detect_sequence.py:689 [object has a same_model_sequence strategy of first]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG1 detect_sequence.py:701 [--------- Frame:alarm Running variation: #1 -------------]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 yolo.py:123 [detect extracted image dimensions as: 800wx600h]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 yolo.py:49 [Waiting for pyzm_uid33_cpu_lock portalock...]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG2 yolo.py:51 [Got pyzm_uid33_cpu_lock portalock]
- 03/25/22 15:18:24 zmesdetect_m1[9528] DBG1 yolo.py:147 [|---------- YOLO (input image: 800w*600h, model resize dimensions: 416w*416h) ----------|]
- ==> /var/log/zm/zmeventnotification.log <==
- 03/25/22 15:18:24.388925 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 DB Event notes contain detection text, all good]
- 03/25/22 15:18:24.389171 zmeventnotification[9500].INF [main:1018] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 end hooks/use hooks not being used, going to directly send out a notification if checks pass]
- ==> /var/log/zm/zmesdetect_m1.log <==
- 03/25/22 15:18:25 zmesdetect_m1[9528] DBG2 yolo.py:67 [Released pyzm_uid33_cpu_lock portalock]
- 03/25/22 15:18:25 zmesdetect_m1[9528] DBG1 yolo.py:173 [perf: processor:cpu Yolo detection took: 1534.51 ms]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 yolo.py:208 [perf: processor:cpu Yolo NMS filtering took: 1.21 ms]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 object.py:66 [core model detection over, got 4 objects. Now filtering]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 object.py:70 [Max object size found to be: 90%]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 object.py:78 [Converted 90% to 432000.0]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 object.py:93 [Ignoring object:book, as it's area: 484408px exceeds max_object_area of 432000.0px]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 object.py:101 [Ignoring book [728, 332, 766, 600] as conf. level 0.21499359607696533 is lower than 0.3]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 object.py:103 [Returning filtered list of 2 objects.]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 detect_sequence.py:711 [This model iteration inside object found: labels: ['book', 'book'],conf:[0.5947258472442627, 0.5044583082199097]]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 detect_sequence.py:424 [Max object size found to be: 90%]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 detect_sequence.py:432 [Converted 90% to 432000.0]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 detect_sequence.py:502 [intersection: object:book,POLYGON ((694 335, 748 335, 748 601, 694 601, 694 335)) intersects polygon:full_image,POLYGON ((0 0, 800 0, 800 600, 0 600, 0 0))]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 detect_sequence.py:518 [Using global match pattern: (person|car|motorbike|bus|truck|boat)]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 detect_sequence.py:535 [full_image intersects object:book[[(694, 335), (748, 335), (748, 601), (694, 601)]] but does NOT match your detect pattern filter]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 detect_sequence.py:502 [intersection: object:book,POLYGON ((662 344, 710 344, 710 594, 662 594, 662 344)) intersects polygon:full_image,POLYGON ((0 0, 800 0, 800 600, 0 600, 0 0))]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 detect_sequence.py:518 [Using global match pattern: (person|car|motorbike|bus|truck|boat)]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 detect_sequence.py:535 [full_image intersects object:book[[(662, 344), (710, 344), (710, 594), (662, 594)]] but does NOT match your detect pattern filter]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 detect_sequence.py:770 [We did not find any object matches in frame: alarm]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG1 detect_sequence.py:669 [============ Frame: alarm Running face detection type in sequence ==================]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 detect_sequence.py:190 [Skipping TPU face detection as it is disabled]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 detect_sequence.py:190 [Skipping DLIB based face recognition as it is disabled]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG3 detect_sequence.py:689 [face has a same_model_sequence strategy of union]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 detect_sequence.py:770 [We did not find any face matches in frame: alarm]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG1 detect_sequence.py:669 [============ Frame: alarm Running alpr detection type in sequence ==================]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG2 detect_sequence.py:672 [Making sure we have matched one of ['car', 'motorbike', 'bus', 'truck', 'boat'] in [] before we proceed]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG1 detect_sequence.py:674 [Did not find pre existing labels, not running detection type]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG1 detect_sequence.py:827 [perf: TOTAL detection sequence (with image loads) took: 6727.65 ms to process 2481]
- 03/25/22 15:18:26 zmesdetect_m1[9528] INF zm_detect.py:471 [Prediction string:[s] detected:person:98% ]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG1 zm_detect.py:473 [Prediction string JSON:{"labels": ["person"], "boxes": [[117, 10, 441, 594]], "frame_id": "snapshot", "confidences": [0.9772003889083862], "image_dimensions": {"original": [480, 640], "resized": [600, 800]}}]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG1 zm_detect.py:492 [Writing detected image to /var/cache/zoneminder/events/1/2022-03-25/2481/objdetect.jpg]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG1 zm_detect.py:496 [Writing JSON output to /var/cache/zoneminder/events/1/2022-03-25/2481/objects.json]
- 03/25/22 15:18:26 zmesdetect_m1[9528] DBG1 zm_detect.py:550 [Closing logs]
- ==> /var/log/zm/zmeventnotification.log <==
- 03/25/22 15:18:26.271684 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 parse of hook:[s] detected:person:98% and {"labels": ["person"], "boxes": [[117, 10, 441, 594]], "frame_id": "snapshot", "confidences": [0.9772003889083862], "image_dimensions": {"original": [480, 640], "resized": [600, 800]}}]
- 03/25/22 15:18:26.271898 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 hook start returned with text:[s] detected:person:98% json:{"labels": ["person"], "boxes": [[117, 10, 441, 594]], "frame_id": "snapshot", "confidences": [0.9772003889083862], "image_dimensions": {"original": [480, 640], "resized": [600, 800]}} exit:0]
- 03/25/22 15:18:26.272625 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 For 1 (Camera1-BesderA6-PTZ-1), SHM says: state=0, eid=2481]
- 03/25/22 15:18:26.273217 zmeventnotification[9524].INF [main:1018] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 Event 2481 for Monitor 1 has finished]
- 03/25/22 15:18:26.276496 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 Event end object is: state=>pending with cause=>Motion: All]
- 03/25/22 15:18:26.391210 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 rules: Checking rules for alarm caused by eid:2480, monitor:1, at: Fri Mar 25 15:18:26 2022 with cause:[s] detected:person:98% Motion All]
- 03/25/22 15:18:26.391429 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 rules: No rules found for Monitor, allowing:1]
- 03/25/22 15:18:26.391646 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 Matching alarm to connection rules...]
- 03/25/22 15:18:26.392027 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 isAllowedChannel: got type:event_end resCode:0]
- 03/25/22 15:18:26.392370 zmeventnotification[9500].INF [main:1018] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 Sending event_end notification over FCM]
- 03/25/22 15:18:26.394367 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 Resetting counters for tokenBqYagXnjLX as month changed]
- 03/25/22 15:18:26.394569 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 setting channel to zmninja]
- 03/25/22 15:18:26.394737 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 fcmv1: Final JSON using FCMV1 being sent is: {"data":{"notification_foreground":"true","eid":"2480","mid":"1"},"title":"Ended:Camera1-BesderA6-PTZ-1 Alarm (2480)","token":"camCNCqgQRutGXxnaJKDiR:APA91bEvnNQTgMXHb1_ojo7NtcobGDWrlAOmoGn0jRjt0JwCyV66_loYTRd_QIAiQEXEhPW4jeD50N_wqiKo-kQBZLsO-9xABbBbJ_fmtXHgf2jJJ6sacg8PMpDy9IGK1fBqYagXnjLX","body":"Motion: All ended at 03:18 PM, 25-Mar","image_url":"https://portal/zm/index.php?view=image&eid=2480&fid=objdetect&width=600&username=steve&password=xxx}} to token: ...gXnjLX]
- 03/25/22 15:18:26.593675 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 fcmv1: FCM push message returned a 200 with body {"Success":"projects/ninja-1105/messages/0:1648246730744527%311426be311426be"}]
- 03/25/22 15:18:26.593923 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 child finished writing to parent]
- 03/25/22 15:18:26.960255 zmeventnotification[4978].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:2, total forks:16, active hooks: 1 running for:846 min)<--------------]
- 03/25/22 15:18:26.960476 zmeventnotification[4978].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/25/22 15:18:26.961179 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->timestamp--TYPE--1648245815.89102--SPLIT--1--SPLIT--1648246701.37903]
- 03/25/22 15:18:26.961388 zmeventnotification[4978].DB1 [main:1006] [PARENT: Job: Update last sent timestamp of monitor:1 to 1648246701.37903 for id:1648245815.89102]Logs for 2481
- 03/25/22 15:18:26.961865 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->update_parallel_hooks--TYPE--del]
- 03/25/22 15:18:26.963772 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->active_event_update--TYPE--1--SPLIT--2481--SPLIT--Start--SPLIT--Cause--SPLIT--[s] detected:person:98% Motion All--JSON--{"labels": ["person"], "boxes": [[117, 10, 441, 594]], "frame_id": "snapshot", "confidences": [0.9772003889083862], "image_dimensions": {"original": [480, 640], "resized": [600, 800]}}]
- 03/25/22 15:18:26.964069 zmeventnotification[4978].DB1 [main:1006] [PARENT: Job: Update active_event eid:2481, mid:1, type:Start, field:Cause to: [s] detected:person:98% Motion All--JSON--{"labels": ["person"], "boxes": [[117, 10, 441, 594]], "frame_id": "snapshot", "confidences": [0.9772003889083862], "image_dimensions": {"original": [480, 640], "resized": [600, 800]}}]
- 03/25/22 15:18:26.964581 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->event_description--TYPE--1--SPLIT--2481--SPLIT--[s] detected:person:98% ]
- 03/25/22 15:18:26.964706 zmeventnotification[4978].DB1 [main:1006] [PARENT: Job: Update monitor 1 description:[s] detected:person:98% ]
- 03/25/22 15:18:26.964846 zmeventnotification[4978].DB1 [main:1006] [PARENT: updating Notes clause for Event:2481 with:[s] detected:person:98% ]
- 03/25/22 15:18:26.968635 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->fcm_notification--TYPE--camCNCqgQRutGXxnaJKDiR:APA91bEvnNQTgMXHb1_ojo7NtcobGDWrlAOmoGn0jRjt0JwCyV66_loYTRd_QIAiQEXEhPW4jeD50N_wqiKo-kQBZLsO-9xABbBbJ_fmtXHgf2jJJ6sacg8PMpDy9IGK1fBqYagXnjLX--SPLIT--1--SPLIT--1--SPLIT--2]
- 03/25/22 15:18:26.968774 zmeventnotification[4978].DB1 [main:1006] [PARENT: GOT JOB==> update badge to 1, count to 1 for: camCNCqgQRutGXxnaJKDiR:APA91bEvnNQTgMXHb1_ojo7NtcobGDWrlAOmoGn0jRjt0JwCyV66_loYTRd_QIAiQEXEhPW4jeD50N_wqiKo-kQBZLsO-9xABbBbJ_fmtXHgf2jJJ6sacg8PMpDy9IGK1fBqYagXnjLX, at: 2]
- 03/25/22 15:18:26.969245 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->timestamp--TYPE--1648245815.89102--SPLIT--1--SPLIT--1648246706.39178]
- 03/25/22 15:18:26.969370 zmeventnotification[4978].DB1 [main:1006] [PARENT: Job: Update last sent timestamp of monitor:1 to 1648246706.39178 for id:1648245815.89102]
- 03/25/22 15:18:26.969494 zmeventnotification[4978].DB1 [main:1006] [PARENT: There are 2 active child forks & 0 zm_detect processes running...]
- 03/25/22 15:18:26.969781 zmeventnotification[4978].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
- 03/25/22 15:18:26.969883 zmeventnotification[4978].DB1 [main:1006] [PARENT: There are 0 new Events to process]
- 03/25/22 15:18:26.969994 zmeventnotification[4978].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:2, total forks:16, active hooks: 0)<--------------]
- 03/25/22 15:18:28.277471 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 rules: Checking rules for alarm caused by eid:2481, monitor:1, at: Fri Mar 25 15:18:28 2022 with cause:[s] detected:person:98% Motion All]
- 03/25/22 15:18:28.277686 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 rules: No rules found for Monitor, allowing:1]
- 03/25/22 15:18:28.277892 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 Matching alarm to connection rules...]
- 03/25/22 15:18:28.278127 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 Checking alarm conditions for token ending in:...BqYagXnjLX]
- 03/25/22 15:18:28.278394 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 Monitor 1 event: should send out as 197.71405005455 is >= interval of 0]
- 03/25/22 15:18:28.278549 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 token is unique, shouldSendEventToConn returned true, so calling sendEvent]
- 03/25/22 15:18:28.278848 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 isAllowedChannel: got type:event_start resCode:0]
- 03/25/22 15:18:28.279192 zmeventnotification[9524].INF [main:1018] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 Sending event_start notification over FCM]
- 03/25/22 15:18:28.281680 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 Resetting counters for tokenBqYagXnjLX as month changed]
- 03/25/22 15:18:28.282083 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 fcmv1: Snapshot frame matched, changing picture url to:https://portal/zm/index.php?view=image&eid=2481&fid=objdetect&width=600&username=steve&password=testing456 ]
- 03/25/22 15:18:28.282453 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 setting channel to zmninja]
- 03/25/22 15:18:28.282731 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 fcmv1: Final JSON using FCMV1 being sent is: {"title":"Camera1-BesderA6-PTZ-1 Alarm (2481)","data":{"notification_foreground":"true","eid":"2481","mid":"1"},"body":"[s] detected:person:98% Motion All at 03:18 PM, 25-Mar","token":"camCNCqgQRutGXxnaJKDiR:APA91bEvnNQTgMXHb1_ojo7NtcobGDWrlAOmoGn0jRjt0JwCyV66_loYTRd_QIAiQEXEhPW4jeD50N_wqiKo-kQBZLsO-9xABbBbJ_fmtXHgf2jJJ6sacg8PMpDy9IGK1fBqYagXnjLX","sound":"default","android":{"icon":"ic_stat_notification","channel":"zmninja","priority":"high"},"image_url":"https://portal/zm/index.php?view=image&eid=2481&fid=objdetect&width=600&username=steve&password=xxx} to token: ...gXnjLX]
- 03/25/22 15:18:28.583403 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 fcmv1: FCM push message returned a 200 with body {"Success":"projects/ninja-1105/messages/0:1648246732715053%311426be311426be"}]
- 03/25/22 15:18:28.583663 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 child finished writing to parent]
- 03/25/22 15:18:30.584902 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 DB Event notes contain detection text, all good]
- 03/25/22 15:18:30.585244 zmeventnotification[9524].INF [main:1018] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 end hooks/use hooks not being used, going to directly send out a notification if checks pass]
- 03/25/22 15:18:30.594758 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 exiting]
- 03/25/22 15:18:30.594948 zmeventnotification[9500].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2480 Ending process:9500 to handle alarms]
- 03/25/22 15:18:31.958863 zmeventnotification[4978].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:2, total forks:16, active hooks: 0 running for:846 min)<--------------]
- 03/25/22 15:18:31.959048 zmeventnotification[4978].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/25/22 15:18:31.960270 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->fcm_notification--TYPE--camCNCqgQRutGXxnaJKDiR:APA91bEvnNQTgMXHb1_ojo7NtcobGDWrlAOmoGn0jRjt0JwCyV66_loYTRd_QIAiQEXEhPW4jeD50N_wqiKo-kQBZLsO-9xABbBbJ_fmtXHgf2jJJ6sacg8PMpDy9IGK1fBqYagXnjLX--SPLIT--1--SPLIT--1--SPLIT--2]
- 03/25/22 15:18:31.960416 zmeventnotification[4978].DB1 [main:1006] [PARENT: GOT JOB==> update badge to 1, count to 1 for: camCNCqgQRutGXxnaJKDiR:APA91bEvnNQTgMXHb1_ojo7NtcobGDWrlAOmoGn0jRjt0JwCyV66_loYTRd_QIAiQEXEhPW4jeD50N_wqiKo-kQBZLsO-9xABbBbJ_fmtXHgf2jJJ6sacg8PMpDy9IGK1fBqYagXnjLX, at: 2]
- 03/25/22 15:18:31.960925 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->timestamp--TYPE--1648245815.89102--SPLIT--1--SPLIT--1648246708.27865]
- 03/25/22 15:18:31.961061 zmeventnotification[4978].DB1 [main:1006] [PARENT: Job: Update last sent timestamp of monitor:1 to 1648246708.27865 for id:1648245815.89102]
- 03/25/22 15:18:31.961460 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->active_event_delete--TYPE--1--SPLIT--2480]
- 03/25/22 15:18:31.961616 zmeventnotification[4978].DB1 [main:1006] [PARENT: Job: Deleting active_event eid:2480, mid:1]
- 03/25/22 15:18:31.961809 zmeventnotification[4978].DB1 [main:1006] [PARENT: There are 1 active child forks & 0 zm_detect processes running...]
- 03/25/22 15:18:31.962119 zmeventnotification[4978].DB1 [main:1006] [PARENT: checkEvents() new events found=0]
- 03/25/22 15:18:31.962229 zmeventnotification[4978].DB1 [main:1006] [PARENT: There are 0 new Events to process]
- 03/25/22 15:18:31.962347 zmeventnotification[4978].DB1 [main:1006] [PARENT: ---------->Tick END (active forks:1, total forks:16, active hooks: 0)<--------------]
- 03/25/22 15:18:32.588501 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 rules: Checking rules for alarm caused by eid:2481, monitor:1, at: Fri Mar 25 15:18:32 2022 with cause:[s] detected:person:98% Motion All]
- 03/25/22 15:18:32.588672 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 rules: No rules found for Monitor, allowing:1]
- 03/25/22 15:18:32.588823 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 Matching alarm to connection rules...]
- 03/25/22 15:18:32.589048 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 isAllowedChannel: got type:event_end resCode:0]
- 03/25/22 15:18:32.589357 zmeventnotification[9524].INF [main:1018] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 Sending event_end notification over FCM]
- 03/25/22 15:18:32.592005 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 Resetting counters for tokenBqYagXnjLX as month changed]
- 03/25/22 15:18:32.592304 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 setting channel to zmninja]
- 03/25/22 15:18:32.592556 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 fcmv1: Final JSON using FCMV1 being sent is: {"badge":1,"image_url":"https://portal/zm/index.php?view=image&eid=2481&fid=objdetect&width=600&username=steve&password=xxx},"title":"Ended:Camera1-BesderA6-PTZ-1 Alarm (2481)","data":{"mid":"1","eid":"2481","notification_foreground":"true"},"body":"Motion: All ended at 03:18 PM, 25-Mar","token":"camCNCqgQRutGXxnaJKDiR:APA91bEvnNQTgMXHb1_ojo7NtcobGDWrlAOmoGn0jRjt0JwCyV66_loYTRd_QIAiQEXEhPW4jeD50N_wqiKo-kQBZLsO-9xABbBbJ_fmtXHgf2jJJ6sacg8PMpDy9IGK1fBqYagXnjLX"} to token: ...gXnjLX]
- 03/25/22 15:18:32.802621 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 fcmv1: FCM push message returned a 200 with body {"Success":"projects/ninja-1105/messages/0:1648246736952111%311426be311426be"}]
- 03/25/22 15:18:32.802854 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 child finished writing to parent]
- 03/25/22 15:18:36.803759 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 exiting]
- 03/25/22 15:18:36.804041 zmeventnotification[9524].DB1 [main:1006] [|----> FORK:Camera1-BesderA6-PTZ-1 (1), eid:2481 Ending process:9524 to handle alarms]
- 03/25/22 15:18:36.960199 zmeventnotification[4978].DB1 [main:1006] [PARENT: ----------> Tick START (active forks:1, total forks:16, active hooks: 0 running for:846 min)<--------------]
- 03/25/22 15:18:36.960384 zmeventnotification[4978].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/25/22 15:18:36.961627 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->fcm_notification--TYPE--camCNCqgQRutGXxnaJKDiR:APA91bEvnNQTgMXHb1_ojo7NtcobGDWrlAOmoGn0jRjt0JwCyV66_loYTRd_QIAiQEXEhPW4jeD50N_wqiKo-kQBZLsO-9xABbBbJ_fmtXHgf2jJJ6sacg8PMpDy9IGK1fBqYagXnjLX--SPLIT--1--SPLIT--1--SPLIT--2]
- 03/25/22 15:18:36.961786 zmeventnotification[4978].DB1 [main:1006] [PARENT: GOT JOB==> update badge to 1, count to 1 for: camCNCqgQRutGXxnaJKDiR:APA91bEvnNQTgMXHb1_ojo7NtcobGDWrlAOmoGn0jRjt0JwCyV66_loYTRd_QIAiQEXEhPW4jeD50N_wqiKo-kQBZLsO-9xABbBbJ_fmtXHgf2jJJ6sacg8PMpDy9IGK1fBqYagXnjLX, at: 2]
- 03/25/22 15:18:36.962334 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->timestamp--TYPE--1648245815.89102--SPLIT--1--SPLIT--1648246712.58895]
- 03/25/22 15:18:36.962483 zmeventnotification[4978].DB1 [main:1006] [PARENT: Job: Update last sent timestamp of monitor:1 to 1648246712.58895 for id:1648245815.89102]
- 03/25/22 15:18:36.962915 zmeventnotification[4978].DB1 [main:1006] [PARENT: RAW TEXT-->active_event_delete--TYPE--1--SPLIT--2481]
- 03/25/22 15:18:36.963062 zmeventnotification[4978].DB1 [main:1006] [PARENT: Job: Deleting active_event eid:2481, mid:1]
- 03/25/22 15:18:36.963229 zmeventnotification[4978].DB1 [main:1006] [PARENT: There are 0 active child forks & 0 zm_detect processes running...]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement