Machine Learning Hooks config
Machine Learning Hooks config
I'm setting up the Machine Learning Hooks for zmeventnotification and have some probably stupid questions. I'm needing to modify the "objectconfig.ini" file and wondering if under "portal" and "api_portal". I'm guessing this is asking for the URL for ZoneMinder for "portal", but is this the IP address I use within my LAN or do I use the FQDN I use to access from outside? For "api_portal", is this essentially the portal with "/api" added to the end?
Re: Machine Learning Hooks config
Yes. The exact URLs will depend on your ZM install, but take a look at secrets.ini that provides sample values
Typically:
portal=https://yourhostname/zm
api_portal=https://yourhostname/zm/api
With respect to LAN or WAN, it could be either. If however you want pictures included in your push notifications on your mobile device, it needs to be WAN
Typically:
portal=https://yourhostname/zm
api_portal=https://yourhostname/zm/api
With respect to LAN or WAN, it could be either. If however you want pictures included in your push notifications on your mobile device, it needs to be WAN
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