Open MartynasZilinskas opened 1 month ago
What does http://{HIKVISION}/ISAPI/PTZCtrl/channels/1/capabilities
return?
Thanks for looking into this.
I got the following response from this endpoint http://{HIKVISION}/ISAPI/PTZCtrl/channels/1/capabilities
:
<?xml version="1.0" encoding="UTF-8" ?>
<PTZChannelCap version="1.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id min="1" max="12">1</id>
<enabled opt="true,false">false</enabled>
<videoInputID>1</videoInputID>
<controlProtocol opt="VIDO B-01,LG MULTIX,Samsung,SAE,YAAN-1,Tiandy,RedApple,PELCO-P,PELCO-D,TIANDY-PELCO-P,TIANDY-PELCO-D,1602-PROTOCOL,IntegrativeP,SONY-EVI-D30/31,SONY-EVI-D70,SONY-EVI-D100/P,TCL-PELCO-P,TCL-PELCO-D,TC-PELCO-P,TC-PELCO-D,Honeywell,Kony,YF-06,ADV,PIH-1016,YOULI,Infinovadcp001a,3609hd,A-01,AB-P,AB-D,ALSON,ANTEN,BBV-RS422,BEWATOR-PELCO-D,KC3360S,LILIN,RM110,ACES,DSCP,PLD,HY,NITRO,PELCO-RS422TY,PHILPS-3,VC-2000PTC-C,LC-D2104,TIANMIN-PELCO-P,TIANMIN-PELCO-D,Siemens,SPD-2200,DRAGON,TL-HHX2000,TL-PELCO-P,TL-V1200,VIDO B-02,NAIJIE,MAOWANG,SHINEI,YAAN-2,TECHWIN,PANASONIC_CS850,SUNELL,KTD-348,VICON,KALATEL,PHILIPS,INFINOVA,VCL,UTC,PELCO-C,AHD-C,Custom,HIKVISION-C,HIKVISION">UTC</controlProtocol>
<controlAddress>
<enabled opt="true">true</enabled>
<Address min="0" max="255">0</Address>
</controlAddress>
<PTZRs485Para>
<baudRate opt="2400,4800,9600,19200,38400,57600,115200">9600</baudRate>
<dataBits opt="5,6,7,8">8</dataBits>
<parityType opt="none,odd,even">none</parityType>
<stopBits opt="1,2">1</stopBits>
<flowCtrl opt="none,software,hardware">none</flowCtrl>
</PTZRs485Para>
<isSupportPosition3D>true</isSupportPosition3D>
</PTZChannelCap>
Can you try my fork and see if it works? https://github.com/zacharee/unifi-cam-proxy
Camera
Hikvision DS-7204HTHI-K2
Firmware version of the camera
V4.25.001 build 201107
Description
Response of
http://{HIKVISION}/ISAPI/PTZCtrl/channels/1/status
endpoint:How to reproduce
Fails on initial start. User is an admin (has all permissions).
Expected behaviour
Ignore PTZ controls if it's not possible.
Screenshots
No response
Additional information
No response