The API is the best way to control Zoneminder.
https://zoneminder.readthedocs.io/en/stable/api.html
There are lots of examples and the doc explains how to get a key and how to pass it to Zoneminder and ask it to do things. Then you can write simple scripts to perform jobs safely.
Search found 19 matches
- Mon Jul 24, 2023 10:38 am
- Forum: ZoneMinder 1.36.x
- Topic: Activate Camera Function with a binary
- Replies: 2
- Views: 387
- Sun Apr 04, 2021 9:25 pm
- Forum: ZoneMinder 1.35.x Development Branch
- Topic: Features in 1.35.*
- Replies: 22
- Views: 86049
Re: Features in 1.35.*
If you have VNC as a source then perhaps consider RDP via xfreerdp. I can envision all sorts of fun and games with that functionality available and no need for additional stuff on the sources.
- Thu Aug 06, 2020 5:46 pm
- Forum: ZoneMinder 1.34.x
- Topic: A working example of GPU passthrough in VMware
- Replies: 2
- Views: 34649
A working example of GPU passthrough in VMware
I have just written this: https://wiki.zoneminder.com/GPU_passthrough_in_VMWare
The process was pretty traumatic and involved a lot of work-arounds culled from all over the place, which I have documented. I am getting a significant reduction in memory and CPU usage at last.
The process was pretty traumatic and involved a lot of work-arounds culled from all over the place, which I have documented. I am getting a significant reduction in memory and CPU usage at last.
- Sat Jul 23, 2016 11:27 pm
- Forum: ZoneMinder 1.29.x
- Topic: Debugging a Control script
- Replies: 9
- Views: 5778
Re: Debugging a Control script
Thanks. When I've finished messing around with decking I'll get onto it. It's possible even I can follow instructions that clear.
Cheers
Jon
Cheers
Jon
- Fri Jul 22, 2016 11:57 pm
- Forum: ZoneMinder 1.29.x
- Topic: Storage Spread Over 5 Drives
- Replies: 18
- Views: 64576
Re: Storage Spread Over 5 Drives
"ZFS is like taking LVM a step further" - Sort of. They both nearly do the same thing, if you allow that LVM needs a filesystem as well. There is also btrfs on Linux. There are a lot of variables here and you have to start from the hardware and work up, whilst taking into account the rest of the ...
- Fri Jul 22, 2016 11:05 pm
- Forum: ZoneMinder 1.29.x
- Topic: zmaudit error in log
- Replies: 1
- Views: 1628
Re: zmaudit error in log
Hmm, where to start? I'll assume you are running 1.29 because you are posting here. What distro are you using? Is you ZM compiled from source or from a package? Firstly, you should treat your IT a bit better and not allow a system to run out of disc space - ever. Obviously I never do - honest 8) I ...
- Fri Jul 22, 2016 10:24 pm
- Forum: ZoneMinder 1.29.x
- Topic: Remote streaming from my phone
- Replies: 2
- Views: 2639
Re: Remote streaming from my phone
To ensure your phone always appears with the same IP address as far as your Zoneminder is concerned means you will need a VPN and a bit of coordination. Dynamic DNS will always be too slow for you unless you run your own - internally and externally and to be honest I doubt you do! Now, you have ...
- Fri Jul 22, 2016 10:01 pm
- Forum: ZoneMinder 1.29.x
- Topic: Debugging a Control script
- Replies: 9
- Views: 5778
Re: Debugging a Control script
https://wiki.zoneminder.com/Keekoon - done I dumped the working script in the wiki page along with instructions. Although I have a github account, a sysadmin has to draw the line somewhere. How can I take the piss out of devops if I go around doing pull requests with git? I shall have to refer you ...
- Fri Jul 22, 2016 2:47 pm
- Forum: ZoneMinder 1.29.x
- Topic: Debugging a Control script
- Replies: 9
- Views: 5778
Re: Debugging a Control script
Yay - finally got it working. Just need to get it tidied up a bit and get presets working.
Thanks for the comments, sometimes you just need to hear a friendly voice *sob*
Cheers
Jon
Thanks for the comments, sometimes you just need to hear a friendly voice *sob*
Cheers
Jon
- Tue Jul 19, 2016 4:58 pm
- Forum: ZoneMinder 1.29.x
- Topic: How fast does the hard disk need to be - 10 cameras?
- Replies: 1
- Views: 1936
Re: How fast does the hard disk need to be - 10 cameras?
You already asked that one and got some pretty reasonable answers I thought. https://forums.zoneminder.com/viewtopic.php?f=34&t=25044 There are so many variables: bit rate, colour depth, number of cameras, OS tuning, method of reading the cameras (RTSP/ffmpeg etc). The only thing I will say is get ...
- Tue Jul 19, 2016 4:49 pm
- Forum: ZoneMinder 1.29.x
- Topic: Changing Apache2 Default
- Replies: 1
- Views: 3296
Re: Changing Apache2 Default
I you are able to access the ZM page fine internally via http://192.168.1.0:8080/zm (for example) then you should be able to access http://1.2.3.4:8080/zm from outside.
So, does it work properly internally, from another PC on your LAN?
So, does it work properly internally, from another PC on your LAN?
- Tue Jul 19, 2016 4:40 pm
- Forum: ZoneMinder 1.29.x
- Topic: Bosch RTSP Camera Issues
- Replies: 9
- Views: 5029
Re: Bosch RTSP Camera Issues
I think you may have to pass it through ffmpeg instead of using RTSP/RTSP. Not only that but depending on what codecs the ffmpeg that Centos provides, you may have to compile your own to get x264 support.
Does this spit out anything likely:
$ ffmpeg -codecs|grep 264
Cheers
Jon
Does this spit out anything likely:
$ ffmpeg -codecs|grep 264
Cheers
Jon
- Tue Jul 19, 2016 4:19 pm
- Forum: ZoneMinder 1.29.x
- Topic: Debugging a Control script
- Replies: 9
- Views: 5778
Re: Debugging a Control script
You are doing this a bit out of order. Put ZoneMinder and Perl aside for the moment. The first thing you should do is determine what all the available ptz command URLs are for your camera. -- 8< -- Every camera is different. Unless you have some piece of evidence which says otherwise, you cannot ...
- Mon Jul 18, 2016 10:29 pm
- Forum: ZoneMinder 1.29.x
- Topic: Cloned FFMpeg camera not working
- Replies: 6
- Views: 3196
Re: Cloned FFMpeg camera not working
Cool! I remember hitting the same brick wall as you, except I had four cameras working but the fifth tipped it over the edge and I only noticed the shm thing by chance.
Now, if you happen to know Perl well I have a query posted here
Cheers
Jon
Now, if you happen to know Perl well I have a query posted here
Cheers
Jon
- Mon Jul 18, 2016 10:15 pm
- Forum: ZoneMinder 1.29.x
- Topic: Debugging a Control script
- Replies: 9
- Views: 5778
Debugging a Control script
I am attempting to get a control script for a Keekoon camera working. I started with onvif.pm and have read all the others, rather a lot of Perl monk stuff and quite a lot of Perl manual. I am at the point where I need to get some debugging info out into logs and I just can't seem to even get that ...