Hikvision PTZ control

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Hikvision PTZ control

Post by iconnor »

Clear log_debug_target or set it to _zmcontrol.pl, as we are not interested in zmc.

Clear
iamnotme
Posts: 22
Joined: Mon Aug 29, 2022 9:21 am

Re: Hikvision PTZ control

Post by iamnotme »

Done that, I have also done a complete machine restart as there were some updates. I even cleared the log_debug_file and nothing discernible has appeared. I even did find . -mmin -20 to see all the files created within the last 20 mins but they all appeared to be the standard logging files.

Code: Select all

root@cogen-main:/var/log# find . -mmin -20
./fail2ban.log
./syslog
./auth.log
./lastlog
./journal/3a087e415bc845c5a7342d185df69708/user-1000.journal
./journal/3a087e415bc845c5a7342d185df69708/user-1002.journal
./journal/3a087e415bc845c5a7342d185df69708/system.journal
./wtmp
./zm/zmc_m1.log
./zm/zmfilter_2.log
./zm/zmsystemctl.log
./zm/zmfilter_4.log
./zm/zmc_m3.log
./zm/zmcontrol_1.log
./zm/zmdc.log
./zm/zmpkg.log
./zm/zmfilter_1.log
./zm/zmupdate.log
./zm/zmstats.log
./zm/zmc_m2.log
./apache2/access.log
root@cogen-main:/var/log# cd zm
Attachments
Zoneminder2.png
Zoneminder2.png (88.33 KiB) Viewed 359 times
iamnotme
Posts: 22
Joined: Mon Aug 29, 2022 9:21 am

Re: Hikvision PTZ control

Post by iamnotme »

After doing a tcpdump and analysing the traffic, along with finding a copy of the ISAPI manual I could see the reason it wasn't working is because I am an idiot. Thanks for your patience with this.

In control device I was putting the device name not the id of what I wanted to control. Once I set the control device to 1 it started moving, now I just need to fine tune the control values to make sure I get decent control, as well as resolving the Multiport through Nginx Proxy Manager issue I have
iamnotme
Posts: 22
Joined: Mon Aug 29, 2022 9:21 am

Re: Hikvision PTZ control

Post by iamnotme »

I can only assume you’ve not read this topic from the start, or some kind of AI(lol).
mikb
Posts: 604
Joined: Mon Mar 25, 2013 12:34 pm

Re: Hikvision PTZ control

Post by mikb »

iamnotme wrote: Wed Apr 17, 2024 8:14 am I can only assume you’ve not read this topic from the start, or some kind of AI(lol).
The offending post, now deleted, was an AI (actual idiocy) reword of iconnor's posting at

viewtopic.php?p=132774#p132774
Post Reply