I am lost in the configuration of zmeventnotification
Re: I am lost in the configuration of zmeventnotification
Magic919, thanks for helping here - but this thread is a challenge.
@titof2375: ES+hooks is well documented and updated. It is possible you are either facing issues due to translation to French, and/or, you may not be particularly hands on with the terminal and linux based configuration. The latter is particularly important for you to get started.
I frankly have a lack of time to help out at the level that I feel you need help looking at your responses. May I suggest you instead look at using pre-configured dockers of ES+Hooks? https://github.com/dlandon/zoneminder.machine.learning is one such docker.
I know you've been at it for a while, so I'm not knocking you for trying, but I do feel you may be better off with a dockerized image. The other alternate is to potentially see if someone is willing to just help you install and configure it for you for a fee (again, not me, but maybe someone else)
@titof2375: ES+hooks is well documented and updated. It is possible you are either facing issues due to translation to French, and/or, you may not be particularly hands on with the terminal and linux based configuration. The latter is particularly important for you to get started.
I frankly have a lack of time to help out at the level that I feel you need help looking at your responses. May I suggest you instead look at using pre-configured dockers of ES+Hooks? https://github.com/dlandon/zoneminder.machine.learning is one such docker.
I know you've been at it for a while, so I'm not knocking you for trying, but I do feel you may be better off with a dockerized image. The other alternate is to potentially see if someone is willing to just help you install and configure it for you for a fee (again, not me, but maybe someone else)
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Re: I am lost in the configuration of zmeventnotification
Code: Select all
nano /etc/zm/secrets.ini
Then save and exit. Control X, Y
Make sure you don’t add ZM_HOST and use YOUR server details.
PS. the chief has arrived.
-
Re: I am lost in the configuration of zmeventnotification
then on the tutorial followed I had to set the parameter in
cd /etc/zm
nano zmeventnotification.ini
it's always up to date
cd /etc/zm
nano zmeventnotification.ini
it's always up to date
Last edited by titof2375 on Wed Mar 17, 2021 5:52 am, edited 1 time in total.
Re: I am lost in the configuration of zmeventnotification
Magic919 wrote: ↑Tue Mar 16, 2021 6:25 pmThen add the lines you need.Code: Select all
nano /etc/zm/secrets.ini
Then save and exit. Control X, Y
Make sure you don’t add ZM_HOST and use YOUR server details.
PS. the chief has arrived.
Re: I am lost in the configuration of zmeventnotification
I also put you my configuration of zmeventnotification.ini
Re: I am lost in the configuration of zmeventnotification
You have a typo in your secrets.ini file in your PICTURE line. There's a : where a / should be after your IP address.
Did you follow the docs and setup auth in zoneminder options with a hash passphrase and append IP off? Are those credentials correct for a user you created in the zoneminder options and that that user has access to the API?
Did you follow the docs and setup auth in zoneminder options with a hash passphrase and append IP off? Are those credentials correct for a user you created in the zoneminder options and that that user has access to the API?
Re: I am lost in the configuration of zmeventnotification
Here is a picture of what I mean for the options. Where it has the big blur, you need to input a random string to use for hashing, doesnt matter what it is. Also are your ports forwarded for the websockets so that the ES can talk to zmNinja? port 9000 is default in the configs if your using zmNinja mobile. You can test using zmNinja on desktop on local network for now I think. IDK if pictures will work but you should at least get a desktop app notification?
- Attachments
-
- Screenshot from 2021-03-17 00-26-17.jpg (245.77 KiB) Viewed 16673 times
Re: I am lost in the configuration of zmeventnotification
You also need to create a user and password for the ES to talk with zoneminder API's in the zoneminder webgui. Here is a picture of that screen it is in "Options > Users". I have "api_user" setup just for the ES. You could use the "admin" account but I think its good practice to create a regular account. Once you have the user and password created you need to place those in secrets.ini.
Did you follow the readthedocs and install the Perl modules needed? numpy, pillow and all that stuff for python? OpenCV and OpenCV contrib 4.3+ ?
Let me know if this is hard to understand and ill try and use google translate.
Did you follow the readthedocs and install the Perl modules needed? numpy, pillow and all that stuff for python? OpenCV and OpenCV contrib 4.3+ ?
Let me know if this is hard to understand and ill try and use google translate.
- Attachments
-
- "Users" in web GUI
- Screenshot from 2021-03-17 00-35-40.jpg (210.22 KiB) Viewed 16673 times
Re: I am lost in the configuration of zmeventnotification
Are you talking about this line ZMES_PICTURE_URL = http: //192.168.1.5: zm / portal / zm / index.php? view = image & eid = EVENTID & fid = objdetect & width = 600tsp84 wrote: ↑Wed Mar 17, 2021 6:06 am You have a typo in your secrets.ini file in your PICTURE line. There's a : where a / should be after your IP address.
Did you follow the docs and setup auth in zoneminder options with a hash passphrase and append IP off? Are those credentials correct for a user you created in the zoneminder options and that that user has access to the API?
no ip is http://192.168.1.5:zm to have zoneminder
Re: I am lost in the configuration of zmeventnotification
I just made a user and I put it in secret.ini something else the ip of zm replaces in secret.ini the words portal?tsp84 wrote: ↑Wed Mar 17, 2021 6:41 am You also need to create a user and password for the ES to talk with zoneminder API's in the zoneminder webgui. Here is a picture of that screen it is in "Options > Users". I have "api_user" setup just for the ES. You could use the "admin" account but I think its good practice to create a regular account. Once you have the user and password created you need to place those in secrets.ini.
Did you follow the readthedocs and install the Perl modules needed? numpy, pillow and all that stuff for python? OpenCV and OpenCV contrib 4.3+ ?
Let me know if this is hard to understand and ill try and use google translate.
Re: I am lost in the configuration of zmeventnotification
Did you follow the readthedocs and install the Perl modules needed? numpy, pillow and all that stuff for python? OpenCV and OpenCV contrib 4.3+ ?tsp84 wrote: ↑Wed Mar 17, 2021 6:41 am You also need to create a user and password for the ES to talk with zoneminder API's in the zoneminder webgui. Here is a picture of that screen it is in "Options > Users". I have "api_user" setup just for the ES. You could use the "admin" account but I think its good practice to create a regular account. Once you have the user and password created you need to place those in secrets.ini.
Did you follow the readthedocs and install the Perl modules needed? numpy, pillow and all that stuff for python? OpenCV and OpenCV contrib 4.3+ ?
Let me know if this is hard to understand and ill try and use google translate.
on this point I no longer know, we see how?
Re: I am lost in the configuration of zmeventnotification
You have a few typos in your secrets.ini file
should be
I see in your zmeventnotification.ini that you have ssl enabled and certs set up with the default settings;
Did you get ssl certs and name them like that and place them in your /etc/apache2/ssl/ dir? If not, you need to get LetsEncrypt certs or make some self signed ones. If you do have those certs set up and working you should also use those for ES. To check if you have those certs copy and paste the output of
Code: Select all
ZM_PORTAL=http://192.168.1.5:zm/portal/zm
Code: Select all
ZM_PORTAL=http://192.168.1.5/zm
ZM_API_PORTAL=http://192.168.1.5/zm/api
Code: Select all
[ssl]
enable = yes
cert = /etc/zm/apache2/ssl/zoneminder.crt
key = /etc/zm/apache2/ssl/zoneminder.key
Did you get ssl certs and name them like that and place them in your /etc/apache2/ssl/ dir? If not, you need to get LetsEncrypt certs or make some self signed ones. If you do have those certs set up and working you should also use those for ES. To check if you have those certs copy and paste the output of
Code: Select all
ls -al /etc/apache2/ssl
Re: I am lost in the configuration of zmeventnotification
The dependancies section of the readthedocs is what I mean for the perl modules and numpy and stuff.
https://zmeventnotification.readthedocs ... pendencies
https://zmeventnotification.readthedocs ... pendencies