DS-KD8003 - DS-KV8113 - DS-KV8213 - DS-KV6113 - DS-KV8413 and .... integration Hikvision HikConnect Video intercom doorbell

can you check this command? :

/ISAPI/VideoIntercom/remoteOpenDoor/capabilities

if succes, you need :

with this body :

Thank you Fabio.
I receive this:
curl --digest http://admin:[email protected]/ISAPI/VideoIntercom/remoteOpenDoor/capabilities

<?xml version="1.0" encoding="UTF-8"?>
<ResponseStatus version="1.0" xmlns="http://www.std-cgi.com/ver10/XMLSchema">
<requestURL>/ISAPI/VideoIntercom/remoteOpenDoor/capabilities</requestURL>
<statusCode>4</statusCode>
<statusString>Invalid Operation</statusString>
<subStatusCode>invalidOperation</subStatusCode>
<errorCode>1073741830</errorCode>'
<errorMsg>invalid operation</errorMsg>
</ResponseStatus>

but if i run this command:
curl --digest http://admin:[email protected]/ISAPI/VideoIntercom/capabilities

It return:

<?xml version="1.0" encoding="UTF-8"?>
<VideoIntercomCap version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<isSupportDeviceId>true</isSupportDeviceId>
<isSupportOperationTime>true</isSupportOperationTime>
<isSupportRelatedDeviceAdress>true</isSupportRelatedDeviceAdress>
<isSupportRemoteOpenDoor>true</isSupportRemoteOpenDoor>
<isSupportKeyCfg>true</isSupportKeyCfg>
<isSupportAlarmUploadCfg>true</isSupportAlarmUploadCfg>
<isSupportCardSectorCheck>true</isSupportCardSectorCheck>
<isSupportDeviceLanguageCfg>true</isSupportDeviceLanguageCfg>
<isSupportIssueCards>true</isSupportIssueCards>
<isSupportWorkStatus>true</isSupportWorkStatus>
<isSupportSystemSwitchCfg>true</isSupportSystemSwitchCfg>
<isSupportRingBackTone>true</isSupportRingBackTone>
<isSupportPhoneCfg>true</isSupportPhoneCfg>
<isSupportElevatorControlCfg>true</isSupportElevatorControlCfg>
</VideoIntercomCap>

what firmware version should i install? On my device it is installed V2.1.5 build 200629 version

Hi rafhome
i own a KV8113, check the parent VideoIntercom capabilities

curl --digest -u admin:xxx http://192.168.x.x/ISAPI/VideoIntercom/capabilities

You should get something like this

<?xml version="1.0" encoding="UTF-8"?>
<VideoIntercomCap version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<isSupportDeviceId>true</isSupportDeviceId>
<isSupportOperationTime>true</isSupportOperationTime>
<isSupportRelatedDeviceAdress>true</isSupportRelatedDeviceAdress>
<isSupportRemoteOpenDoor>true</isSupportRemoteOpenDoor>
<isSupportKeyCfg>true</isSupportKeyCfg>
<isSupportAlarmUploadCfg>true</isSupportAlarmUploadCfg>
<isSupportCardSectorCheck>true</isSupportCardSectorCheck>
<isSupportDeviceLanguageCfg>true</isSupportDeviceLanguageCfg>
<isSupportIssueCards>true</isSupportIssueCards>
<isSupportWorkStatus>true</isSupportWorkStatus>
<isSupportSystemSwitchCfg>true</isSupportSystemSwitchCfg>
<isSupportRingBackTone>true</isSupportRingBackTone>
<isSupportPhoneCfg>true</isSupportPhoneCfg>
<isSupportElevatorControlCfg>true</isSupportElevatorControlCfg>
</VideoIntercomCap>

My firmware version is V2.1.5 build 200107 and the below command, posted by Fabio at the beginning of the thread works perfectly with both remote doors 1 and 2

