Search found 22 matches

by akg1508
Fri Nov 03, 2017 12:27 pm
Forum: ZoneMinder 1.30.x
Topic: API not working
Replies: 8
Views: 1416

Re: API not working

The API is what allows external programs such as zmNinja to access zoneminder, it stands for Application Programming Interface (from memory). First you'll need to ensure that the API is installed, my Ubuntu 16.04 1.30.x installation has it in /usr/share/zoneminder/www/api. The ensure that it is enab...
by akg1508
Thu Nov 02, 2017 3:36 pm
Forum: ZoneMinder 1.30.x
Topic: API was working from zmNinja, but has stopped
Replies: 7
Views: 2143

Re: API was working from zmNinja, but has stopped

Hi @kenworth, Thanks for your reply. I've also got HTTPS only access. If the crosswalk version ever becomes the default I'll look at re-enabling basic auth and re-configuring Apache so that it is only enabled on the internet interface. For now I'll rely on the ZM authentication and that it is runnin...
by akg1508
Wed Nov 01, 2017 3:49 pm
Forum: ZoneMinder 1.30.x
Topic: API was working from zmNinja, but has stopped
Replies: 7
Views: 2143

Re: API was working from zmNinja, but has stopped

Sounds like you are using Chrome on your mobile. See this thread....I had the same problem. https://forums.zoneminder.com/viewtopic.php?f=33&t=26493 Thanks, @kenworth! That was indeed the problem. Disabling basic authentication and only using zoneminder's internal authentication means that zmNinja ...
by akg1508
Wed Nov 01, 2017 11:09 am
Forum: ZoneMinder 1.30.x
Topic: API was working from zmNinja, but has stopped
Replies: 7
Views: 2143

Re: API was working from zmNinja, but has stopped

$ curl https://user:password@hmcz.duckdns.org/zm/api/host/getVersion.json { "version": "1.30.0", "apiversion": "1.0" } $ curl https://user:password@hmcz.duckdns.org/zm/api/monitors.json { "monitors": [ { "Monitor": { "Id": "1", "Name": "Kam61", "ServerId": "0", "Type": "Ffmpeg", "Function": "Mocord...
by akg1508
Wed Nov 01, 2017 11:09 am
Forum: ZoneMinder 1.30.x
Topic: API was working from zmNinja, but has stopped
Replies: 7
Views: 2143

Re: API was working from zmNinja, but has stopped

The apache error log doesn't contain any errors near that time. The access log shows: 192.168.0.1 - - [20/Oct/2017:11:23:48 +0200] "GET /zm/api/host/getVersion.json HTTP/1.1" 401 3962 "-" "Mozilla/5.0 (Linux; Android 7.1.1; ONEPLUS A3003 Build/NMF26F; wv) AppleWebKit/537.36 (KHTML, like Gecko) Versi...
by akg1508
Wed Nov 01, 2017 11:08 am
Forum: ZoneMinder 1.30.x
Topic: API was working from zmNinja, but has stopped
Replies: 7
Views: 2143

Re: API was working from zmNinja, but has stopped

The ZoneMinder logs don't show any errors (the logon was at 11:23): 2017-10-20 11:22:22.075821 zmc_m1[676].INF-zm_monitor.cpp/3116 [Kam61: 5000 - Capturing at 5.00 fps] 2017-10-20 11:22:22.180138 zmc_m2[690].INF-zm_monitor.cpp/3116 [Kam62: 5000 - Capturing at 5.00 fps] 2017-10-20 11:22:23.406442 zmc...
by akg1508
Wed Nov 01, 2017 11:07 am
Forum: ZoneMinder 1.30.x
Topic: API was working from zmNinja, but has stopped
Replies: 7
Views: 2143

API was working from zmNinja, but has stopped

