ZmNinja Pictures

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
Post Reply
NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

ZmNinja Pictures

Post by NXT »

Hi,

Is it possible to send notifications images to iPhone?

Do you have to remove the “picture_url” in the zmnotification.ini? Or does Hooks have to be activated to receive notification images?

Thanks!

Have a nice day everyone!
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: ZmNinja Pictures

Post by asker »

Yes it is.
The picture_url field has to be specified (read comments above it).
Sending images does not need hooks.
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
NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

Re: ZmNinja Pictures

Post by NXT »

Hi,

Thanks for the response.
Do I also have to change settings in de secret.ini file?
NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

Re: ZmNinja Pictures

Post by NXT »

Ok its working.

I had this.

picture_url = https://XXXXX:port/zm/index.php?view=image&eid=EVENTID&fid=BESTMATCH&width=600

picture_url = https://XXXXX:port/zm/index.php?view=image&eid=EVENTID&fid=objdetect&width=600

picture_url = https://XXXXX:port/zm/index.php?view=image&eid=EVENTID&fid=snapshot&width=600

picture_url = https://XXXXX:port/zm/index.php?view=image&eid=EVENTID&fid=alarm&width=600

That wasn't working.
Now I'm only using this one.
picture_url = https://XXXXX:port/zm/index.php?view=image&eid=EVENTID&fid=alarm&width=600
And works like a charm!

Another question is it possible to turn off the notification events when its seeing a dog or a specific numberplate?

Thanks!
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: ZmNinja Pictures

Post by asker »

You can use detect_pattern in objectconfig.ini to filter out dog. But that would mean it won't identify a dog either.
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
NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

Re: ZmNinja Pictures

Post by NXT »

I have a camera on my dog but I’m getting to much notifications if she moves :D is there another solution?

And for the numberplate I have to install more then Hooks only I suppose?

Thanks for the fast response!
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: ZmNinja Pictures

Post by asker »

You can reduce the # of notifications you get by reducing the reporting frequency. You can do that by going to zmNinja->Settings->Event server settings and changing reporting frequency. zmNinja help is here: https://docs.google.com/document/d/e/2P ... M9Hz8p/pub

Number plate - please read the docs here https://zmeventnotification.readthedocs ... ecognition
Requires setup depending on which service you want to use.

In general, please read docs thoroughly :-)
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
Post Reply