Face access terminal Hikvision DS-K1T341AM -- ISAPI event subcription „MINOR_DOORBELL_RINGING 0x25“ fails - latest firmware_V3.2.30_211122

ypoosn

n3wb
Joined
Nov 13, 2016
Messages
10
Reaction score
1
Hi,

I try to replace my traditional doorbell and with face access terminal DS-K1T341AM . It has a mifare card reader, a screen with keypad for access code, camera, .... When the telephone icon on the screen is pressed it calls the indoor monitor or / and hik-connect app.

But I still want to integrate a traditional chime with is controlled using my home automation system (Openhab).

The problem is to get the "signal" that the doorbell, i.e the telephone icon, is pressed. Hikvision provides the ISAPI interface that allows to register events
you can listen for.

You can query the list of available events for a device by

Code:
curl -k  --digest -u admin:XXpasswordXX -X GET https://192.168.X.X/ISAPI/Event/notification/httpHosts/capabilities
This is the result


XML:
<HttpHostNotificationCap version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
    <hostNumber>2</hostNumber>
    <urlLen max="128"/>
    <protocolType opt="HTTP,HTTPS,EHome"/>
    <addressingFormatType opt="ipaddress,hostname"/>
    <hostName/>
    <ipAddress opt="ipv4"/>
    <portNo min="0" max="65535"/>
    <SubscribeEventCap>
        <heartbeat min="1" max="30"/>
        <eventMode opt="all,list"/>
        <EventList>
            <Event>
                <type>AccessControllerEvent</type>
                <minorAlarm opt="0x404,0x405,0x406,0x407,0x40a,0x40b,0x40c,0x40d,0x40e,0x40f,0x410"/>
                <minorException opt="0x27,0x400,0x407,0x408,0x409,0x40a,0x40f,0x410,0x423,0x424,0x428,0x429,0x41d,0x41e,0x426,0x427"/>
                <minorOperation opt="0x50,0x5a,0x70,0x71,0x76,0x77,0x79,0x7a,0x7b,0x7e,0x86,0x87,0x400,0x401,0x402,0x403,0x404,0x405,0x406,0x407,0x40a,0x40b,0x40c,0x40e,0x419,0x41a,0x421,0x422,0x41f,0x420"/>
                <minorEvent opt="0x1,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x31,0x33,0x4b,0x4c,0x50,0x68,0x72,0x73,0x74,0x8e,0x97,0x98,0x9b,0xa4,0xa8,0xb5,0xc1,0xbe,0xbf,0xc0,0x2,0x3,0x4,0x5,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,0x30,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,0x40,0x41,0x42,0x43,0x44,0x99,0x9a,0xbe,0xbf,0xc0,0xa2,0xa9,0xa3,0xaa,0xab,0x70,0x71,0x69"/>
            </Event>
        </EventList>
    </SubscribeEventCap>
</HttpHostNotificationCap>
According to the ISAPI documentation the event I should listen to „MINOR_DOORBELL_RINGING 0x25“. So registering this event
and listening to with


Code:
curl -k --digest -u admin:XXXpasswordXXX -d "@registerEvent.xml" -X POST http://192.168.X.X/ISAPI/Event/notification/subscribeEvent
registerEvent.xml is

XML:
<SubscribeEvent version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
    <heartbeat>30</heartbeat>
    <eventMode>list</eventMode>
    <EventList>
        <Event>
            <type>AccessControllerEvent</type>
            <minorAlarm>
            0x404,0x405,0x406,0x407,0x40a,0x40b,0x40c,0x40d,0x40f,0x410</minorAlarm>
            <minorException>
            0x27,0x400,0x407,0x408,0x409,0x40a,0x40f,0x410,0x423,0x424,0x428,0x429,0x41d,0x41e,0x426,0x427</minorException>
            <minorOperation>
            0x50,0x5a,0x70,0x71,0x76,0x77,0x79,0x7a,0x7b,0x7e,0x86,0x87,0x400,0x401,0x402,0x403,0x404,0x405,0x406,0x407,0x40a,0x40b,0x40c,0x40e,0x419,0x41a,0x421,0x422,0x41f,0x420</minorOperation>
            <minorEvent>0x1,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x31,0x33,0x4b,0x4c,0x50,0x68,0x72,0x73,0x74,0x8e,0x97,0x98,0x9b,0xa4,0xa8,0xb5,0xc1,0xbe,0xbf,0xc0,0x2,0x3,0x4,0x5,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,0x30,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,0x40,0x41,0x42,0x43,0x44,0x99,0x9a,0xbe,0xbf,0xc0,0xa2,0xa9,0xa3,0xaa,0xab,0x70,0x71,0x69</minorEvent>
        </Event>
    </EventList>
</SubscribeEvent>
Listening to the alertStream shows various events (authentication failure / success, heartbeat, ...) except of „MINOR_DOORBELL_RINGING 0x25“ when the doorbell is pressed.

Code:
curl -k  --digest -u admin:XXpasswortXX -X GET https://192.168.X.X/ISAPI/Event/notification/alertStream
Any hint or advise is appreciated.

best,

Ypo
 

mawa

n3wb
Joined
Jan 12, 2022
Messages
1
Reaction score
0
Location
Germany
HI
Were you able to solve this issue?

What is your experience with the device. Would you recommend it?

thx
 
Top