This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Hikvision relay unklock over LM
#1
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
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.
Reply


Messages In This Thread
Hikvision relay unklock over LM - by 2MAX - 09.12.2025, 05:04

Forum Jump: