I am lost in the configuration of zmeventnotification

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

I am lost in the configuration of zmeventnotification

Post by titof2375 »

Hello and sorry for my English, as the title says I am lost in the configuration of I am lost in the configuration of zmeventnotification between the tutorials which are not up to date and the changes made in zmeventnotification. I tried to go through the https://github.com/pliablepixels/zmeventnotification
My, I don't understand a thing, if a charitable soul can help me.
tsp84
Posts: 227
Joined: Thu Dec 24, 2020 4:04 am

Re: I am lost in the configuration of zmeventnotification

Post by tsp84 »

Do you have a GPU or a TPU for object detection? This will change how its set up.

What don't you understand? What is the problem?
Have you installed the ES? Have you read the docs?

I installed everything needed for ES and GPU obj Det using the readthedocs docs.
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: I am lost in the configuration of zmeventnotification

Post by titof2375 »

how to say, my system does not detect any object and thus no notification in mqtt, I think that I have badly configured a parameter. My what I do not know precisely and I can not find a tutorial to install correctly with the last update.
I am french and I go through google translate.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: I am lost in the configuration of zmeventnotification

Post by Magic919 »

Code: Select all

sudo -u www-data /var/lib/zmeventnotification/bin/zm_detect.py  -c /etc/zm/objectconfig.ini -e 24524
Make sure the event number (24524) matches an alarm on your system. What does it do?

Check logs also.
-
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: I am lost in the configuration of zmeventnotification

Post by titof2375 »

zoneminder1.PNG
zoneminder1.PNG (6.3 KiB) Viewed 20903 times
nothing happens
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: I am lost in the configuration of zmeventnotification

Post by Magic919 »

Ok.

And the logs? Should be some zmesdetect***.log.

Code: Select all

egrep 'FAT|ERR|WAR' /var/log/zm/zmes*.log
-
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: I am lost in the configuration of zmeventnotification

Post by Magic919 »

Also please test

Code: Select all

sudo -u www-data /var/lib/zmeventnotification/bin/zm_event_start.sh
Add the eventID and MonitorID.
-
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: I am lost in the configuration of zmeventnotification

Post by titof2375 »

zoneminder erreur1.PNG
zoneminder erreur1.PNG (65.31 KiB) Viewed 20888 times
Magic919 wrote: Mon Mar 15, 2021 1:20 pm Ok.

And the logs? Should be some zmesdetect***.log.

Code: Select all

egrep 'FAT|ERR|WAR' /var/log/zm/zmes*.log
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: I am lost in the configuration of zmeventnotification

Post by titof2375 »

Magic919 wrote: Mon Mar 15, 2021 1:30 pm Also please test

Code: Select all

sudo -u www-data /var/lib/zmeventnotification/bin/zm_event_start.sh
Add the eventID and MonitorID.
zoneminder 5666.PNG
zoneminder 5666.PNG (8.09 KiB) Viewed 20888 times
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: I am lost in the configuration of zmeventnotification

Post by Magic919 »

Ok. The FAT error is FATAL, so it won't work.

It's throwing an exception and I'm not clever enough to know why.

Might be worth testing your config with this.

Code: Select all

sudo /usr/bin/zmeventnotification.pl --check-config
The author @asker might appear here if we are lucky.
-
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: I am lost in the configuration of zmeventnotification

Post by titof2375 »

Magic919 wrote: Mon Mar 15, 2021 6:09 pm Ok. The FAT error is FATAL, so it won't work.

It's throwing an exception and I'm not clever enough to know why.

Might be worth testing your config with this.

Code: Select all

sudo /usr/bin/zmeventnotification.pl --check-config
The author @asker might appear here if we are lucky.
config1.PNG
config1.PNG (50.44 KiB) Viewed 20864 times
config2.PNG
config2.PNG (40.96 KiB) Viewed 20864 times
config3.PNG
config3.PNG (40.14 KiB) Viewed 20864 times
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: I am lost in the configuration of zmeventnotification

Post by Magic919 »

That Picture URL is meant to point to your Zoneminder instance.
-
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: I am lost in the configuration of zmeventnotification

Post by titof2375 »

Magic919 wrote: Tue Mar 16, 2021 8:16 am That Picture URL is meant to point to your Zoneminder instance.
zone3_LI.jpg
zone3_LI.jpg (557.84 KiB) Viewed 20833 times

hi, are you talking about what's surrounded.
After which it is in which file suddenly?
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: I am lost in the configuration of zmeventnotification

Post by Magic919 »

In secrets.ini. It's the first one, but you might as well check the other ones too.

Code: Select all

/etc/zm/secrets.ini:ZMES_PICTURE_URL=http://ZM_HOST/zm/index.php?view=image&eid=EVENTID&fid=alarm&width=600
/etc/zm/secrets.ini:ZM_PORTAL=http://ZM_HOST/zm
/etc/zm/secrets.ini:ZM_API_PORTAL=http://ZM_HOST/zm/api
ZM_HOST change to match your server.
-
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: I am lost in the configuration of zmeventnotification

Post by titof2375 »

pas compris.PNG
pas compris.PNG (50 KiB) Viewed 20817 times
I don't understand how to do it
Post Reply