curl -i --digest -u admin:xxx -X PUT -d '<RemoteControlDoor><cmd>open</cmd></RemoteControlDoor>' http://192.168.0.xx/ISAPI/AccessControl/RemoteControl/door/1

Hope it helps

1 Like

try also my other command 3 replys back, make sure also to POST that xml, thats different in that ISAPI

I tried with command:

curl -i --digest -u admin:xxx -X PUT -d '<RemoteControlDoor><cmd>open</cmd></RemoteControlDoor>' http://192.168.x.x/ISAPI/AccessControl/RemoteControl/door/1
< was unexpected at this time.

and

curl -i --digest -u admin:xxx -X PUT -d '<RemoteControlDoor><cmd>unlock</cmd></RemoteControlDoor>' http://192.168.x.x/ISAPI/AccessControl/RemoteControl/door/1
< was unexpected at this time.

@AmuroRei73 Thank you Mirko but I don’t think you can downgrade the firmware

try the other command i posted earlier, that ISAP string is different

I tried with:

curl -i --digest -u admin:xxx -X PUT -d '<RemoteOpenDoor><cmd>open</cmd></RemoteOpenDoor>' http://192.168.x.x/ISAPI/VideoIntercom/remoteOpenDoor/1
< was unexpected at this time.

and

curl -i --digest -u admin:xxx -X PUT -d '<RemoteOpenDoor><cmd>open</cmd></RemoteOpenDoor>' http://192.168.x.x/ISAPI/VideoIntercom/remoteOpenDoor/door/1
< was unexpected at this time.

I think it is correct the string

thanks

no, this ine, that one is complete different also with different xml

also i think you mistyping something , try also an API call tester, makes it easier :
like Talend API tester, its a chrome extension

Thank you Fabio.
I tried with:

curl --digest -X POST -H 'Content-type: text/xml'  -d '<RemoteOpenDoor><gateWayIndex>1</gateWayIndex><command>unlock</command></RemoteOpenDoor>' http://admin:[email protected]/ISAPI/VideoIntercom/remoteOpenDoor
< was unexpected at this time.

i’m trying different ways but i don’t know how to set the command correctly sorry.

Use that api tester, that will fix your formatting

Return Invalid operation :frowning:

You need POST, not PUT … :slight_smile:

Raffaele
all these commands are ending with the same error,

< was unexpected at this time.

if you’re using curl on Windows, try to use doublequotes for XML data
command syntax should be like below:

curl --digest -X POST -H 'Content-type: text/xml'  -d "<RemoteOpenDoor><gateWayIndex>1</gateWayIndex><command>unlock</command></RemoteOpenDoor>" http://admin:[email protected]/ISAPI/VideoIntercom/remoteOpenDoor

let us know if it works on the KV8213 , then i update the threadstart, so that other people know it too

Thanks but this is the result:


<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="https://www.google.com">here</a>.</h2>
</body></html>
<?xml version="1.0" encoding="UTF-8"?>
<ResponseStatus version="1.0" xmlns="http://www.std-cgi.com/ver10/XMLSchema">
<statusCode>5</statusCode>
<statusString>Invalid Format</statusString>
<subStatusCode>badURLFormat</subStatusCode>
<errorCode>1342177283</errorCode>
<errorMsg>bad URL format</errorMsg>
</ResponseStatus>

Ok, in small steps
Guess you also tried to use to double quotes with the original command in the very first post of the thread?

curl -i --digest -u admin:xxx -X PUT -d "<RemoteControlDoor><cmd>open</cmd></RemoteControlDoor>" http://192.168.0.xx/ISAPI/AccessControl/RemoteControl/door/1

Thanks you so much !

it works correctly now!

:smiley:

can you post the exact command? i ll update the thread

This is the command:

curl -i --digest -u admin:xxx -X PUT -d "<RemoteControlDoor><cmd>open</cmd></RemoteControlDoor>" http://192.168.x.x/ISAPI/AccessControl/RemoteControl/door/1

thanks to all

1 Like

ah, so it was the first command after all ? ok i update that your device is supported too :slight_smile: