Hi Fabio.
Below is a fragment of the log when the doorbell rang:
[2024-08-07 11:52:14.784][INF] Private connect 192.168.22.20:8000 sock=172 this=0xf1d41048 cmd=0x117000 port=42772
2024-08-07 11:52:14.789 | DEBUG | sdk.utils:call_ISAPI:165 - Response output: <DeviceInfo version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<deviceName>OUTDOOR STATION</deviceName>
<deviceID>7d49925b-4fc7-406b-a0ec-bc9b5e26976f</deviceID>
<deviceDescription> Vis</deviceDescription>
<deviceLocation>STD-CGI</deviceLocation>
<systemContact>STD-CGI</systemContact>
<model>DS-KV8113-WME1(C)</model>
<serialNumber>DS-KV8113-WME1(C)0120220921RRK60306312</serialNumber>
<macAddress>bc:9b:5e:26:97:6f</macAddress>
<firmwareVersion>V2.2.57</firmwareVersion>
<firmwareReleasedDate>build 220816</firmwareReleasedDate>
<bootVersion>33685561</bootVersion>
<bootReleasedDate>1443856</bootReleasedDate>
<hardwareVersion>0x0</hardwareVersion>
<encoderVersion>V2.7</encoderVersion>
<encoderReleasedDate>build 220630</encoderReleasedDate>
<deviceType> Vis</deviceType>
<telecontrolID>88</telecontrolID>
<supportBeep>true</supportBeep>
<supportVideoLoss>true</supportVideoLoss>
<alarmOutNum>2</alarmOutNum>
<alarmInNum>4</alarmInNum>
<RS485Num>1</RS485Num>
<customizedInfo></customizedInfo>
</DeviceInfo>
2024-08-07 11:52:14.794 | INFO | mqtt:handle_device_trigger:487 - Invoking device trigger automation{'name': 'motion_detection', 'type': 'Motion detected', 'subtype': ''}
[2024-08-07 11:52:14.789][DBG] SimpleSTDCommandToDvr with out cmd[GET /ISAPI/System/deviceInfo], input size[0], max segment length[262144]
2024-08-07 11:52:19.369 | DEBUG | event:_handle_callback:220 - Callback invoked from SDK
2024-08-07 11:52:19.373 | DEBUG | event:_invoke_handlers:192 - Invoking 2 handlers
2024-08-07 11:52:19.373 | INFO | event:motion_detection:98 - Motion detected from hikvision_doorbell
2024-08-07 11:52:19.374 | INFO | mqtt:handle_device_trigger:487 - Invoking device trigger automation{'name': 'motion_detection', 'type': 'Motion detected', 'subtype': ''}
[2024-08-07 11:52:19.369][INF] Alarm[0] IP[192.168.22.20] data_len[568] alarm_len[568] status[104]
2024-08-07 11:52:23.274 | DEBUG | event:_handle_callback:220 - Callback invoked from SDK
2024-08-07 11:52:23.275 | DEBUG | event:_invoke_handlers:192 - Invoking 2 handlers
2024-08-07 11:52:23.275 | INFO | event:motion_detection:98 - Motion detected from hikvision_doorbell
2024-08-07 11:52:23.276 | INFO | mqtt:handle_device_trigger:487 - Invoking device trigger automation{'name': 'motion_detection', 'type': 'Motion detected', 'subtype': ''}
[2024-08-07 11:52:23.274][INF] Alarm[0] IP[192.168.22.20] data_len[568] alarm_len[568] status[104]
2024-08-07 11:52:26.839 | DEBUG | event:_handle_callback:220 - Callback invoked from SDK
2024-08-07 11:52:26.840 | DEBUG | event:_invoke_handlers:192 - Invoking 2 handlers
2024-08-07 11:52:26.840 | INFO | event:motion_detection:98 - Motion detected from hikvision_doorbell
2024-08-07 11:52:26.840 | INFO | mqtt:handle_device_trigger:487 - Invoking device trigger automation{'name': 'motion_detection', 'type': 'Motion detected', 'subtype': ''}
[2024-08-07 11:52:26.839][INF] Alarm[0] IP[192.168.22.20] data_len[568] alarm_len[568] status[104]
2024-08-07 11:52:27.497 | DEBUG | event:_handle_callback:220 - Callback invoked from SDK
2024-08-07 11:52:27.498 | DEBUG | event:_invoke_handlers:192 - Invoking 2 handlers
2024-08-07 11:52:27.498 | INFO | event:video_intercom_alarm:120 - Video intercom alarm from hikvision_doorbell
2024-08-07 11:52:27.498 | INFO | mqtt:video_intercom_alarm:389 - Doorbell ringing, updating sensor
settings: mqtt=MQTT(host='core-mosquitto', port=1883, username='addons', password='pu4uo6phei4bahKiu5ohr0Iet5zeithuagheequohng0yahzai6Mee7Jiew8Iewi', client_name=None, tls_key=None, tls_certfile=None, tls_ca_cert=None, discovery_prefix='homeassistant', state_prefix='hmd') entity=SensorInfo(component='sensor', device=DeviceInfo(name='hikvision_doorbell', model='DS-KV8113-WME1(C)', manufacturer='Hikvision', sw_version='V2.2.57', hw_version='0x0', identifiers='688345758656494951458777694940674148495048505048575049828275544851485451495', connections=None, configuration_url=None), device_class=None, enabled_by_default=None, entity_category=None, expire_after=None, force_update=None, icon='mdi:bell', name='Call state', object_id='hikvision_doorbell_call_state', qos=None, unique_id='688345758656494951458777694940674148495048505048575049828275544851485451495-call_state', unit_of_measurement=None, state_class=None) debug=False manual_availability=True
topic_prefix: sensor/hikvision_doorbell/Call-state
config_topic: homeassistant/sensor/hikvision_doorbell/Call-state/config
state_topic: hmd/sensor/hikvision_doorbell/Call-state/state
wrote_configuration: True
[2024-08-07 11:52:27.497][INF] Alarm[0] IP[192.168.22.20] data_len[568] alarm_len[568] status[430]
2024-08-07 11:52:30.762 | DEBUG | event:_handle_callback:220 - Callback invoked from SDK
2024-08-07 11:52:30.762 | DEBUG | event:_invoke_handlers:192 - Invoking 2 handlers
2024-08-07 11:52:30.763 | INFO | event:motion_detection:98 - Motion detected from hikvision_doorbell
2024-08-07 11:52:30.763 | INFO | mqtt:handle_device_trigger:487 - Invoking device trigger automation{'name': 'motion_detection', 'type': 'Motion detected', 'subtype': ''}
[2024-08-07 11:52:30.761][INF] Alarm[0] IP[192.168.22.20] data_len[568] alarm_len[568] status[104]
2024-08-07 11:52:34.652 | DEBUG | event:_handle_callback:220 - Callback invoked from SDK
2024-08-07 11:52:34.653 | DEBUG | event:_invoke_handlers:192 - Invoking 2 handlers
2024-08-07 11:52:34.653 | INFO | event:motion_detection:98 - Motion detected from hikvision_doorbell
2024-08-07 11:52:34.653 | INFO | mqtt:handle_device_trigger:487 - Invoking device trigger automation{'name': 'motion_detection', 'type': 'Motion detected', 'subtype': ''}
[2024-08-07 11:52:34.652][INF] Alarm[0] IP[192.168.22.20] data_len[568] alarm_len[568] status[104]
2024-08-07 11:52:44.793 | DEBUG | event:_handle_callback:220 - Callback invoked from SDK
2024-08-07 11:52:44.794 | DEBUG | event:_invoke_handlers:192 - Invoking 2 handlers
2024-08-07 11:52:44.794 | INFO | event:video_intercom_event:109 - Video intercom event from hikvision_doorbell
2024-08-07 11:52:44.794 | INFO | mqtt:update_door_entities:300 - Door 1 unlocked by 494848494849494848484900 , updating sensor and device trigger
2024-08-07 11:52:44.795 | DEBUG | sdk.utils:call_ISAPI:125 - Call ISAPI request method url body: GET /ISAPI/System/deviceInfo
[2024-08-07 11:52:44.793][INF] Alarm[0] IP[192.168.22.20] data_len[115968] alarm_len[115968] status[431]
2024-08-07 11:52:44.806 | DEBUG | sdk.utils:call_ISAPI:165 - Response output: <DeviceInfo version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<deviceName>OUTDOOR STATION</deviceName>
<deviceID>7d49925b-4fc7-406b-a0ec-bc9b5e26976f</deviceID>
<deviceDescription> Vis</deviceDescription>
<deviceLocation>STD-CGI</deviceLocation>
<systemContact>STD-CGI</systemContact>
<model>DS-KV8113-WME1(C)</model>
<serialNumber>DS-KV8113-WME1(C)0120220921RRK60306312</serialNumber>
<macAddress>bc:9b:5e:26:97:6f</macAddress>
<firmwareVersion>V2.2.57</firmwareVersion>
<firmwareReleasedDate>build 220816</firmwareReleasedDate>
<bootVersion>33685561</bootVersion>
<bootReleasedDate>1443856</bootReleasedDate>
<hardwareVersion>0x0</hardwareVersion>
<encoderVersion>V2.7</encoderVersion>
<encoderReleasedDate>build 220630</encoderReleasedDate>
<deviceType> Vis</deviceType>
<telecontrolID>88</telecontrolID>
<supportBeep>true</supportBeep>
<supportVideoLoss>true</supportVideoLoss>
<alarmOutNum>2</alarmOutNum>
<alarmInNum>4</alarmInNum>
<RS485Num>1</RS485Num>
<customizedInfo></customizedInfo>
</DeviceInfo>
[2024-08-07 11:52:44.799][INF] Private connect 192.168.22.20:8000 sock=173 this=0xf1d41048 cmd=0x117000 port=48978
2024-08-07 11:52:44.810 | INFO | mqtt:handle_device_trigger:487 - Invoking device trigger automation{'name': 'Door unlocked', 'type': 'door open', 'subtype': 'door 0', 'payload': {'control_source': '494848494849494848484900'}}
[2024-08-07 11:52:44.806][DBG] SimpleSTDCommandToDvr with out cmd[GET /ISAPI/System/deviceInfo], input size[0], max segment length[262144]