· 6 years ago · Mar 02, 2020, 01:36 PM
1sudo -u www-data /usr/bin/zmeventnotification.pl --config /etc/zm/zmeventnotification.ini
203/02/2020 08:05:42.220835 zmeventnotification[3143].INF [main:619] [using config file: /etc/zm/zmeventnotification.ini]
303/02/2020 08:05:42.226764 zmeventnotification[3143].INF [main:619] [using secrets file: /etc/zm/secrets.ini]
403/02/2020 08:05:42.229963 zmeventnotification[3143].INF [main:619] [ES will be restarted at 10800 seconds]
5CONSOLE DEBUG:2020-03-02,08:05:42 Got secret token !ZMES_PICTURE_URL
6CONSOLE DEBUG:2020-03-02,08:05:42 Got secret token !ZM_USER
7CONSOLE DEBUG:2020-03-02,08:05:42 Got secret token !ZM_PASSWORD
8
9Configuration (read /etc/zm/zmeventnotification.ini):
10
11Secrets file................... /etc/zm/secrets.ini
12Restart interval (secs)........ 10800
13
14Port .......................... 9000
15Address ....................... [::]
16Event check interval .......... 5
17Monitor reload interval ....... 300
18
19Auth enabled .................. yes
20Auth timeout .................. 20
21
22Use FCM ....................... no
23FCM API key ................... (defined)
24Token file .................... /var/lib/zmeventnotification/push/tokens.txt
25
26Use MQTT .......................yes
27MQTT Server ....................192.168.1.200
28MQTT Username ..................openhabian
29MQTT Password ..................(defined)
30
31SSL enabled ................... yes
32SSL cert file ................. /etc/letsencrypt/live/home.weichmann.org/fullchain.pem
33SSL key file .................. /etc/letsencrypt/live/home.weichmann.org/privkey.pem
34
35Verbose ....................... yes
36Read alarm cause .............. yes
37Tag alarm event id ............ no
38Use custom notification sound . no
39
40Hook .......................... '/var/lib/zmeventnotification/bin/zm_detect_wrapper.sh'
41Use Hook Description........... yes
42Keep frame match type.......... no
43Skipped monitors............... 4,6
44Store Frame in ZM...............no
45
46
47Picture URL ................... https://home.weichmann.org/zm/index.php?view=image&eid=EVENTID&fid=snapshot&width=600
48Include picture................ yes
49Picture username .............. admin
50Picture password .............. (defined)
51
52CONSOLE INFO:2020-03-02,08:05:42 FCM disabled. Will only send out websocket notifications
5303/02/2020 08:05:42.236693 zmeventnotification[3143].INF [main:619] [FCM disabled. Will only send out websocket notifications]
54CONSOLE INFO:2020-03-02,08:05:42 MQTT Enabled
5503/02/2020 08:05:42.241434 zmeventnotification[3143].INF [main:619] [MQTT Enabled]
56CONSOLE INFO:2020-03-02,08:05:42 You are running version: 4.7
5703/02/2020 08:05:42.244673 zmeventnotification[3143].INF [main:619] [You are running version: 4.7]
58CONSOLE DEBUG:2020-03-02,08:05:42 Started with: perl:/usr/bin/perl and command:/usr/bin/zmeventnotification.pl
59Can't ignore signal CHLD, forcing to default.
60CONSOLE DEBUG:2020-03-02,08:05:42 ES invoked manually. Will handle restarts ourselves
61CONSOLE DEBUG:2020-03-02,08:05:42 Parent<--Child pipe ready
62CONSOLE INFO:2020-03-02,08:05:42 Event Notification daemon v 4.7 starting
63
6403/02/2020 08:05:42.334537 zmeventnotification[3143].INF [main:619] [Event Notification daemon v 4.7 starting]
65CONSOLE INFO:2020-03-02,08:05:42 Initializing MQTT connection...
6603/02/2020 08:05:42.334573 zmeventnotification[3143].INF [main:619] [Initializing MQTT connection...]
67CONSOLE INFO:2020-03-02,08:05:42 Intialized MQTT with auth
6803/02/2020 08:05:42.334635 zmeventnotification[3143].INF [main:619] [Intialized MQTT with auth]
69CONSOLE INFO:2020-03-02,08:05:42 Total event client connections: 1
70
7103/02/2020 08:05:42.334685 zmeventnotification[3143].INF [main:619] [Total event client connections: 1]
72CONSOLE DEBUG:2020-03-02,08:05:42 -->checkNewEvents: Connection 1: ID-> IP->(none) Token->:... Plat: Push:
73CONSOLE INFO:2020-03-02,08:05:42 Reloading Monitors...
74
7503/02/2020 08:05:42.334726 zmeventnotification[3143].INF [main:619] [Reloading Monitors...]
76CONSOLE INFO:2020-03-02,08:05:42 Re-loading monitors, emptying needsReload() list
77
7803/02/2020 08:05:42.334752 zmeventnotification[3143].INF [main:619] [Re-loading monitors, emptying needsReload() list]
79CONSOLE DEBUG:2020-03-02,08:05:42 checkEvents() events found=0
80CONSOLE INFO:2020-03-02,08:05:42 About to start listening to socket
8103/02/2020 08:05:42.336102 zmeventnotification[3143].INF [main:619] [About to start listening to socket]
82CONSOLE INFO:2020-03-02,08:05:42 Secure WS(WSS) is enabled...
8303/02/2020 08:05:42.337565 zmeventnotification[3143].INF [main:619] [Secure WS(WSS) is enabled...]
84CONSOLE INFO:2020-03-02,08:05:42 Web Socket Event Server listening on port 9000
85
8603/02/2020 08:05:42.337591 zmeventnotification[3143].INF [main:619] [Web Socket Event Server listening on port 9000]
87CONSOLE DEBUG:2020-03-02,08:05:47 ---------->Tick START<--------------
88CONSOLE DEBUG:2020-03-02,08:05:47 After tick: TOTAL: 1, FCM+WEB: 0, FCM: 0, WEB: 0, MQTT:1, invalid WEB: 0, PENDING: 0
89CONSOLE DEBUG:2020-03-02,08:05:47 Empty job queue
90CONSOLE DEBUG:2020-03-02,08:05:47 checkEvents() events found=0
91CONSOLE DEBUG:2020-03-02,08:05:47 ---------->Tick END<--------------