Search found 19 matches

by Chimaera
Wed Nov 13, 2019 2:33 am
Forum: Mobile Apps
Topic: Object detection working, kind of
Replies: 6
Views: 412

Re: Object detection working, kind of

I managed to get up to 1.33.14 and the same thing happens - I've tried grabbing zmeventnotification from GIT and reinstalling with new .ini files, same result.
by Chimaera
Wed Nov 13, 2019 12:13 am
Forum: Mobile Apps
Topic: Object detection working, kind of
Replies: 6
Views: 412

Object detection working, kind of

I'm running 1.33.12 on Raspian Buster - I've tried upgrading to 1.33.14 but it's dependencies break other things I have installed. Anyway, I've got object detection working in that the logs show it detecting the object(s) (car, person etc) but then it throws "Could not write image to ZoneMinder as e...
by Chimaera
Mon Jul 29, 2019 5:23 pm
Forum: Mobile Apps
Topic: Struggling with Event Notification
Replies: 3
Views: 1974

Re: Struggling with Event Notification

Yes, 1.33.x isn't available for Debian that I can find on any repo. wait=5 didn't help, had to go to wait=10. I now get alerts from zmninja on my phone, but only if an object is detected - is that normal? edit: I changed the ini to analyze my HD streams vs the 640x480 streams and now it's notifying ...
by Chimaera
Sun Jul 28, 2019 9:25 pm
Forum: Mobile Apps
Topic: Struggling with Event Notification
Replies: 3
Views: 1974

Struggling with Event Notification

I'm fairly sure I have everything set up right, but when an event is triggered I get this in the debug log : [Invoking hook:'/usr/bin/detect_wrapper.sh' 925 2 "Side Driveway Low" "Motion All"] Jul 28 17:21:50 localhost detect:[3988][monitor_m2]: INFO [---------| app version: 3.3.6 |------------] Jul...
by Chimaera
Tue Jul 16, 2019 9:33 pm
Forum: ZoneMinder 1.32.x
Topic: ZoneMinder + Raspberry Pi 4?
Replies: 19
Views: 9211

Re: ZoneMinder + Raspberry Pi 4?

This is what my zoneminder.conf is now (and working, without .htaccess files) pi@astropi:/etc/apache2/conf-enabled $ cat zoneminder.conf # Remember to enable cgi mod (i.e. "a2enmod cgi"). SSLEngine On SSLCertificateFile /etc/ssl/localcerts/apache.pem SSLCertificateKeyFile /etc/ssl/localcerts/apache....
by Chimaera
Tue Jul 16, 2019 3:00 pm
Forum: ZoneMinder 1.32.x
Topic: ZoneMinder + Raspberry Pi 4?
Replies: 19
Views: 9211

Re: ZoneMinder + Raspberry Pi 4?

My install came from the stock Raspian Buster repository. Forgive my ignorance, but if I'm placing the stuff from that conf in my conf-enabled/zoneminder.conf I have to replace all of the @variable@ with the actual path, yes?
by Chimaera
Tue Jul 16, 2019 11:42 am
Forum: ZoneMinder 1.32.x
Topic: ZoneMinder + Raspberry Pi 4?
Replies: 19
Views: 9211

Re: ZoneMinder + Raspberry Pi 4?

I have Zoneminder running on my Pi 4 with 4gb ram. Storage is on a NAS vs the SD or USB but that shouldn't be a problem. There are some tricks to getting the API to work (.htaccess files seem to not be generated/installed) and I can't get event notification working right but I have 5 Amcrest cams be...
by Chimaera
Tue Jul 16, 2019 1:28 am
Forum: ZoneMinder 1.32.x
Topic: Can't have more than 5 monitors active?
Replies: 2
Views: 1714

Re: Can't have more than 5 monitors active?

API is working fine, other than notifications. I can use ZMninja but not get push notifications. Video storage is on a NAS over ethernet not the Pi so speed isn't an issue there.

Pi 4 has 4gb ram, more than my Centos 7 VM had so /dev/shm should be fine too, it's 2gb with 1.5gb free.
by Chimaera
Mon Jul 15, 2019 11:55 am
Forum: ZoneMinder 1.32.x
Topic: Can't have more than 5 monitors active?
Replies: 2
Views: 1714

Can't have more than 5 monitors active?

I have a new Pi 4 running Buster with ZM 1.32.3. I'm using a bunch of Amcrest cams over RTSP and they work fine until I try to add the 6th monitor, which won't come up (errors below). If I remove a previously working monitor, the new one comes up. Try to add a 6th, same issue. Doesn't matter which o...
by Chimaera
Mon Jul 15, 2019 11:28 am
Forum: ZoneMinder 1.32.x
Topic: API not working after install on fresh Buster system
Replies: 11
Views: 3426

Re: API not working after install on fresh Buster system

There are some .htaccess files missing from the /usr/share/zoneminder/api directories. This may be the key to the API not working. May take me some time to figure this out as Saturday chores take preference... This is the answer, you need to add the following code to .htaccess in 3 places /usr/shar...
by Chimaera
Sun Jul 14, 2019 11:29 pm
Forum: Mobile Apps
Topic: zmeventnotification on Pi4
Replies: 10
Views: 4836

Re: zmeventnotification on Pi4

ok, I tried all that with the same results. I did some poking around in utils.py and uncommented the debug line (196) so that all of the config would be written to the syslog as it's being parsed. As you can see, "setting yolo_type to full" appears. I tested changing other settings like "resize" to ...
by Chimaera
Sun Jul 14, 2019 7:02 pm
Forum: Mobile Apps
Topic: zmeventnotification on Pi4
Replies: 10
Views: 4836

Re: zmeventnotification on Pi4

ok I'm at a loss, it still won't use tiny. If I manually edit yolo.py and force it to run tiny_weights it works fine. I'm running this command : sudo -u www-data /usr/bin/detect.py -c /etc/zm/objectconfig.ini -e 46495 -m 16 This is the objectconfig.ini file : # Configuration file for object detectio...
by Chimaera
Sun Jul 14, 2019 3:12 pm
Forum: Mobile Apps
Topic: zmeventnotification on Pi4
Replies: 10
Views: 4836

Re: zmeventnotification on Pi4

Yeah I've been struggling to find a package for opencv cp37 on Armv7 which is why I was building.
by Chimaera
Sun Jul 14, 2019 12:47 pm
Forum: Mobile Apps
Topic: zmeventnotification on Pi4
Replies: 10
Views: 4836

Re: zmeventnotification on Pi4

I'm rebuilding my install from scratch and trying again because I tried so many things to get OpenCV to run I probably messed something up. What version of OpenCV are you running on Buster/Pi4 and how did you install? Did you build from source or is there a whl somewhere for Python 3.7 that I'm miss...
by Chimaera
Sat Jul 13, 2019 10:50 pm
Forum: Mobile Apps
Topic: zmeventnotification on Pi4
Replies: 10
Views: 4836

Re: zmeventnotification on Pi4

I followed your instructions, cloning the latest GIT so it should be the latest versions of each. Which config do you mean when you say "the right config file"? /etc/zm/objectconfig.ini is the file that controls detect.py, right?