Hikvision Control Settings

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.
Post Reply
iamnotme
Posts: 22
Joined: Mon Aug 29, 2022 9:21 am

Hikvision Control Settings

Post by iamnotme »

Hello,

After battling my own ineptitude and getting Hikvision PTZ control working, and also tackling Multiport, I am now trying to get the camera movement working properly.

I have set auto stop to 1s as a single click was causing the camera to PAN for 10s, rather than stop once I let go. The problem now is that if hold a PAN control it just moves for 1s and I get a 403 Forbidden in the event log from the camera.

This is an extract from the capabilities xml:

Code: Select all

<AbsolutePanTiltPositionSpace>
<XRange>
<Min>0</Min>
<Max>3600</Max>
</XRange>
<YRange>
<Min>-221</Min>
<Max>828</Max>
</YRange>
</AbsolutePanTiltPositionSpace>
<AbsoluteZoomPositionSpace>
<ZRange>
<Min>10</Min>
<Max>250</Max>
</ZRange>
</AbsoluteZoomPositionSpace>
<ContinuousPanTiltSpace>
<XRange>
<Min>-100</Min>
<Max>100</Max>
</XRange>
<YRange>
<Min>-100</Min>
<Max>100</Max>
</YRange>
</ContinuousPanTiltSpace>
<ContinuousZoomSpace>
<ZRange>
<Min>-100</Min>
<Max>100</Max>
</ZRange>
This is the capture for the commands:

Code: Select all

No.	Time	Source	Destination	Protocol	Length	Info
3399	13.819273	10.2.1.27	10.2.1.11	HTTP	710	PUT /ISAPI/PTZCtrl/channels/1/momentary HTTP/1.1  (application/x-www-form-urlencoded)
3409	13.820930	10.2.1.11	10.2.1.27	TCP	72	80 → 46702 [ACK] Seq=1 Ack=639 Win=30240 Len=0 TSval=527616014 TSecr=492008879
3410	13.826222	10.2.1.11	10.2.1.27	HTTP/XML	584	HTTP/1.1 200 OK 
3411	13.826222	10.2.1.11	10.2.1.27	TCP	72	80 → 46702 [FIN, ACK] Seq=513 Ack=639 Win=30240 Len=0 TSval=527616014 TSecr=492008879
3412	13.826259	10.2.1.27	10.2.1.11	TCP	72	46702 → 80 [ACK] Seq=639 Ack=513 Win=64128 Len=0 TSval=492008886 TSecr=527616014
3413	13.827540	10.2.1.27	10.2.1.11	TCP	72	46702 → 80 [FIN, ACK] Seq=639 Ack=514 Win=64128 Len=0 TSval=492008888 TSecr=527616014
3414	13.829359	10.2.1.11	10.2.1.27	TCP	72	80 → 46702 [ACK] Seq=514 Ack=640 Win=30240 Len=0 TSval=527616014 TSecr=492008888
3727	14.878948	10.2.1.27	10.2.1.11	TCP	80	46716 → 80 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 SACK_PERM TSval=492009939 TSecr=0 WS=128
3728	14.881363	10.2.1.11	10.2.1.27	TCP	80	80 → 46716 [SYN, ACK] Seq=0 Ack=1 Win=28960 Len=0 MSS=1460 SACK_PERM TSval=527616120 TSecr=492009939 WS=32
3729	14.881422	10.2.1.27	10.2.1.11	TCP	72	46716 → 80 [ACK] Seq=1 Ack=1 Win=64256 Len=0 TSval=492009941 TSecr=527616120
3730	14.881835	10.2.1.27	10.2.1.11	HTTP	650	PUT /ISAPI/PTZCtrl/channels/1/continuous HTTP/1.1  (application/x-www-form-urlencoded)
3731	14.885057	10.2.1.11	10.2.1.27	TCP	72	80 → 46716 [ACK] Seq=1 Ack=579 Win=30144 Len=0 TSval=527616120 TSecr=492009942
3732	14.888651	10.2.1.11	10.2.1.27	HTTP/XML	624	HTTP/1.1 403 Forbidden 
Also attached is a picture of my PAN settings. Has anyone managed to get continuous PAN working on Hikvision?
Attachments
Screenshot_20240318_121115.png
Screenshot_20240318_121115.png (33.32 KiB) Viewed 674 times
iamnotme
Posts: 22
Joined: Mon Aug 29, 2022 9:21 am

Re: Hikvision Control Settings

Post by iamnotme »

Resolved this by setting the auto stop to 0 although I am sure I tried this previously.
Post Reply