Hi Everyone, I'm trying to get zmNinja 1.2.504 working again with my ZoneMinder 1.30.0 installation. (It was working up to a while ago, and has inexplicably stopped working.) Operating system patches have been applied regularly, but no ZM updates since then. The normal ZM web interface works without...
by akg1508
Wed Nov 01, 2017 10:42 am
Forum: ZoneMinder 1.30.x
Topic: ZoneMinder 1.30.4 in Arch Linux - troubleshooting ...
Replies: 7
Views: 2362

Re: ZoneMinder 1.30.4 in Arch Linux - troubleshooting ...

Check that you have enough free space in /dev/shm. I have 6 cameras, and each requires 176M for corresponding zm.mmap.x file.
by akg1508
Fri Aug 04, 2017 7:33 am
Forum: ZoneMinder 1.30.x
Topic: [SOLVED] Sending email in ZM 1.30 with SSMTP
Replies: 5
Views: 9689

Re: [SOLVED] Sending email in ZM 1.30 with SSMTP

Hi @yippeeee25,

I'm a bit out of my depth here, but I think the problem is that the files are owned by "nobody":

-rw-r----- 1 root www-data 296 Oct 3 2016 revaliases
-rw-r----- 1 root www-data 194 Oct 3 2016 ssmtp.conf

HTH,
Alistair
by akg1508
Wed Oct 12, 2016 5:38 pm
Forum: ZoneMinder 1.29.x
Topic: [Solved] Zoneminder constantly crashing entire system
Replies: 14
Views: 3417

Re: Zoneminder constantly crashing entire system

You can mark the thread solved by editing your original post, which will allow you to edit the subject, and insert [SOLVED] at the start.
by akg1508
Thu Oct 06, 2016 5:37 pm
Forum: ZoneMinder 1.30.x
Topic: [SOLVED] Sending email in ZM 1.30 with SSMTP
Replies: 5
Views: 9689

Re: Sending email in ZM 1.30 with SSMTP

I eventually figured this one out... The problem was that the apache server user, www-data, didn't have access to the ssmtp configuration files. To get it working, I just granted read access to the www-data user, the real solution can be found at: https://wiki.archlinux.org/index.php/SSMTP HTH, Alis...
by akg1508
Tue Oct 04, 2016 9:14 pm
Forum: ZoneMinder 1.30.x
Topic: [SOLVED] Sending email in ZM 1.30 with SSMTP
Replies: 5
Views: 9689

[SOLVED] Sending email in ZM 1.30 with SSMTP

Attempting to send email with SSMTP results in: Can't send email: error closing /usr/lib/sendmail: (exit 256) I've tried following the instructions at: https://wiki.zoneminder.com/How_to_get_ssmtp_working_with_Zoneminder The main email configuration items are: OPT_EMAIL: (checked) EMAIL_ADDRESS: (se...
by akg1508
Thu Mar 03, 2016 9:12 pm
Forum: Hardware Queries
Topic: Absolute simplest possible way to monitor IP cam.
Replies: 5
Views: 3068

Re: Absolute simplest possible way to monitor IP cam.

I didn't realise that you wanted to run a full ZM stack on the machine. If you are just looking to be able to view the current image on the camera, why not just configure the Pi to automatically start with omxplayer, mpv or similar pointing to the camera. If you want to record, replay, etc., then pr...
by akg1508
Wed Mar 02, 2016 9:12 pm
Forum: Hardware Queries
Topic: Absolute simplest possible way to monitor IP cam.
Replies: 5
Views: 3068

Re: Absolute simplest possible way to monitor IP cam.

Raspberry Pi?

It will likely take a bit of configuration, but should do the job.
by akg1508
Wed Mar 02, 2016 11:35 am
Forum: ZoneMinder 1.28.x
Topic: MODECT not picking up properly
Replies: 6
Views: 4421

Re: MODECT not picking up properly

Hello - Kind of new to all of this but I have a IP camera set up and its recording larger motion detection but I am trying to get it to pick up the dog and its not. Any help with settings? As another newbie to configuring ZM, my suggestion is that if you have a single zone that covers most of the f...