Hello,
can somebody help me with creating script to unlock relay on hikvision door unit KD-8003. I kow IP adress and password too.
i find this info from Hikvision
can somebody help me with creating script to unlock relay on hikvision door unit KD-8003. I kow IP adress and password too.
i find this info from Hikvision
Code:
curl Command Example
You can use the following curl command in a shell script, replacing the placeholders with your device's actual information:
bash
curl -i --digest -u admin:YOUR_PASSWORD -X PUT -d '<RemoteControlDoor><cmd>open</cmd></RemoteControlDoor>' http://<DEVICE_IP_ADDRESS>/ISAPI/AccessControl/RemoteControl/door/1
Při použití kódu buďte obezřetní.
admin:YOUR_PASSWORD: Replace YOUR_PASSWORD with the admin password you set during activation.
<DEVICE_IP_ADDRESS>: Replace with the actual LAN IP address of your KD-8003 door station (e.g., 192.168.1.65).
door/1: This targets the first relay/lock. If you have a second lock configured, you can change this to door/2.
--digest: This is important as Hikvision devices typically use Digest Authentication for ISAPI requests.