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

Just to understand better how the ISAPI resources may differ, which capabilities are shown on KD8003 for VideoIntercom?
here is the KV8113 output

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

<?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>

Iā€™ll have a look tomorrowā€¦ Where did you get that command from?

From the official Hikvision ISAPI documentation, but itā€™s not including the callStatus resource, and i donā€™t know if itā€™s the latest version
[https://www.docdroid.net/wlD2i8v/hikvision-isapi-26-ipmd-service-pdf]

Indeed, thatā€™s an older version, the door command is not included, seems.different in that document and not working either

Hi Mirco,

Can you share comand code for door2 ?

I try this code:

curl -i --digest -u admin:xxx -X PUT -d ā€˜openā€™ http://192.168.0.xx/ISAPI/AccessControl/RemoteControl/door/2

But not working.

Thank you

What output did you have?

Iā€™ve used the syntax shared by Fabio, check first post of the thread, yours looks incomplete

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

ā€œ-iā€ can be removed after testing, the response header is useful only when troubleshooting

i tried that command, strange, it gives me a 400 error , bad request
edit: nm, seems not workig over VPN :slight_smile:
outputs : /ISAPI/VideoIntercom/capabilities

image

and : /ISAPI/AccessControl/capabilities

image

and this one : /ISAPI/VideoIntercom/callStatus/capabilities?format=json
it should work, no idea why i only see ā€œidleā€ when someone is actually pressing the doorbell

image

KD8003 is more advanced than KV8113, supporting more features, it should work, maybe it needs different get methods
An update ISAPI user guide should be available somewhere, the outputs refers to the XMLschema below
[http://www.isapi.org/ver20/XMLSchema]
but itā€™s fully chinese and iā€™m not so good with that :slight_smile:

i have another document, should be new, special for Videointecom

try this also: but not with an curl tester, this command should retrieve a live event file that gets updated, maybe usefill for doorpress event or swipe event, so you dont have to poll
not sure if its post/get/put : /ISAPI/Event/notification/alertStream

and:

/ISAPI/AccessControl/AcsEvent?format=json
body to send :

"AcsEventCond": {
"searchID": "",
/*required, string type, search ID, which is used to confirm the upper-level platform or system. If the platform or the
system is the same one during two searching, the search history will be saved in the memory to speed up next
searching*/
"searchResultPosition": "",
/*required, integer, the start position of the search result in the result list. When there are multiple records and you
cannot get all search results at a time, you can search for the records after the specified position next time*/
"maxResults": "",
/*required, integer, maximum number of search results. If maxResults exceeds the range returned by the device
capability, the device will return the maximum number of search results according to the device capability and will not
return error message*/
"major": ,
/*required, integer, major alarm/event types (the type value should be transformed to the decimal number), see
Access Control Alarm Types for details*/
"minor": ,
/*required, integer, minor alarm/event types (the type value should be transformed to the decimal number), see
Access Control Alarm Types for details*/
"startTime": "",
/*optional, string, start time (UTC time), e.g., 2016-12-12T17:30:08+08:00*/
"endTime": "",
/*optional, string, end time (UTC time), e.g.,2017-12-12T17:30:08+08:00*/
"cardNo": "",
/*optional, string, card No.*/
"name": "",
/*optional, stringļ¼Œcardholder name*/
"picEnable": ,
/*optional, boolean, whether to contain pictures: "false"-no, "true"-yes*/
"beginSerialNo": ,
/*optional, integer, start serial No.*/
"endSerialNo": ,
/*optional, integer, end serial No.*/
"employeeNoString":"",
/*optional, string, employee No. (person ID)*/
"eventAttribute":"",
/*optional, string, event attribute: "attendance"-valid authentication, "other"*/
"employeeNo":"",
/*optional, string, employee No. (person ID)*/
"timeReverseOrder":
/*optional, boolean, whether to return events in descending order of time (later events will be returned first): trueyes,
false or this node is not returned-no*/
}

Hi Mirco,

I put this comand but still not working.

Cristi

thats still wrong , please try command from putty firstā€¦
your command is complete

also removed your password from your example , its visible in public :slight_smile:

:slight_smile: i modified context :slight_smile:

you can test with putty
or witth this plugin for chrome to put/get commands, verry easy

@Fabio, Thank you for suggestion.

Iā€™ve just typed this in my terminal and itā€™s a no go for me.
Iā€™m using a ds-kd8003

curl -i --digest -u admin:password -X PUT -d ā€˜openā€™ Http://192.168.68.31/ISAPI/AccessControl/RemoteControl/door/2 
curl: (7) Failed to connect to 192.168.68.31 port 80: Connection refused

Should work on 8003, i use itā€¦

Maybe your unit needs a firmware update? What version are you running?

Does anyone know if all this could work through the indoor station instead of the outdoor main station?
In my case I have one outdoor station (DS-KD8003-IME1) and four indoor stations (one for each apartment)
My indoor station is connected via WiFi to my home network, while all indoor stations and the outdoor main station are on a separate network through a PoE switch that is not reachable by the home networks.