maciej-or / hikvision_next

Home Assistant integration for Hikvision NVRs and IP cameras
107 stars 19 forks source link

Camera missing details when behind NVR nat #67

Closed dan-s-github closed 1 year ago

dan-s-github commented 1 year ago

As mentioned in https://github.com/maciej-or/hikvision_next/issues/58 the camera details are not fully discovered, this is still valid with version 1.0.7

Debug log from reloading integration:

2023-06-29 19:20:06.301 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Event/notification/httpHosts {'HttpHostNotificationList': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'HttpHostNotification': {'id': '1', 'url': '/api/hikvision', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.17.147', 'portNo': '8123', 'httpAuthenticationMethod': 'none', 'Extensions': {'@xmlns': 'urn:selfextension:psiaext-ver10-xsd', 'intervalBetweenEvents': '0'}}}}
2023-06-29 19:20:06.379 DEBUG (MainThread) [custom_components.hikvision_next.isapi] [PUT] http://192.168.17.205/ISAPI/Event/notification/httpHosts {'ResponseStatus': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'requestURL': '/ISAPI/Event/notification/httpHosts', 'statusCode': '1', 'statusString': 'OK', 'subStatusCode': 'ok'}}
2023-06-29 19:20:06.576 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/System/deviceInfo {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'deviceName': 'Network Video Recorder', 'deviceID': '48473336-3939-3233-3034-2428fd22c319', 'model': 'DS-7608NI-I2/8P', 'serialNumber': 'DS-7608NI-I2/8P0820210719CCRRG36992304WCVU', 'macAddress': '24:28:fd:22:c3:19', 'firmwareVersion': 'V4.50.015', 'firmwareReleasedDate': 'build 210511', 'encoderVersion': 'V5.0', 'encoderReleasedDate': 'build 210318', 'deviceType': 'NVR', 'telecontrolID': '255', 'hardwareVersion': '0100024C04300000'}
2023-06-29 19:20:06.662 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/System/capabilities {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'SysCap': {'isSupportDst': 'true', 'NetworkCap': {'isSupportWireless': 'false', 'isSupportWAN': 'false', 'isSupportPPPoE': 'true', 'isSupportBond': 'false', 'isSupport802_1x': 'true', 'isSupportNtp': 'true', 'isSupportFtp': 'false', 'isSupportUpnp': 'true', 'isSupportPNP': 'false', 'isSupportDdns': 'true', 'isSupportHttps': 'true', 'SnmpCap': {'isSupport': 'true'}, 'isSupportExtNetCfg': 'true', 'isSupportIPFilter': 'true', 'isSupportNetPreviewStrategy': 'false', 'isSupportEZVIZ': 'true', 'isSupportMACFilter': 'true', 'GB28181Cap': {'isSupportGB28181Service': 'false'}, 'VerificationCodeModification': {'@opt': 'true,false', 'verificationCodeType': {'@opt': 'normal,empty', '#text': 'normal'}, 'isSupportDeclarationURL': 'true', 'isSupportPrivacyPolicyURL': 'true', 'verificationCodeModify': 'true', 'Hyperlinks': {'declarationURL': 'https://www.hik-connect.com/views/terms/termsofservice.html', 'privacyPolicyURL': 'https://www.hik-connect.com/views/terms/privacypolicy.html'}, 'isSupportVerificationCodeCheck': 'true'}, 'isSupportIntegrate': 'true', 'isSupportEZVIZTiming': 'true', 'isSupportResourceStatistics': 'true', 'isSupportBandwidthLimit': 'true', 'isSupportPOEPortsDisableAdaptiveServer': 'true', 'isSupportPOEConfiguration': 'true', 'isSupportGetLinkSocketIP': 'true', 'isSupportWebSocket': 'true', 'Adaption': {'streamType': {'@opt': '3'}, 'isSupportPlayback': 'true'}}, 'IOCap': {'IOInputPortNums': '4', 'IOOutputPortNums': '1', 'SoftIOInputPortNums': '8', 'isSupportIOOutputAdvanceParameter': 'false', 'isSupportCombinationAlarm': 'true', 'isSupportSetAllIOOutput': 'true', 'enabledIOOutputPortNums': '13'}, 'SerialCap': {'rs485PortNums': '0', 'supportRS232Config': 'false', 'rs422PortNums': '0', 'rs232PortNums': '0', 'isSupportAuthenticationService': 'true'}, 'VideoCap': {'videoInputPortNums': '0', 'videoOutputPortNums': '2', 'menuNums': '2', 'isSupportHeatmap': 'true', 'isSupportCounting': 'true', 'countingType': 'human', 'isSupportOutputsResource': 'true', 'isSupportMultiChannelCounting': 'true', 'isSupportCountingCollection': 'true', 'isSupportHeatmapCollection': 'true', 'channelFlexible': {'@opt': 'name,online,linknum'}, 'isSupportMixedChannel': 'true', 'isSupportMixedChannelStatus': 'true'}, 'AudioCap': {'audioInputNums': '1', 'audioOutputNums': '1'}, 'isSupportHolidy': 'true', 'RebootConfigurationCap': {'ONVIF': 'true', 'RTSP': 'true', 'HTTP': 'true'}, 'isSupportSubscribeEvent': 'true', 'isSupportDiagnosedData': 'true', 'isSupportChangedUpload': 'true', 'isSupportGettingWorkingStatus': 'true', 'isSupportGettingChannelInfoByCondition': 'true', 'isSupportDiagnosedDataParameter': 'true', 'isSupportTimeCap': 'true'}, 'voicetalkNums': '2', 'isSupportSnapshot': 'true', 'SecurityCap': {'supportUserNums': '32', 'userBondIpNums': '1', 'userBondMacNums': '1', 'securityVersion': {'@opt': '1'}, 'keyIterateNum': '100', 'isSupportUserCheck': 'true', 'isSupportGUIDFileDataExport': 'true', 'isSupportSecurityQuestionConfig': 'true', 'isSupportSecurityEmail': 'true', 'isSupportGetOnlineUserListSC': 'true', 'SecurityLimits': {'LoginPasswordLenLimit': {'@min': '1', '@max': '16'}, 'SecurityAnswerLenLimit': {'@min': '1', '@max': '128'}}, 'isSupportONVIFUserManagement': 'true', 'WebCertificateCap': {'CertificateType': {'@opt': 'digest,digest/basic', '#text': 'digest/basic'}, 'SecurityAlgorithm': {'algorithmType': {'@opt': 'MD5,SHA256,MD5/SHA256'}}}, 'isSupportConfigFileImport': 'true', 'isSupportConfigFileExport': 'true', 'cfgFileSecretKeyLenLimit': {'@min': '1', '@max': '16'}, 'supportIPCActivatePassword': 'true', 'isSupportPictureURlCertificate': {'@opt': 'true,false', '#text': 'true'}, 'isSupportUnloggedUserPermissionConfig': {'@opt': 'true,false', '#text': 'true'}, 'isSupportUserNamePasswordCheckUpgrade': 'true', 'isSupportDeviceCertificatesManagement': 'true', 'isSupportDeviceSelfSignCertExport': 'true', 'DoubleVerificationCap': {'isSupportUsersConfig': 'true', 'isSupportUsersPermissionConfig': 'true'}}, 'EventCap': {'isSupportHDFull': 'true', 'isSupportHDError': 'true', 'isSupportNicBroken': 'true', 'isSupportIpConflict': 'true', 'isSupportIllAccess': 'true', 'isSupportViException': 'false', 'isSupportViMismatch': 'false', 'isSupportRecordException': 'true', 'isSupportRaidException': 'false', 'isSupportViResMismatch': 'false', 'isSupportPOCException': 'false', 'isSupportSmartDetection': 'false', 'isSupportSpareException': 'false', 'isSupportHumanRecognition': 'true', 'isSupportStudentsStoodUp': 'true', 'isSupportFaceSnap': 'true', 'isSupportPersonQueueDetection': 'true', 'isSupportTeacherBehaviorDetect': 'true', 'isSupportCityManagement': 'true', 'isSupportMixedTargetDetection': 'true', 'isSupportFaceSnapModeling': 'true', 'isSupportTriggerCapCheck': 'true'}, 'RacmCap': {'isSupportZeroChan': 'true', 'inputProxyNums': '8', 'eSATANums': '0', 'miniSASNums': '0', 'nasNums': '8', 'ipSanNums': '8', 'isSupportRaid': 'false', 'isSupportExtHdCfg': 'true', 'isSupportTransCode': 'true', 'isSupportIpcImport': 'true', 'isSupportIpcStreamType': 'true', 'isSupportIOInputProxy': 'true', 'isSupportIOOutputProxy': 'true', 'isSupportPTZRs485Proxy': 'true', 'isSupportSMARTTest': 'true', 'pictureSearchType': {'@opt': 'CMR,MOTION,ALARM,EDR,ALARMANDMOTION,Command,manual,AllEvent,manualSnapShot,playSnapShot,fireDetection,thermometryAlarm,thermometryDiffAlarm,personQueueCounting,personQueueTime,accessController,videoInterCom,GJD,Luminite,OPTEX,vehicleDetection,faceSnapModeling,unregisteredStreetVendor,studentsStoodUp,dredgerDetection,reverseEntrance,allPic'}, 'recordSearchType': {'@opt': 'CMR,MOTION,ALARM,EDR,ALARMANDMOTION,Command,manual,AllEvent,POS'}, 'isSupportActivateIpc': 'true', 'isSupportCheckIpcSecurity': {'isSupportCheckPassword': 'true'}, 'isSupportSyncIPCPassword': 'true', 'isSupportTransferIPC': 'true', 'isSupportMainAndSubRecord': 'true', 'isSupportSmartSearch': 'true', 'isSupportPOS': 'true', 'isSupportLinkNum': 'true', 'isSupportStorageExtraInfo': 'true', 'ExternalDevice': {'USB': {'debugLogOutput': 'true', 'isSupportCapturePackage': 'true', 'isSupportStreamStorage': 'true'}}, 'customProtocolNums': '8', 'isSupportIPCTiming': 'true', 'isSupportGetBackupDevice': 'true', 'isSupportAutoBackup': 'false', 'certificateValidationEnabled': 'true', 'defaultAdminPortEnabled': 'true', 'isSupportLogDataPackage': 'true', 'CloudStorageServerCap': {'isSupportCloudStorageParameter': 'true', 'isSupportCloudStoragePool': 'false'}, 'isSupportWebPrivatePlaybackByUTC': 'true', 'isSupportFindCommonFileByUTC': 'true', 'isSupportFindEventFileByUTC': 'true', 'isSupportSmartSearchRecordByUTC': 'true', 'isSupportMRDSearchByTimeZone': 'true', 'isSupportSearchRecordLabelByUTC': 'true', 'isSupportSearchPictureByUTC': 'true', 'isSupportSmartSearchPictureByUTC': 'true', 'isSupportFindLogByUTC': 'true', 'isSupportUploadRecordByUTC': 'true', 'isSupportPlaybackByUTC': 'true', 'isSupportFaceDetecttionAlarmByTimeZone': 'true', 'isSupportCountingSearchByUTC': 'true', 'isSupportTimeSearch': 'true', 'securityLogServer': {'isSupportLogServer': 'true'}, 'isSupportRecordSearchByTargetType': 'true', 'isSupportSpare': 'false'}, 'PTZCtrlCap': {'isSupportPatrols': 'true'}, 'SmartCap': {'isSupportROI': 'false', 'isSupportFaceDetect': 'true', 'isSupportIntelliTrace': 'false', 'isSupportFieldDetection': 'true', 'isSupportDefocusDetection': 'true', 'isSupportAudioDetection': 'true', 'isSupportSceneChangeDetection': 'true', 'isSupportLineDetection': 'true', 'isSupportRegionEntrance': 'true', 'isSupportRegionExiting': 'true', 'isSupportLoitering': 'true', 'isSupportGroup': 'true', 'isSupportRapidMove': 'true', 'isSupportParking': 'true', 'isSupportUnattendedBaggage': 'true', 'isSupportAttendedBaggage': 'true', 'isSupportDetectionDistance': 'false'}, 'isSupportEhome': 'true', 'isSupportStreamingEncrypt': 'true', 'TestCap': {'isSupportEmailTest': 'true'}, 'ThermalCap': {'isSupportFireDetection': 'true', 'isSupportThermometry': 'true', 'isSupportRealtimeThermometry': 'true', 'isSupportNVR': 'true', 'isSupportThermometrySchedule': 'true', 'isSupportTemperatureSchedule': 'true', 'isSupportFireDetectionSchedule': 'true', 'isSupportTemperatureCollection': 'true'}, 'isSupportGetmutexFuncErrMsg': 'false', 'isSupportTokenAuthenticate': ['true', 'true'], 'isSupportStreamDualVCA': 'true', 'isSupportChannelEventCap': 'true', 'isSupportEncryption': 'true', 'isSupportIntelligentSearch': 'true', 'isSupportAutoMaintenance': 'false', 'isSupportRtspOverHTTPS': 'true', 'isSupportIntersectionAnalysis': 'true', 'isSupportChannelFullEventListCap': 'true', 'isSupportAUXInfoCap': 'true', 'IOTCap': {'supportChannelNum': '4', 'startChannelNo': '1'}, 'isSupportShipsDetectionWithScene': 'true', 'isSupportPictureServer': 'true', 'SHMCap': {'isSupportHighHDTemperature': 'true', 'isSupportLowHDTemperature': 'true', 'isSupportHDImpact': 'true', 'isSupportHDBadBlock': 'true', 'isSupportSevereHDFailure': 'true'}, 'isSupportInputProxyDeviceInfo': 'true', 'isSupportLogException': 'true', 'isSupportISUPHttpPassthrough': 'true'}
2023-06-29 19:20:06.742 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Event/notification/httpHosts {'HttpHostNotificationList': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'HttpHostNotification': {'id': '1', 'url': '/', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '0.0.0.0', 'portNo': '80', 'httpAuthenticationMethod': 'none', 'Extensions': {'@xmlns': 'urn:selfextension:psiaext-ver10-xsd', 'intervalBetweenEvents': '0'}}}}
2023-06-29 19:20:06.742 DEBUG (MainThread) [custom_components.hikvision_next.isapi] Alarm Server: AlarmServer(ipAddress='0.0.0.0', portNo=80, url='/', protocolType='HTTP')
2023-06-29 19:20:06.809 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/ContentMgmt/Storage [{'hdd': {'id': '2', 'hddName': 'hdd2', 'hddPath': None, 'hddType': 'SATA', 'status': 'ok', 'capacity': '2861588', 'freeSpace': '0', 'property': 'RW'}}]
2023-06-29 19:20:06.906 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Security/adminAccesses [{'id': '1', 'enabled': 'true', 'protocol': 'HTTP', 'portNo': '80'}, {'id': '2', 'enabled': 'true', 'protocol': 'RTSP', 'portNo': '554'}, {'id': '3', 'enabled': 'true', 'protocol': 'HTTPS', 'redirectToHttps': 'false', 'portNo': '443', 'TLS1_1Enable': 'true', 'TLS1_2Enable': 'true'}, {'id': '4', 'enabled': 'true', 'protocol': 'DEV_MANAGE', 'portNo': '8000'}, {'id': '5', 'enabled': 'true', 'protocol': 'WebSocket', 'portNo': '7681'}, {'id': '6', 'enabled': 'true', 'protocol': 'IOT', 'portNo': '30999'}, {'id': '7', 'enabled': 'true', 'protocol': 'SDK_OVER_TLS', 'streamOverTls': 'false', 'portNo': '8443'}]
2023-06-29 19:20:07.021 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Event/triggers {'EventTriggerList': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'EventTrigger': [{'id': 'IO-1', 'eventType': 'IO', 'inputIOPortID': '1', 'EventTriggerNotificationList': None}, {'id': 'IO-2', 'eventType': 'IO', 'inputIOPortID': '2', 'EventTriggerNotificationList': None}, {'id': 'IO-3', 'eventType': 'IO', 'inputIOPortID': '3', 'EventTriggerNotificationList': None}, {'id': 'IO-4', 'eventType': 'IO', 'inputIOPortID': '4', 'EventTriggerNotificationList': None}, {'id': 'softIO-1', 'eventType': 'softIO', 'inputIOPortID': '1', 'EventTriggerNotificationList': None}, {'id': 'softIO-2', 'eventType': 'softIO', 'inputIOPortID': '2', 'EventTriggerNotificationList': None}, {'id': 'softIO-3', 'eventType': 'softIO', 'inputIOPortID': '3', 'EventTriggerNotificationList': None}, {'id': 'softIO-4', 'eventType': 'softIO', 'inputIOPortID': '4', 'EventTriggerNotificationList': None}, {'id': 'softIO-5', 'eventType': 'softIO', 'inputIOPortID': '5', 'EventTriggerNotificationList': None}, {'id': 'softIO-6', 'eventType': 'softIO', 'inputIOPortID': '6', 'EventTriggerNotificationList': None}, {'id': 'softIO-7', 'eventType': 'softIO', 'inputIOPortID': '7', 'EventTriggerNotificationList': None}, {'id': 'softIO-8', 'eventType': 'softIO', 'inputIOPortID': '8', 'EventTriggerNotificationList': None}, {'id': 'IO-101', 'eventType': 'IO', 'dynInputIOPortID': '101', 'EventTriggerNotificationList': None}, {'id': 'IO-201', 'eventType': 'IO', 'dynInputIOPortID': '201', 'EventTriggerNotificationList': None}, {'id': 'IO-301', 'eventType': 'IO', 'dynInputIOPortID': '301', 'EventTriggerNotificationList': None}, {'id': 'IO-401', 'eventType': 'IO', 'dynInputIOPortID': '401', 'EventTriggerNotificationList': None}, {'id': 'VMD-1', 'eventType': 'VMD', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-1', 'notificationMethod': 'record', 'dynVideoInputID': '1'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'VMD-2', 'eventType': 'VMD', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-2', 'notificationMethod': 'record', 'dynVideoInputID': '2'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'VMD-3', 'eventType': 'VMD', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-3', 'notificationMethod': 'record', 'dynVideoInputID': '3'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'VMD-4', 'eventType': 'VMD', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-4', 'notificationMethod': 'record', 'dynVideoInputID': '4'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'tamper-1', 'eventType': 'tamperdetection', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'center', 'notificationMethod': 'center'}}}, {'id': 'tamper-2', 'eventType': 'tamperdetection', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'center', 'notificationMethod': 'center'}}}, {'id': 'tamper-3', 'eventType': 'tamperdetection', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'center', 'notificationMethod': 'center'}}}, {'id': 'tamper-4', 'eventType': 'tamperdetection', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'center', 'notificationMethod': 'center'}}}, {'id': 'videoloss-1', 'eventType': 'videoloss', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': None}, {'id': 'videoloss-2', 'eventType': 'videoloss', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': None}, {'id': 'videoloss-3', 'eventType': 'videoloss', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': None}, {'id': 'videoloss-4', 'eventType': 'videoloss', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': None}, {'id': 'fielddetection-1', 'eventType': 'fielddetection', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-1', 'notificationMethod': 'record', 'dynVideoInputID': '1'}}}, {'id': 'fielddetection-2', 'eventType': 'fielddetection', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-2', 'notificationMethod': 'record', 'dynVideoInputID': '2'}}}, {'id': 'fielddetection-3', 'eventType': 'fielddetection', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-3', 'notificationMethod': 'record', 'dynVideoInputID': '3'}}}, {'id': 'fielddetection-4', 'eventType': 'fielddetection', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-4', 'notificationMethod': 'record', 'dynVideoInputID': '4'}}}, {'id': 'linedetection-1', 'eventType': 'linedetection', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-1', 'notificationMethod': 'record', 'dynVideoInputID': '1'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'linedetection-2', 'eventType': 'linedetection', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-2', 'notificationMethod': 'record', 'dynVideoInputID': '2'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'linedetection-3', 'eventType': 'linedetection', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-3', 'notificationMethod': 'record', 'dynVideoInputID': '3'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'linedetection-4', 'eventType': 'linedetection', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-4', 'notificationMethod': 'record', 'dynVideoInputID': '4'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'regionEntrance-1', 'eventType': 'regionEntrance', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': None}, {'id': 'regionEntrance-2', 'eventType': 'regionEntrance', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-2', 'notificationMethod': 'record', 'dynVideoInputID': '2'}}}, {'id': 'regionEntrance-3', 'eventType': 'regionEntrance', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-3', 'notificationMethod': 'record', 'dynVideoInputID': '3'}}}, {'id': 'regionEntrance-4', 'eventType': 'regionEntrance', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-4', 'notificationMethod': 'record', 'dynVideoInputID': '4'}}}, {'id': 'regionExiting-1', 'eventType': 'regionExiting', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-1', 'notificationMethod': 'record', 'dynVideoInputID': '1'}}}, {'id': 'regionExiting-2', 'eventType': 'regionExiting', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-2', 'notificationMethod': 'record', 'dynVideoInputID': '2'}}}, {'id': 'regionExiting-3', 'eventType': 'regionExiting', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-3', 'notificationMethod': 'record', 'dynVideoInputID': '3'}}}, {'id': 'regionExiting-4', 'eventType': 'regionExiting', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-4', 'notificationMethod': 'record', 'dynVideoInputID': '4'}}}, {'id': 'scenechangedetection-1', 'eventType': 'scenechangedetection', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'IO-1', 'notificationMethod': 'IO', 'outputIOPortID': '1'}, {'id': 'IO-101', 'notificationMethod': 'IO', 'outputIOPortID': '101', 'dynOutputIOPortID': '101'}, {'id': 'record-1', 'notificationMethod': 'record', 'dynVideoInputID': '1'}]}}, {'id': 'scenechangedetection-2', 'eventType': 'scenechangedetection', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-2', 'notificationMethod': 'record', 'dynVideoInputID': '2'}}}, {'id': 'scenechangedetection-3', 'eventType': 'scenechangedetection', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-3', 'notificationMethod': 'record', 'dynVideoInputID': '3'}}}, {'id': 'scenechangedetection-4', 'eventType': 'scenechangedetection', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-4', 'notificationMethod': 'record', 'dynVideoInputID': '4'}}}, {'id': 'diskfull', 'eventType': 'diskfull', 'EventTriggerNotificationList': None}, {'id': 'diskerror', 'eventType': 'diskerror', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'beep', 'notificationMethod': 'beep'}}}, {'id': 'nicbroken', 'eventType': 'nicbroken', 'EventTriggerNotificationList': None}, {'id': 'ipconflict', 'eventType': 'ipconflict', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'beep', 'notificationMethod': 'beep'}}}, {'id': 'illaccess', 'eventType': 'illaccess', 'EventTriggerNotificationList': None}, {'id': 'recordingfailure', 'eventType': 'recordingfailure', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'beep', 'notificationMethod': 'beep'}}}]}}
2023-06-29 19:20:07.104 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/ContentMgmt/InputProxy/channels [{'id': '1', 'name': 'Garage', 'sourceInputPortDescriptor': {'proxyProtocol': 'HIKVISION', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.254.2', 'managePortNo': '8000', 'srcInputPort': '1', 'userName': 'admin', 'connMode': 'plugplay', 'streamType': 'auto', 'deviceID': None}, 'certificateValidationEnabled': 'false', 'defaultAdminPortEnabled': 'true', 'enableAnr': 'false', 'enableTiming': 'true'}, {'id': '2', 'name': 'Entry', 'sourceInputPortDescriptor': {'proxyProtocol': 'HIKVISION', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.254.6', 'managePortNo': '8000', 'srcInputPort': '1', 'userName': 'admin', 'connMode': 'plugplay', 'streamType': 'auto', 'deviceID': None}, 'certificateValidationEnabled': 'false', 'defaultAdminPortEnabled': 'true', 'enableAnr': 'false', 'enableTiming': 'true'}, {'id': '3', 'name': 'Stairs Deck', 'sourceInputPortDescriptor': {'proxyProtocol': 'HIKVISION', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.254.4', 'managePortNo': '8000', 'srcInputPort': '1', 'userName': 'admin', 'connMode': 'plugplay', 'streamType': 'auto', 'deviceID': None}, 'certificateValidationEnabled': 'false', 'defaultAdminPortEnabled': 'true', 'enableAnr': 'false', 'enableTiming': 'true'}, {'id': '4', 'name': 'Back Garden', 'sourceInputPortDescriptor': {'proxyProtocol': 'HIKVISION', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.254.5', 'managePortNo': '8000', 'srcInputPort': '1', 'userName': 'admin', 'connMode': 'plugplay', 'streamType': 'auto', 'deviceID': None}, 'certificateValidationEnabled': 'false', 'defaultAdminPortEnabled': 'true', 'enableAnr': 'false', 'enableTiming': 'true'}]
2023-06-29 19:20:07.169 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/101 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '101', 'channelName': '101', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '1', 'videoCodecType': 'H.264', 'videoResolutionWidth': '3200', 'videoResolutionHeight': '1800', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '10240', 'vbrLowerCap': '32', 'maxFrameRate': '2500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '1', 'audioCompressionType': 'G.711ulaw'}}
2023-06-29 19:20:07.248 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/102 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '102', 'channelName': '102', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '1', 'videoCodecType': 'H.264', 'videoResolutionWidth': '640', 'videoResolutionHeight': '480', 'videoQualityControlType': 'VBR', 'fixedQuality': '75', 'vbrUpperCap': '1024', 'vbrLowerCap': '32', 'maxFrameRate': '1500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '1', 'audioCompressionType': 'G.711ulaw'}}
2023-06-29 19:20:07.381 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/104 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '104', 'channelName': '104', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '1', 'videoCodecType': 'H.264', 'videoResolutionWidth': '704', 'videoResolutionHeight': '576', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '512', 'vbrLowerCap': '32', 'maxFrameRate': '0', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}}}
2023-06-29 19:20:08.303 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/201 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '201', 'channelName': '201', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '2', 'videoCodecType': 'H.265', 'videoResolutionWidth': '3200', 'videoResolutionHeight': '1800', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '2560', 'vbrLowerCap': '32', 'maxFrameRate': '2500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '2', 'audioCompressionType': 'G.711ulaw'}}
2023-06-29 19:20:08.422 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/202 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '202', 'channelName': '202', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '2', 'videoCodecType': 'H.264', 'videoResolutionWidth': '640', 'videoResolutionHeight': '480', 'videoQualityControlType': 'VBR', 'fixedQuality': '75', 'vbrUpperCap': '1024', 'vbrLowerCap': '32', 'maxFrameRate': '1500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '2', 'audioCompressionType': 'G.711ulaw'}}
2023-06-29 19:20:08.556 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/204 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '204', 'channelName': '204', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '2', 'videoCodecType': 'H.264', 'videoResolutionWidth': '704', 'videoResolutionHeight': '576', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '512', 'vbrLowerCap': '32', 'maxFrameRate': '0', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}}}
2023-06-29 19:20:08.620 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/301 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '301', 'channelName': '301', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '3', 'videoCodecType': 'H.264', 'videoResolutionWidth': '3200', 'videoResolutionHeight': '1800', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '10240', 'vbrLowerCap': '32', 'maxFrameRate': '2500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '3', 'audioCompressionType': 'G.711ulaw'}}
2023-06-29 19:20:08.696 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/302 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '302', 'channelName': '302', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '3', 'videoCodecType': 'H.264', 'videoResolutionWidth': '640', 'videoResolutionHeight': '480', 'videoQualityControlType': 'VBR', 'fixedQuality': '75', 'vbrUpperCap': '1024', 'vbrLowerCap': '32', 'maxFrameRate': '1500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '3', 'audioCompressionType': 'G.711ulaw'}}
2023-06-29 19:20:08.823 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/304 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '304', 'channelName': '304', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '3', 'videoCodecType': 'H.264', 'videoResolutionWidth': '704', 'videoResolutionHeight': '576', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '512', 'vbrLowerCap': '32', 'maxFrameRate': '0', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}}}
2023-06-29 19:20:08.888 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/401 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '401', 'channelName': '401', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '4', 'videoCodecType': 'H.264', 'videoResolutionWidth': '3200', 'videoResolutionHeight': '1800', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '10240', 'vbrLowerCap': '32', 'maxFrameRate': '2500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '4', 'audioCompressionType': 'G.711ulaw'}}
2023-06-29 19:20:08.952 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/402 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '402', 'channelName': '402', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '4', 'videoCodecType': 'H.264', 'videoResolutionWidth': '640', 'videoResolutionHeight': '480', 'videoQualityControlType': 'VBR', 'fixedQuality': '75', 'vbrUpperCap': '1024', 'vbrLowerCap': '32', 'maxFrameRate': '1500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '4', 'audioCompressionType': 'G.711ulaw'}}
2023-06-29 19:20:09.092 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/404 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '404', 'channelName': '404', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '4', 'videoCodecType': 'H.264', 'videoResolutionWidth': '704', 'videoResolutionHeight': '576', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '512', 'vbrLowerCap': '32', 'maxFrameRate': '0', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}}}
2023-06-29 19:20:09.093 DEBUG (MainThread) [custom_components.hikvision_next.isapi] Cameras: [IPCamera(id=1, name='Garage', model='Unknown', serial_no='HIKVISION1921682542', input_port=1, streams=[CameraStreamInfo(id='101', name='101', type_id='101', type='Main Stream', enabled='true', codec='H.264', width='3200', height='1800', audio='false'), CameraStreamInfo(id='102', name='102', type_id='102', type='Sub-stream', enabled='true', codec='H.264', width='640', height='480', audio='false'), CameraStreamInfo(id='104', name='104', type_id='104', type='Transcoded Stream', enabled='true', codec='H.264', width='704', height='576', audio=False)], supported_events=[EventInfo(id='motiondetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_1_motiondetection', url='ContentMgmt/InputProxy/channels/1/video/motionDetection', notifiers=['record', 'center']), EventInfo(id='tamperdetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_1_tamperdetection', url='ContentMgmt/InputProxy/channels/1/video/tamperDetection', notifiers=['center']), EventInfo(id='fielddetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_1_fielddetection', url='Smart/FieldDetection/1', notifiers=['record']), EventInfo(id='linedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_1_linedetection', url='Smart/LineDetection/1', notifiers=['record', 'center']), EventInfo(id='regionexiting', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_1_regionexiting', url='Smart/regionExiting/1', notifiers=['record']), EventInfo(id='scenechangedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_1_scenechangedetection', url='Smart/SceneChangeDetection/1', notifiers=['IO', 'IO', 'record'])], firmware=None, ip_addr='192.168.254.2', ip_port='8000'), IPCamera(id=2, name='Entry', model='Unknown', serial_no='HIKVISION1921682546', input_port=1, streams=[CameraStreamInfo(id='201', name='201', type_id='201', type='Main Stream', enabled='true', codec='H.265', width='3200', height='1800', audio='false'), CameraStreamInfo(id='202', name='202', type_id='202', type='Sub-stream', enabled='true', codec='H.264', width='640', height='480', audio='false'), CameraStreamInfo(id='204', name='204', type_id='204', type='Transcoded Stream', enabled='true', codec='H.264', width='704', height='576', audio=False)], supported_events=[EventInfo(id='motiondetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_2_motiondetection', url='ContentMgmt/InputProxy/channels/2/video/motionDetection', notifiers=['record', 'center']), EventInfo(id='tamperdetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_2_tamperdetection', url='ContentMgmt/InputProxy/channels/2/video/tamperDetection', notifiers=['center']), EventInfo(id='fielddetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_2_fielddetection', url='Smart/FieldDetection/2', notifiers=['record']), EventInfo(id='linedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_2_linedetection', url='Smart/LineDetection/2', notifiers=['record', 'center']), EventInfo(id='regionentrance', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_2_regionentrance', url='Smart/regionEntrance/2', notifiers=['record']), EventInfo(id='regionexiting', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_2_regionexiting', url='Smart/regionExiting/2', notifiers=['record']), EventInfo(id='scenechangedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_2_scenechangedetection', url='Smart/SceneChangeDetection/2', notifiers=['record'])], firmware=None, ip_addr='192.168.254.6', ip_port='8000'), IPCamera(id=3, name='Stairs Deck', model='Unknown', serial_no='HIKVISION1921682544', input_port=1, streams=[CameraStreamInfo(id='301', name='301', type_id='301', type='Main Stream', enabled='true', codec='H.264', width='3200', height='1800', audio='false'), CameraStreamInfo(id='302', name='302', type_id='302', type='Sub-stream', enabled='true', codec='H.264', width='640', height='480', audio='false'), CameraStreamInfo(id='304', name='304', type_id='304', type='Transcoded Stream', enabled='true', codec='H.264', width='704', height='576', audio=False)], supported_events=[EventInfo(id='motiondetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_3_motiondetection', url='ContentMgmt/InputProxy/channels/3/video/motionDetection', notifiers=['record', 'center']), EventInfo(id='tamperdetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_3_tamperdetection', url='ContentMgmt/InputProxy/channels/3/video/tamperDetection', notifiers=['center']), EventInfo(id='fielddetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_3_fielddetection', url='Smart/FieldDetection/3', notifiers=['record']), EventInfo(id='linedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_3_linedetection', url='Smart/LineDetection/3', notifiers=['record', 'center']), EventInfo(id='regionentrance', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_3_regionentrance', url='Smart/regionEntrance/3', notifiers=['record']), EventInfo(id='regionexiting', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_3_regionexiting', url='Smart/regionExiting/3', notifiers=['record']), EventInfo(id='scenechangedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_3_scenechangedetection', url='Smart/SceneChangeDetection/3', notifiers=['record'])], firmware=None, ip_addr='192.168.254.4', ip_port='8000'), IPCamera(id=4, name='Back Garden', model='Unknown', serial_no='HIKVISION1921682545', input_port=1, streams=[CameraStreamInfo(id='401', name='401', type_id='401', type='Main Stream', enabled='true', codec='H.264', width='3200', height='1800', audio='false'), CameraStreamInfo(id='402', name='402', type_id='402', type='Sub-stream', enabled='true', codec='H.264', width='640', height='480', audio='false'), CameraStreamInfo(id='404', name='404', type_id='404', type='Transcoded Stream', enabled='true', codec='H.264', width='704', height='576', audio=False)], supported_events=[EventInfo(id='motiondetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_4_motiondetection', url='ContentMgmt/InputProxy/channels/4/video/motionDetection', notifiers=['record', 'center']), EventInfo(id='tamperdetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_4_tamperdetection', url='ContentMgmt/InputProxy/channels/4/video/tamperDetection', notifiers=['center']), EventInfo(id='fielddetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_4_fielddetection', url='Smart/FieldDetection/4', notifiers=['record']), EventInfo(id='linedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_4_linedetection', url='Smart/LineDetection/4', notifiers=['record', 'center']), EventInfo(id='regionentrance', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_4_regionentrance', url='Smart/regionEntrance/4', notifiers=['record']), EventInfo(id='regionexiting', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_4_regionexiting', url='Smart/regionExiting/4', notifiers=['record']), EventInfo(id='scenechangedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_4_scenechangedetection', url='Smart/SceneChangeDetection/4', notifiers=['record'])], firmware=None, ip_addr='192.168.254.5', ip_port='8000')]
2023-06-29 19:20:09.158 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Event/notification/httpHosts {'HttpHostNotificationList': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'HttpHostNotification': {'id': '1', 'url': '/', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '0.0.0.0', 'portNo': '80', 'httpAuthenticationMethod': 'none', 'Extensions': {'@xmlns': 'urn:selfextension:psiaext-ver10-xsd', 'intervalBetweenEvents': '0'}}}}
2023-06-29 19:20:09.221 DEBUG (MainThread) [custom_components.hikvision_next.isapi] [PUT] http://192.168.17.205/ISAPI/Event/notification/httpHosts {'ResponseStatus': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'requestURL': '/ISAPI/Event/notification/httpHosts', 'statusCode': '1', 'statusString': 'OK', 'subStatusCode': 'ok'}}
2023-06-29 19:20:11.427 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/ContentMgmt/Storage [{'hdd': {'id': '2', 'hddName': 'hdd2', 'hddPath': None, 'hddType': 'SATA', 'status': 'ok', 'capacity': '2861588', 'freeSpace': '0', 'property': 'RW'}}]
2023-06-29 19:20:11.427 DEBUG (MainThread) [custom_components.hikvision_next.coordinator] Finished fetching hikvision_next data in 2.206 seconds (success: True)
2023-06-29 19:20:11.576 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Event/notification/httpHosts {'HttpHostNotificationList': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'HttpHostNotification': {'id': '1', 'url': '/api/hikvision', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.17.147', 'portNo': '8123', 'httpAuthenticationMethod': 'none', 'Extensions': {'@xmlns': 'urn:selfextension:psiaext-ver10-xsd', 'intervalBetweenEvents': '0'}}}}
2023-06-29 19:20:11.577 DEBUG (MainThread) [custom_components.hikvision_next.isapi] Alarm Server: AlarmServer(ipAddress='192.168.17.147', portNo=8123, url='/api/hikvision', protocolType='HTTP')
2023-06-29 19:20:11.577 DEBUG (MainThread) [custom_components.hikvision_next.coordinator] Finished fetching hikvision_next data in 0.150 seconds (success: True)
2023-06-29 19:20:11.891 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Event/notification/httpHosts {'HttpHostNotificationList': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'HttpHostNotification': {'id': '1', 'url': '/api/hikvision', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.17.147', 'portNo': '8123', 'httpAuthenticationMethod': 'none', 'Extensions': {'@xmlns': 'urn:selfextension:psiaext-ver10-xsd', 'intervalBetweenEvents': '0'}}}}
2023-06-29 19:20:11.891 DEBUG (MainThread) [custom_components.hikvision_next.isapi] Alarm Server: AlarmServer(ipAddress='192.168.17.147', portNo=8123, url='/api/hikvision', protocolType='HTTP')
2023-06-29 19:20:11.891 DEBUG (MainThread) [custom_components.hikvision_next.coordinator] Finished fetching hikvision_next data in 0.251 seconds (success: True)
Capto_Capture 2023-06-29_19-43-55_
dan-s-github commented 1 year ago

If I add the camera using the proxy port: 65000 + [IPCamera(id=1, n... all details are detected

Capto_Capture 2023-06-29_19-45-09_

Debug reload log from added camera device

2023-06-29 19:46:23.007 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205:65001/ISAPI/System/deviceInfo {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'deviceName': 'Garage', 'deviceID': '099f4000-4d50-11b4-82c8-2428fde45356', 'deviceDescription': 'IPCamera', 'deviceLocation': 'hangzhou', 'systemContact': 'Hikvision.China', 'model': 'DS-2CD2366G2-ISU/SL', 'serialNumber': 'DS-2CD2366G2-ISU/SL20210712AAWRG35256984', 'macAddress': '24:28:fd:e4:53:56', 'firmwareVersion': 'V5.7.13', 'firmwareReleasedDate': 'build 230504', 'encoderVersion': 'V7.3', 'encoderReleasedDate': 'build 230310', 'bootVersion': 'V1.3.4', 'bootReleasedDate': '100316', 'hardwareVersion': '0x0', 'deviceType': 'IPCamera', 'telecontrolID': '88', 'supportBeep': 'false', 'supportVideoLoss': 'false', 'firmwareVersionInfo': 'B-R-G5-0', 'manufacturer': 'hikvision', 'subSerialNumber': 'G35256984', 'OEMCode': '1'}
2023-06-29 19:46:23.423 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205:65001/ISAPI/System/capabilities {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'SysCap': {'isSupportDst': 'true', 'NetworkCap': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'isSupportWireless': 'false', 'isSupportPPPoE': 'true', 'isSupportBond': 'false', 'isSupport802_1x': 'true', 'isSupportNtp': 'true', 'isSupportFtp': 'true', 'isSupportUpnp': 'true', 'isSupportDdns': 'true', 'isSupportHttps': 'true', 'SnmpCap': {'isSupport': 'true'}, 'isSupportExtNetCfg': 'false', 'isSupportIPFilter': 'true', 'isSupportEZVIZ': 'true', 'isSupportEhome': 'true', 'isSupportWirelessDial': 'false', 'isSupportWirelessServer': 'false', 'isSupportWPS': 'false', 'isWirelessMutexWithWirelessServer': 'false', 'isSupportMACFilter': 'true', 'isSupportRFIDData': 'false', 'isSupportwifiProbeSSID': 'false', 'isSupportWifiProbe': 'false', 'verificationCode': {'@min': '6', '@max': '12'}, 'VerificationCodeModification': {'verificationCodeType': {'@opt': 'normal,empty', '#text': 'empty'}, 'isSupportDeclarationURL': 'true', 'isSupportPrivacyPolicyURL': 'true', 'verificationCodeModify': {'@opt': 'true,false', '#text': 'false'}, 'Hyperlinks': {'declarationURL': 'https://www.hik-connect.com/views/terms/termsofservice.html', 'privacyPolicyURL': 'https://www.hik-connect.com/views/terms/privacypolicy.html'}}, 'isSupportIntegrate': 'true', 'isSupportPlatformAccess': 'false', 'isSupportGetLinkSocketIP': 'true', 'isSupportWebSocket': 'true', 'isSupportWebSocketS': 'true', 'isSupportVideoImgDB': 'false', 'isSupportDynamicHostName': 'true', 'isSupportEmailEncrypt': 'true'}, 'IOCap': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'IOInputPortNums': '1', 'IOOutputPortNums': '1', 'isSupportStrobeLamp': 'false'}, 'SerialCap': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'rs485PortNums': '0', 'supportRS232Config': 'true', 'rs422PortNums': '0', 'rs232PortNums': '1'}, 'VideoCap': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'videoInputPortNums': '0', 'videoOutputPortNums': '0', 'isSupportHeatmap': 'false', 'isSupportCounting': 'false', 'isSupportPicture': 'false', 'isSupportPrivacyMask': 'true', 'isSupportBinocularPreviewSwitch': 'false', 'isSupportCalibCheck': 'false', 'isSupportPIP': 'false', 'OSDLanguage': {'@opt': 'GBK,EUC-KR,Hebrew', '@def': 'GBK'}, 'isSupportVideoOutputMode': 'false'}, 'AudioCap': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'audioInputNums': '1', 'audioOutputNums': '1'}, 'isSupportExternalDevice': 'false', 'isSupportSubscribeEvent': 'true', 'isSupportDiagnosedData': 'true', 'isSupportMetadata': 'true', 'supportSmartOverlapChannles': {'@opt': '1'}}, 'voicetalkNums': '1', 'isSupportSnapshot': 'true', 'SecurityCap': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'supportUserNums': '32', 'userBondIpNums': '0', 'userBondMacNums': '0', 'isSupCertificate': 'true', 'issupIllegalLoginLock': 'true', 'isSupportOnlineUser': 'true', 'isSupportAnonymous': 'false', 'isSupportStreamEncryption': 'false', 'securityVersion': {'@opt': '1'}, 'keyIterateNum': '100', 'isSupportUserCheck': 'true', 'isSupportSecurityQuestionConfig': 'true', 'supportSecurityNode': {'@opt': 'wirelessDial'}, 'SecurityLimits': {'LoginPasswordLenLimit': {'@min': '1', '@max': '16'}, 'SecurityAnswerLenLimit': {'@min': '1', '@max': '128'}}, 'RSAKeyLength': {'@opt': '1024,2048', '@def': '2048'}, 'isSupportONVIFUserManagement': 'true', 'isSupportGB35114Certificate': 'false', 'isSupportSIPCertificatesManagement': 'false', 'WebCertificateCap': {'CertificateType': {'@opt': 'digest,digest/basic'}, 'SecurityAlgorithm': {'algorithmType': {'@opt': 'MD5,SHA256,MD5/SHA256'}}}, 'isSupportConfigFileImport': 'true', 'isSupportConfigFileExport': 'true', 'cfgFileSecretKeyLenLimit': {'@min': '1', '@max': '16'}, 'isIrreversible': 'true', 'salt': 'e116b59c27aafac4e7434805a1621644c6c7555d9019b954d7115bcef012f96b', 'isSupportOnvifInfo': 'true', 'isSupportDeviceCertificatesManagement': 'true', 'isSupportDeviceSelfSignCertExport': 'true', 'isSupportSecurityEmail': 'true', 'maxIllegalLoginTimes': {'@min': '3', '@max': '20', '@def': '7'}, 'SecurityAdvanced': {'noOperationEnabled': 'true', 'noOperationTime': {'@min': '1', '@max': '60', '@def': '15'}}, 'LoginLinkNum': {'maxLinkNum': {'@min': '1', '@max': '128', '@def': '50'}}, 'isSupportCertificateCustomID': 'true', 'isSupportEncryptCertificate': 'true', 'maxIllegalLoginLockTime': {'@min': '1', '@max': '120', '@def': '30'}, 'isSupportSoftwareLicense': 'true'}, 'EventCap': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'isSupportHDFull': 'true', 'isSupportHDError': 'true', 'isSupportNicBroken': 'true', 'isSupportIpConflict': 'true', 'isSupportIllAccess': 'true', 'isSupportViException': 'false', 'isSupportViMismatch': 'false', 'isSupportRecordException': 'false', 'isSupportTriggerFocus': 'false', 'isSupportMotionDetection': 'true', 'isSupportVideoLoss': 'false', 'isSupportTamperDetection': 'true', 'isSupportStudentsStoodUp': 'false', 'isSupportFramesPeopleCounting': 'false', 'isSupportPersonQueueDetection': 'false', 'isSupportFaceContrast': 'false', 'isSupportFaceLib': 'false', 'isSupportFaceSnap': 'false', 'isSupportPersonDensityDetection': 'false', 'isSupportTeacherBehaviorDetect': 'false', 'isSupportCityManagement': 'false', 'isSupportMixedTargetDetection': 'false', 'isSupportFaceSnapModeling': 'false', 'isSupportIntersectionAnalysis': 'false', 'isSupportLuma': 'false', 'isSupportChroma': 'false', 'isSupportSnow': 'false', 'isSupportStreak': 'false', 'isSupportFreeze': 'false', 'isSupportSigLose': 'false', 'isSupportClarity': 'false', 'isSupportJitter': 'false', 'isSupportBlock': 'false', 'isSupportFlowers': 'false', 'isSupportNoise': 'false', 'isSupportGhost': 'false', 'isSupportPurple': 'false', 'isSupportICR': 'false', 'isSupportProtectiveFilm': 'false'}, 'RacmCap': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'nasNums': '8', 'pictureSearchType': {'@opt': 'allPic,CMR,MOTION,ALARM,LineDetection,FieldDetection,scenechangedetection,regionEntrance,regionExiting'}, 'recordSearchType': {'@opt': 'CMR,MOTION,ALARM,EDR,ALARMANDMOTION,LineDetection,FieldDetection,scenechangedetection,regionEntrance,regionExiting,AllEvent'}, 'SecurityLog': {'isSupportSecurityLog': 'true', 'isSupportLogServer': 'true', 'isSupportLogServerTest': 'true', 'SecurityLogTypeList': {'SecurityLogType': [{'primaryType': 'All', 'secondaryType': {'@opt': 'all'}}, {'primaryType': 'Operation', 'secondaryType': {'@opt': 'all,alarmSmsSend,callOnline,devicePowerOff,devicePowerOn,deviceRecycle,localAddIpc,localAddNas,localUserManagement,localCfgSecurity,localCfgNetwork,localCfgTime,localCfgPara,localCtrlPtz,localDelIpc,localDelNas,localDial,localDialParaSet,localDialScheduleSet,localDownloadCfgFile,localDownloadCountingFile,localDownloadHeatMapFile,localDownloadPicFile,localDownloadRecFile,localExportBlackWhiteListFile,localExportIpcCfg,localFormatDisk,localHdTest,localImportBlackWhiteListFile,localImportIpcCfg,localIpcUpgrade,localLock,localLockFile,localLogOut,localLogin,localManulAlarm,localPin,localPlayByFile,localPlayByTime,localResetPasswd,localSetIpc,localSetNas,localSetSIPServer,localSetSnmp,localSmsRead,localSmsSearch,localSmsSend,localSpareOperate,localStartPicRec,localStartRec,localStopPicRec,localStopRec,localTagOperation,localUnlock,localUnlockFile,localUpdate,localUploadCfgFile,localWhitelistSet,platOper,remoteAddIpc,remoteAddNas,remoteArm,remotecfgauditpolicy,remoteUserManagement,remoteCfgSecurity,remoteCfgNetwork,remoteCfgTime,remoteCfgPara,remoteCreateCloudStoragePool,remoteCtrlPtz,remoteDelHdisk,remoteDelIpc,remoteDelNas,remoteDeleteCloudStoragePool,remoteDeletePic,remoteDeleteRecord,remoteDialConnect,remoteDialDisconn,remoteDialParaSet,remoteDialScheduleSet,remoteDisArm,remoteDisableCloudStorage,remoteDownloadCfgFile,remoteDownloadRecFile,remoteEnableCloudStorage,remoteExportBlackWhiteListFile,remoteExportIpcCfg,remoteFormatHd,remoteGetParaSecurity,remoteGetParaNetwork,remoteGetPara,remoteGetStatus,remoteImportBlackWhiteListFile,VcaLibRestore,remoteImportIpcCfg,remoteLoadHdisk,remoteLockFile,remoteLogin,remoteLogout,remoteManulAlarm,remoteModCloudStorageParam,remoteModCloudStorageVolume,remotePicBackUp,remotePin,remotePlayByFile,remotePlayByTime,remotePowerOff,remotePowerRecycle,remoteSetIpc,remoteSetNas,remoteSetSIPServer,remoteSetSnmp,remoteSmsRead,remoteSmsSearch,remoteSmsSend,remoteSpareOperate,remoteStartPicRec,remoteStartRec,remoteStartTransChan,remoteStopPicRec,remoteStopRec,remoteStopTransChan,remoteTagOperation,remoteUnloadHdisk,remoteUnlockFile,remoteUpgrade,remoteUploadCfgFile,remoteWhitelistSet,remotelIpcUpgrade,smsControl,smsRecv,startVoiceTalk,stopAbnormal,stopVoiceTalk,localSetDeviceActive,localParamSimpleDefault,localParamFactoryDefault,remoteSetDeviceActive,remoteParamSimpleDefault,remoteParamFactoryDefault,localWPSLink,remoteWPSLink,localResetLoginPassWord,remoteResetLoginPassWord,localfaceBaseCreate,localfaceBaseModify,localfaceBaseDelete,localfaceDataAppend,localfaceDataEdit,localfaceDataDelete,localVcaAnalysisConfig,remotefaceBaseCreate,remotefaceBaseModify,remotefaceBaseDelete,remotefaceDataAppend,remotefaceDataEdit,remotefaceDataDelete,remoteVcaAnalysisConfig,localClusterNetworkConfig,localClusterAddDevice,localClusterDelDevice,remoteClusterNetworkConfig,remoteClusterAddDevice,remoteClusterDelDevice,localSetPoeWorkMode,remoteSetPoeWorkMode,localClusterModeConfig,remoteClusterModeConfig,localIOTCfgFileInput,localIOTCfgFileOutput,localIOTAdd,localIOTDelete,localIOTSet,remoteIOTCfgFileInput,remoteIOTCfgFileOutput,remoteIOTAdd,remoteIOTDelete,remoteIOTSet,localCheckTime,remoteCheckTime,remoteFaceContrastTask,unlockSession,terminateHttp,terminateHttps,terminateSSH,selfTest,remoterecplan,singlecertification'}}, {'primaryType': 'Event', 'secondaryType': {'@opt': 'all,anrRecordException,dialException,hdError,hdFull,illlegealAccess,ipConflict,ipcDisconnect,ipcIpConfilict,ipcmCrash,netBroken,poePowerException,recordError,recordOverFLow,spareException,startIpcMasException,uploadDataCsException,viAndResMismatch,videoException,videoFormatMismatch,videoLost,syncIPCPasswd,ezvizOffline,SDCardAbnormal,SDCardDamage,plateAbnormal,abnormalPort,POC,vcaCameraAngleAnomaly,dataDiskError,intelligentSystemRunningError,facesnapResolutionOverflow,SMDResolutionOverflow,clusterConfigFailed,clusterStorFullException,clusterOfflineNodeException,clusterRecordCycleException,clusterIPCTransferException,vcaSenceException,ClusterDeviceOffline,clusterDisasterToleranceExcept,clusterVersionException,getSubStreamFailure,locked,hddSHMDetectException,safetyHelmetException,faceModelException,validateCert,establishSecSession,replayAttacks,ntpCheckTime,lowAuditLogStorage,httpConnect,httpsConnect,sshConnect,httpDisconnect,httpsDisconnect,sshDisconnect,signcheck35114'}}, {'primaryType': 'Other', 'secondaryType': {'@opt': 'all'}}]}}, 'isSupportRacmChannelsCap': {'@opt': 'true,false', '#text': 'true'}}, 'SmartCap': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'isSupportROI': 'true', 'isSupportAudioDetection': 'false', 'isSupportFaceDetect': 'false', 'isSupportLineDetection': 'true', 'isSupportFieldDetection': 'true', 'isSupportRegionEntrance': 'true', 'isSupportRegionExiting': 'true', 'isSupportLoitering': 'false', 'isSupportGroup': 'false', 'isSupportRapidMove': 'false', 'isSupportParking': 'false', 'isSupportUnattendedBaggage': 'false', 'isSupportAttendedBaggage': 'false', 'isSupportSmartCalibration': 'true', 'isSupportIntelliTrace': 'false', 'isSupportPeopleDetection': 'false', 'isSupportDefocusDetection': 'false', 'isSupportSceneChangeDetection': 'true', 'isSupportStorageDetection': 'false', 'isSupportChannelResource': 'false'}, 'WLAlarmCap': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'isSupportTeleControl': 'false', 'isSupportPIR': 'false', 'isSupportWLSensors': 'false', 'isSupportCallHelp': 'false', 'WLSensorsNum': '8'}, 'isSupportGIS': 'false', 'isSupportCompass': 'false', 'isSupportRoadInfoOverlays': 'false', 'TestCap': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'isSupportFTPTest': 'true', 'isSupportPingTest': 'true', 'isSupportNTPTest': 'true', 'isSupportNASTest': 'true', 'isSupportEmailTest': 'true'}, 'PanoramaCap': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'isSupportGeneratePanorama': 'false', 'isSupportPanoramaPosition3D': 'false', 'isSupportPreset': 'false'}, 'isSupportFaceCaptureStatistics': 'false', 'isSupportElectronicsEnlarge': 'true', 'isSupportTraffic': 'false', 'isSupportRtspOverHTTPS': 'true', 'isSupportFirmwareVersionInfo': 'true', 'isSupportLaserSpotManual': 'false', 'isSupportSetupCalibration': 'false', 'isSupportPicInfoOverlap': 'true', 'isOnlySupportAnalogChannel': 'true', 'isSupportChannelEventCap': 'true', 'isSupportChannelEventListCap': 'true', 'VCAResourceChannelsCap': {'ChannelsList': {'channelsID': '1'}}, 'supportSnapshotChannel': {'@opt': '1', '#text': '1'}, 'isSupportGPSCalibratation': 'false', 'isSupportGPSLabelTracking': 'false', 'isSupportCalibrationStream': 'false', 'isSupportActiveMulticast': 'true', 'isSupportChannelFullEventCap': 'true', 'isSupportAUXInfoCap': 'true', 'isSupportVehicleMonitor': 'false', 'isSupportManualVehicleMonitor': 'false', 'isSupportSnapshotAsync': 'true', 'isSupportConvergenceCloud': 'true', 'isSupportAutoMaintenance': 'true', 'isSupportSIMCardStatus': 'false', 'isSupportISUPHttpPassthrough': 'true', 'isSupportTOFShelterAlarm': 'false', 'isSupportT1Test': 'true'}
2023-06-29 19:46:23.516 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205:65001/ISAPI/Event/notification/httpHosts {'HttpHostNotificationList': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'HttpHostNotification': [{'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '1', 'url': '/api/hikvision', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.17.40', 'portNo': '8123', 'userName': None, 'httpAuthenticationMethod': 'none', 'httpBroken': 'true'}, {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '2', 'url': '/', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '0.0.0.0', 'portNo': '80', 'userName': None, 'httpAuthenticationMethod': 'none', 'httpBroken': 'true'}, {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '3', 'url': '/', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '0.0.0.0', 'portNo': '80', 'userName': None, 'httpAuthenticationMethod': 'none', 'httpBroken': 'true'}]}}
2023-06-29 19:46:23.517 DEBUG (MainThread) [custom_components.hikvision_next.isapi] Alarm Server: AlarmServer(ipAddress='192.168.17.40', portNo=8123, url='/api/hikvision', protocolType='HTTP')
2023-06-29 19:46:23.597 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205:65001/ISAPI/ContentMgmt/Storage [{'@version': '1.0', '@xmlns': 'http://www.hikvision.com/ver10/XMLSchema', '@size': '8'}]
2023-06-29 19:46:23.673 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205:65001/ISAPI/Security/adminAccesses [{'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '1', 'enabled': 'true', 'protocol': 'HTTP', 'portNo': '80'}, {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '2', 'enabled': 'true', 'protocol': 'HTTPS', 'redirectToHttps': 'false', 'portNo': '443', 'TLS1_1Enable': 'true', 'TLS1_2Enable': 'true', 'TLS1_3Enable': 'true'}, {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '3', 'enabled': 'true', 'protocol': 'DEV_MANAGE', 'portNo': '8000'}, {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '4', 'enabled': 'true', 'protocol': 'RTSP', 'portNo': '554'}, {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '5', 'enabled': 'true', 'protocol': 'SDK_OVER_TLS', 'portNo': '8443'}, {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '6', 'enabled': 'true', 'protocol': 'WebSocket', 'portNo': '7681'}, {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '7', 'enabled': 'false', 'protocol': 'WebSocketS', 'portNo': '7682'}, {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '8', 'enabled': 'false', 'protocol': 'SRTP', 'portNo': '322'}, {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '10', 'enabled': 'true', 'protocol': 'Bonjour'}]
2023-06-29 19:46:23.770 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205:65001/ISAPI/Event/triggers {'EventTriggerList': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'EventTrigger': [{'id': 'IO-1', 'eventType': 'IO', 'eventDescription': 'IO Event trigger Information', 'inputIOPortID': '1', 'videoInputChannelID': '1', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'center', 'notificationMethod': 'center', 'notificationRecurrence': 'beginning'}}}, {'id': 'VMD-1', 'eventType': 'VMD', 'eventDescription': 'VMD Event trigger Information', 'videoInputChannelID': '1', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'center', 'notificationMethod': 'center', 'notificationRecurrence': 'beginning'}}}, {'id': 'tamper-1', 'eventType': 'tamperdetection', 'eventDescription': 'shelteralarm Event trigger Information', 'videoInputChannelID': '1', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'center', 'notificationMethod': 'center', 'notificationRecurrence': 'beginning'}}}, {'id': 'diskfull', 'eventType': 'diskfull', 'eventDescription': 'exception Information', 'videoInputChannelID': '1', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'center', 'notificationMethod': 'center', 'notificationRecurrence': 'beginning'}}}, {'id': 'diskerror', 'eventType': 'diskerror', 'eventDescription': 'exception Information', 'videoInputChannelID': '1', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'center', 'notificationMethod': 'center', 'notificationRecurrence': 'beginning'}}}, {'id': 'nicbroken', 'eventType': 'nicbroken', 'eventDescription': 'exception Information', 'videoInputChannelID': '1', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': None}, {'id': 'ipconflict', 'eventType': 'ipconflict', 'eventDescription': 'exception Information', 'videoInputChannelID': '1', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': None}, {'id': 'illaccess', 'eventType': 'illaccess', 'eventDescription': 'exception Information', 'videoInputChannelID': '1', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'center', 'notificationMethod': 'center', 'notificationRecurrence': 'beginning'}}}, {'id': 'linedetection-1', 'eventType': 'linedetection', 'eventDescription': 'Linedetection Event trigger Information', 'videoInputChannelID': '1', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-1', 'notificationMethod': 'record', 'notificationRecurrence': 'beginning', 'videoInputID': '1'}, {'id': 'center', 'notificationMethod': 'center', 'notificationRecurrence': 'beginning'}]}}, {'id': 'fielddetection-1', 'eventType': 'fielddetection', 'eventDescription': 'fielddetection Event trigger Information', 'videoInputChannelID': '1', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-1', 'notificationMethod': 'record', 'notificationRecurrence': 'beginning', 'videoInputID': '1'}, {'id': 'center', 'notificationMethod': 'center', 'notificationRecurrence': 'beginning'}]}}, {'id': 'badvideo', 'eventType': 'badvideo', 'eventDescription': 'exception Information', 'videoInputChannelID': '1', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-1', 'notificationMethod': 'record', 'notificationRecurrence': 'beginning', 'videoInputID': '1'}, {'id': 'center', 'notificationMethod': 'center', 'notificationRecurrence': 'beginning'}]}}, {'id': 'regionEntrance-1', 'eventType': 'regionEntrance', 'eventDescription': 'RegionEntrance Event trigger Information', 'videoInputChannelID': '1', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-1', 'notificationMethod': 'record', 'notificationRecurrence': 'beginning', 'videoInputID': '1'}, {'id': 'center', 'notificationMethod': 'center', 'notificationRecurrence': 'beginning'}]}}, {'id': 'regionExiting-1', 'eventType': 'regionExiting', 'eventDescription': 'RegionExiting Event trigger Information', 'videoInputChannelID': '1', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-1', 'notificationMethod': 'record', 'notificationRecurrence': 'beginning', 'videoInputID': '1'}, {'id': 'center', 'notificationMethod': 'center', 'notificationRecurrence': 'beginning'}]}}, {'id': 'storageDetection-1', 'eventType': 'storageDetection', 'eventDescription': 'storageDetection Event trigger Information', 'videoInputChannelID': '1', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-1', 'notificationMethod': 'record', 'notificationRecurrence': 'beginning', 'videoInputID': '1'}}}]}}
2023-06-29 19:46:23.871 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205:65001/ISAPI/Streaming/channels/101 {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '101', 'channelName': 'Garage', 'enabled': 'true', 'Transport': {'maxPacketSize': '1000', 'ControlProtocolList': {'ControlProtocol': [{'streamingTransport': 'RTSP'}, {'streamingTransport': 'HTTP'}, {'streamingTransport': 'SHTTP'}, {'streamingTransport': 'SRTP'}]}, 'Unicast': {'enabled': 'true', 'rtpTransportType': 'RTP/TCP'}, 'Multicast': {'enabled': 'true', 'destIPAddress': '0.0.0.0', 'videoDestPortNo': '8860', 'audioDestPortNo': '8862'}, 'Security': {'enabled': 'true', 'certificateType': 'digest', 'SecurityAlgorithm': {'algorithmType': 'MD5'}}, 'SRTPMulticast': {'SRTPVideoDestPortNo': '18860', 'SRTPAudioDestPortNo': '18862'}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '1', 'videoCodecType': 'H.264', 'videoScanType': 'progressive', 'videoResolutionWidth': '3200', 'videoResolutionHeight': '1800', 'videoQualityControlType': 'VBR', 'constantBitRate': '10240', 'fixedQuality': '60', 'vbrUpperCap': '10240', 'vbrLowerCap': '32', 'maxFrameRate': '2500', 'keyFrameInterval': '2000', 'snapShotImageType': 'JPEG', 'H264Profile': 'Main', 'GovLength': '50', 'SVC': {'enabled': 'false'}, 'PacketType': ['PS', 'RTP'], 'smoothing': '50', 'H265Profile': 'Main', 'SmartCodec': {'enabled': 'false'}}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '1', 'audioCompressionType': 'G.711ulaw'}}
2023-06-29 19:46:23.967 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205:65001/ISAPI/Streaming/channels/102 {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '102', 'channelName': 'Garage', 'enabled': 'true', 'Transport': {'maxPacketSize': '1000', 'ControlProtocolList': {'ControlProtocol': [{'streamingTransport': 'RTSP'}, {'streamingTransport': 'HTTP'}, {'streamingTransport': 'SHTTP'}, {'streamingTransport': 'SRTP'}]}, 'Unicast': {'enabled': 'true', 'rtpTransportType': 'RTP/TCP'}, 'Multicast': {'enabled': 'true', 'destIPAddress': '0.0.0.0', 'videoDestPortNo': '8866', 'audioDestPortNo': '8868'}, 'Security': {'enabled': 'true', 'certificateType': 'digest', 'SecurityAlgorithm': {'algorithmType': 'MD5'}}, 'SRTPMulticast': {'SRTPVideoDestPortNo': '18866', 'SRTPAudioDestPortNo': '18868'}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '1', 'videoCodecType': 'H.264', 'videoScanType': 'progressive', 'videoResolutionWidth': '640', 'videoResolutionHeight': '480', 'videoQualityControlType': 'VBR', 'constantBitRate': '1024', 'fixedQuality': '80', 'vbrUpperCap': '1024', 'vbrLowerCap': '32', 'maxFrameRate': '1500', 'keyFrameInterval': '3333', 'snapShotImageType': 'JPEG', 'H264Profile': 'Main', 'GovLength': '50', 'SVC': {'enabled': 'false'}, 'PacketType': ['PS', 'RTP'], 'smoothing': '50', 'H265Profile': 'Main'}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '1', 'audioCompressionType': 'G.711ulaw'}}
2023-06-29 19:46:24.040 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205:65001/ISAPI/Streaming/channels/103 {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '103', 'channelName': 'Garage', 'enabled': 'true', 'Transport': {'maxPacketSize': '1000', 'ControlProtocolList': {'ControlProtocol': [{'streamingTransport': 'RTSP'}, {'streamingTransport': 'HTTP'}, {'streamingTransport': 'SHTTP'}, {'streamingTransport': 'SRTP'}]}, 'Unicast': {'enabled': 'true', 'rtpTransportType': 'RTP/TCP'}, 'Multicast': {'enabled': 'true', 'destIPAddress': '0.0.0.0', 'videoDestPortNo': '8860', 'audioDestPortNo': '8862'}, 'Security': {'enabled': 'true', 'certificateType': 'digest', 'SecurityAlgorithm': {'algorithmType': 'MD5'}}, 'SRTPMulticast': {'SRTPVideoDestPortNo': '18860', 'SRTPAudioDestPortNo': '18862'}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '1', 'videoCodecType': 'H.264', 'videoScanType': 'progressive', 'videoResolutionWidth': '3200', 'videoResolutionHeight': '1800', 'videoQualityControlType': 'VBR', 'constantBitRate': '10240', 'fixedQuality': '60', 'vbrUpperCap': '10240', 'vbrLowerCap': '32', 'maxFrameRate': '2500', 'keyFrameInterval': '2000', 'snapShotImageType': 'JPEG', 'H264Profile': 'Main', 'GovLength': '50', 'SVC': {'enabled': 'false'}, 'PacketType': ['PS', 'RTP'], 'smoothing': '50', 'H265Profile': 'Main', 'SmartCodec': {'enabled': 'false'}}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '1', 'audioCompressionType': 'G.711ulaw'}}
2023-06-29 19:46:24.110 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205:65001/ISAPI/Streaming/channels/104 {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '104', 'channelName': 'Garage', 'enabled': 'true', 'Transport': {'maxPacketSize': '1000', 'ControlProtocolList': {'ControlProtocol': [{'streamingTransport': 'RTSP'}, {'streamingTransport': 'HTTP'}, {'streamingTransport': 'SHTTP'}, {'streamingTransport': 'SRTP'}]}, 'Unicast': {'enabled': 'true', 'rtpTransportType': 'RTP/TCP'}, 'Multicast': {'enabled': 'true', 'destIPAddress': '0.0.0.0', 'videoDestPortNo': '8860', 'audioDestPortNo': '8862'}, 'Security': {'enabled': 'true', 'certificateType': 'digest', 'SecurityAlgorithm': {'algorithmType': 'MD5'}}, 'SRTPMulticast': {'SRTPVideoDestPortNo': '18860', 'SRTPAudioDestPortNo': '18862'}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '1', 'videoCodecType': 'H.264', 'videoScanType': 'progressive', 'videoResolutionWidth': '3200', 'videoResolutionHeight': '1800', 'videoQualityControlType': 'VBR', 'constantBitRate': '10240', 'fixedQuality': '60', 'vbrUpperCap': '10240', 'vbrLowerCap': '32', 'maxFrameRate': '2500', 'keyFrameInterval': '2000', 'snapShotImageType': 'JPEG', 'H264Profile': 'Main', 'GovLength': '50', 'SVC': {'enabled': 'false'}, 'PacketType': ['PS', 'RTP'], 'smoothing': '50', 'H265Profile': 'Main', 'SmartCodec': {'enabled': 'false'}}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '1', 'audioCompressionType': 'G.711ulaw'}}
2023-06-29 19:46:24.111 DEBUG (MainThread) [custom_components.hikvision_next.isapi] Cameras: [IPCamera(id=1, name='Garage', model='DS-2CD2366G2-ISU/SL', serial_no='DS-2CD2366G2-ISU/SL20210712AAWRG35256984', input_port=1, streams=[CameraStreamInfo(id='101', name='Garage', type_id='101', type='Main Stream', enabled='true', codec='H.264', width='3200', height='1800', audio='false'), CameraStreamInfo(id='102', name='Garage', type_id='102', type='Sub-stream', enabled='true', codec='H.264', width='640', height='480', audio='false'), CameraStreamInfo(id='103', name='Garage', type_id='103', type='Third Stream', enabled='true', codec='H.264', width='3200', height='1800', audio='false'), CameraStreamInfo(id='104', name='Garage', type_id='104', type='Transcoded Stream', enabled='true', codec='H.264', width='3200', height='1800', audio='false')], supported_events=[EventInfo(id='motiondetection', unique_id='ds_2cd2366g2_isu_sl20210712aawrg35256984_1_motiondetection', url='System/Video/inputs/channels/1/motionDetection', notifiers=['center']), EventInfo(id='tamperdetection', unique_id='ds_2cd2366g2_isu_sl20210712aawrg35256984_1_tamperdetection', url='System/Video/inputs/channels/1/tamperDetection', notifiers=['center']), EventInfo(id='linedetection', unique_id='ds_2cd2366g2_isu_sl20210712aawrg35256984_1_linedetection', url='Smart/LineDetection/1', notifiers=['record', 'center']), EventInfo(id='fielddetection', unique_id='ds_2cd2366g2_isu_sl20210712aawrg35256984_1_fielddetection', url='Smart/FieldDetection/1', notifiers=['record', 'center']), EventInfo(id='regionentrance', unique_id='ds_2cd2366g2_isu_sl20210712aawrg35256984_1_regionentrance', url='Smart/regionEntrance/1', notifiers=['record', 'center']), EventInfo(id='regionexiting', unique_id='ds_2cd2366g2_isu_sl20210712aawrg35256984_1_regionexiting', url='Smart/regionExiting/1', notifiers=['record', 'center'])], firmware='V5.7.13', ip_addr='192.168.17.205', ip_port=0)]
2023-06-29 19:46:24.628 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205:65001/ISAPI/ContentMgmt/Storage [{'@version': '1.0', '@xmlns': 'http://www.hikvision.com/ver10/XMLSchema', '@size': '8'}]
2023-06-29 19:46:24.629 DEBUG (MainThread) [custom_components.hikvision_next.coordinator] Finished fetching hikvision_next data in 0.517 seconds (success: True)
2023-06-29 19:46:24.727 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205:65001/ISAPI/Event/notification/httpHosts {'HttpHostNotificationList': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'HttpHostNotification': [{'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '1', 'url': '/api/hikvision', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.17.40', 'portNo': '8123', 'userName': None, 'httpAuthenticationMethod': 'none', 'httpBroken': 'true'}, {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '2', 'url': '/', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '0.0.0.0', 'portNo': '80', 'userName': None, 'httpAuthenticationMethod': 'none', 'httpBroken': 'true'}, {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '3', 'url': '/', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '0.0.0.0', 'portNo': '80', 'userName': None, 'httpAuthenticationMethod': 'none', 'httpBroken': 'true'}]}}
2023-06-29 19:46:24.728 DEBUG (MainThread) [custom_components.hikvision_next.isapi] Alarm Server: AlarmServer(ipAddress='192.168.17.40', portNo=8123, url='/api/hikvision', protocolType='HTTP')
2023-06-29 19:46:24.728 DEBUG (MainThread) [custom_components.hikvision_next.coordinator] Finished fetching hikvision_next data in 0.099 seconds (success: True)
2023-06-29 19:46:24.852 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205:65001/ISAPI/Event/notification/httpHosts {'HttpHostNotificationList': {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'HttpHostNotification': [{'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '1', 'url': '/api/hikvision', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.17.40', 'portNo': '8123', 'userName': None, 'httpAuthenticationMethod': 'none', 'httpBroken': 'true'}, {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '2', 'url': '/', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '0.0.0.0', 'portNo': '80', 'userName': None, 'httpAuthenticationMethod': 'none', 'httpBroken': 'true'}, {'@version': '2.0', '@xmlns': 'http://www.hikvision.com/ver20/XMLSchema', 'id': '3', 'url': '/', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '0.0.0.0', 'portNo': '80', 'userName': None, 'httpAuthenticationMethod': 'none', 'httpBroken': 'true'}]}}
2023-06-29 19:46:24.853 DEBUG (MainThread) [custom_components.hikvision_next.isapi] Alarm Server: AlarmServer(ipAddress='192.168.17.40', portNo=8123, url='/api/hikvision', protocolType='HTTP')
2023-06-29 19:46:24.853 DEBUG (MainThread) [custom_components.hikvision_next.coordinator] Finished fetching hikvision_next data in 0.089 seconds (success: True)
msp1974 commented 1 year ago

This looks like your NVR does not provide the model when queried by this integration. I wonder if there is another way to get it.

maciej-or commented 1 year ago

@dan-s-github I'd consider NVR firmware upgrade, V4.61.025_220905 is available.

dan-s-github commented 1 year ago

will try update over the weekend and report back

dan-s-github commented 1 year ago

manually upgraded firmware as online update would not load new firmware. Camera information is now provided on isapi calls.

2023-07-02 09:41:53.726 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Event/notification/httpHosts {'HttpHostNotificationList': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'HttpHostNotification': {'id': '1', 'url': '/api/hikvision', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.17.147', 'portNo': '8123', 'httpAuthenticationMethod': 'none', 'Extensions': {'@xmlns': 'urn:selfextension:psiaext-ver10-xsd', 'intervalBetweenEvents': '0'}}}}
2023-07-02 09:41:53.896 DEBUG (MainThread) [custom_components.hikvision_next.isapi] [PUT] http://192.168.17.205/ISAPI/Event/notification/httpHosts {'ResponseStatus': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'statusCode': '1', 'statusString': 'OK', 'subStatusCode': 'ok'}}
2023-07-02 09:41:54.371 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/System/deviceInfo {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'deviceName': 'Network Video Recorder', 'deviceID': '48473336-3939-3233-3034-2428fd22c319', 'model': 'DS-7608NI-I2/8P', 'serialNumber': 'DS-7608NI-I2/8P0820210719CCRRG36992304WCVU', 'macAddress': '24:28:fd:22:c3:19', 'firmwareVersion': 'V4.61.025', 'firmwareReleasedDate': 'build 220905', 'encoderVersion': 'V5.0', 'encoderReleasedDate': 'build 220905', 'deviceType': 'NVR', 'telecontrolID': '255', 'hardwareVersion': '0100024C04300000', 'decordChannelNums': '8', 'VGANums': '1', 'USBNums': '2', 'auxoutNums': '0', 'regionVersion': 'basic'}
2023-07-02 09:41:54.453 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/System/capabilities {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'SysCap': {'isSupportDst': 'true', 'NetworkCap': {'isSupportWireless': 'false', 'isSupportWAN': 'false', 'isSupportPPPoE': 'true', 'isSupportBond': 'false', 'isSupport802_1x': 'true', 'isSupportNtp': 'true', 'isSupportFtp': 'false', 'isSupportUpnp': 'true', 'isSupportPNP': 'false', 'isSupportDdns': 'true', 'isSupportHttps': 'true', 'SnmpCap': {'isSupport': 'true'}, 'isSupportExtNetCfg': 'true', 'isSupportIPFilter': 'true', 'isSupportNetPreviewStrategy': 'false', 'isSupportEZVIZ': 'true', 'isSupportMACFilter': 'true', 'GB28181Cap': {'isSupportGB28181Service': 'false'}, 'VerificationCodeModification': {'@opt': 'true,false', 'verificationCodeType': {'@opt': 'normal,empty', '#text': 'normal'}, 'isSupportDeclarationURL': 'true', 'isSupportPrivacyPolicyURL': 'true', 'verificationCodeModify': 'true', 'Hyperlinks': {'declarationURL': 'https://www.hik-connect.com/views/terms/termsofservice.html', 'privacyPolicyURL': 'https://www.hik-connect.com/views/terms/privacypolicy.html'}, 'isSupportVerificationCodeCheck': 'true'}, 'isSupportIntegrate': 'true', 'isSupportEZVIZTiming': 'true', 'isSupportResourceStatistics': 'true', 'isSupportBandwidthLimit': 'true', 'isSupportPOEPortsDisableAdaptiveServer': 'true', 'isSupportPOEConfiguration': 'true', 'isSupportGetLinkSocketIP': 'true', 'isSupportWebSocket': 'true', 'Adaption': {'streamType': {'@opt': '3'}, 'isSupportPlayback': 'true'}}, 'IOCap': {'IOInputPortNums': '4', 'IOOutputPortNums': '1', 'SoftIOInputPortNums': '8', 'isSupportIOOutputAdvanceParameter': 'false', 'isSupportCombinationAlarm': 'true', 'isSupportSetAllIOOutput': 'true', 'enabledIOOutputPortNums': '13', 'isSupportAlarmKeyParam': 'true'}, 'SerialCap': {'rs485PortNums': '0', 'supportRS232Config': 'false', 'rs422PortNums': '0', 'rs232PortNums': '0', 'isSupportAuthenticationService': 'true'}, 'VideoCap': {'videoInputPortNums': '0', 'videoOutputPortNums': '2', 'menuNums': '2', 'isSupportHeatmap': 'true', 'isSupportCounting': 'true', 'countingType': 'human', 'isSupportOutputsResource': 'true', 'isSupportMultiChannelCounting': 'true', 'isSupportCountingCollection': 'true', 'isSupportHeatmapCollection': 'true', 'channelFlexible': {'@opt': 'name,online,linknum'}, 'isSupportMixedChannel': 'true', 'isSupportMixedChannelStatus': 'true'}, 'AudioCap': {'audioInputNums': '1', 'audioOutputNums': '1'}, 'isSupportHolidy': 'true', 'RebootConfigurationCap': {'ONVIF': 'true', 'RTSP': 'true', 'HTTP': 'true'}, 'isSupportSubscribeEvent': 'true', 'isSupportDiagnosedData': 'true', 'isSupportChangedUpload': 'true', 'isSupportGettingWorkingStatus': 'true', 'isSupportGettingChannelInfoByCondition': 'true', 'isSupportDiagnosedDataParameter': 'true', 'isSupportTimeCap': 'true'}, 'voicetalkNums': '2', 'isSupportSnapshot': 'true', 'SecurityCap': {'supportUserNums': '32', 'userBondIpNums': '1', 'userBondMacNums': '1', 'securityVersion': {'@opt': '1'}, 'keyIterateNum': '100', 'isSupportUserCheck': 'true', 'isSupportGUIDFileDataExport': 'true', 'isSupportSecurityQuestionConfig': 'true', 'isSupportSecurityEmail': 'true', 'isSupportGetOnlineUserListSC': 'true', 'SecurityLimits': {'LoginPasswordLenLimit': {'@min': '1', '@max': '16'}, 'SecurityAnswerLenLimit': {'@min': '1', '@max': '128'}}, 'isSupportONVIFUserManagement': 'true', 'WebCertificateCap': {'CertificateType': {'@opt': 'digest,digest/basic', '#text': 'digest/basic'}, 'SecurityAlgorithm': {'algorithmType': {'@opt': 'MD5,SHA256,MD5/SHA256'}}}, 'isSupportConfigFileImport': 'true', 'isSupportConfigFileExport': 'true', 'cfgFileSecretKeyLenLimit': {'@min': '1', '@max': '16'}, 'supportIPCActivatePassword': 'true', 'isSupportPictureURlCertificate': {'@opt': 'true,false', '#text': 'true'}, 'isSupportUnloggedUserPermissionConfig': {'@opt': 'true,false', '#text': 'true'}, 'isSupportUserNamePasswordCheckUpgrade': 'true', 'isSupportDeviceCertificatesManagement': 'true', 'isSupportDeviceSelfSignCertExport': 'true', 'DoubleVerificationCap': {'isSupportUsersConfig': 'true', 'isSupportUsersPermissionConfig': 'true'}}, 'EventCap': {'isSupportHDFull': 'true', 'isSupportHDError': 'true', 'isSupportNicBroken': 'true', 'isSupportIpConflict': 'true', 'isSupportIllAccess': 'true', 'isSupportViException': 'false', 'isSupportViMismatch': 'false', 'isSupportRecordException': 'true', 'isSupportRaidException': 'false', 'isSupportViResMismatch': 'false', 'isSupportPOCException': 'false', 'isSupportSmartDetection': 'false', 'isSupportSpareException': 'false', 'isSupportHumanRecognition': 'true', 'isSupportStudentsStoodUp': 'true', 'isSupportFaceSnap': 'true', 'isSupportPersonDensityDetection': 'true', 'isSupportPersonQueueDetection': 'true', 'isSupportSafetyHelmetDetection': 'true', 'isSupportTeacherBehaviorDetect': 'true', 'isSupportCityManagement': 'true', 'isSupportMixedTargetDetection': 'true', 'isSupportFaceSnapModeling': 'true', 'isSupportTriggerCapCheck': 'true', 'isSupportPTEventCfg': 'true'}, 'RacmCap': {'isSupportZeroChan': 'true', 'inputProxyNums': '8', 'eSATANums': '0', 'miniSASNums': '0', 'nasNums': '8', 'ipSanNums': '8', 'isSupportRaid': 'false', 'isSupportExtHdCfg': 'true', 'isSupportTransCode': 'true', 'isSupportIpcImport': 'true', 'isSupportIpcStreamType': 'true', 'isSupportIOInputProxy': 'true', 'isSupportIOOutputProxy': 'true', 'isSupportPTZRs485Proxy': 'true', 'isSupportSMARTTest': 'true', 'pictureSearchType': {'@opt': 'CMR,MOTION,ALARM,EDR,ALARMANDMOTION,Command,manual,AllEvent,manualSnapShot,playSnapShot,fireDetection,shipsDetection,thermometryAlarm,thermometryDiffAlarm,personQueueCounting,personQueueTime,accessController,videoInterCom,GJD,Luminite,OPTEX,smokeDetection,smokeAndFireDetection,vehicleDetection,objectsThrownDetection,allPic'}, 'recordSearchType': {'@opt': 'CMR,MOTION,ALARM,EDR,ALARMANDMOTION,Command,manual,AllEvent,POS'}, 'isSupportActivateIpc': 'true', 'isSupportCheckIpcSecurity': {'isSupportCheckPassword': 'true'}, 'isSupportSyncIPCPassword': 'true', 'isSupportTransferIPC': 'true', 'isSupportMainAndSubRecord': 'true', 'isSupportSmartSearch': 'true', 'isSupportPOS': 'true', 'isSupportLinkNum': 'true', 'isSupportStorageExtraInfo': 'true', 'ExternalDevice': {'USB': {'debugLogOutput': 'true', 'isSupportCapturePackage': 'true', 'isSupportStreamStorage': 'true'}}, 'customProtocolNums': '8', 'isSupportIPCTiming': 'true', 'isSupportGetBackupDevice': 'true', 'isSupportAutoBackup': 'false', 'certificateValidationEnabled': 'true', 'defaultAdminPortEnabled': 'true', 'isSupportLogDataPackage': 'true', 'CloudStorageServerCap': {'isSupportCloudStorageParameter': 'true', 'isSupportCloudStoragePool': 'false'}, 'isSupportWebPrivatePlaybackByUTC': 'true', 'isSupportFindCommonFileByUTC': 'true', 'isSupportFindEventFileByUTC': 'true', 'isSupportSmartSearchRecordByUTC': 'true', 'isSupportMRDSearchByTimeZone': 'true', 'isSupportSearchRecordLabelByUTC': 'true', 'isSupportSearchPictureByUTC': 'true', 'isSupportSmartSearchPictureByUTC': 'true', 'isSupportFindLogByUTC': 'true', 'isSupportUploadRecordByUTC': 'true', 'isSupportPlaybackByUTC': 'true', 'isSupportFaceDetecttionAlarmByTimeZone': 'true', 'isSupportCountingSearchByUTC': 'true', 'isSupportTimeSearch': 'true', 'eventRecordSearch': {'eventType': {'@opt': 'all,faceSnap,VMD,defocus,scenechangedetection,PIR,fireSmartFireDetect,shipsDetection,TMA,TDA,framesPeopleCounting,personQueueTime,peopleDetection,safetyHelmetDetection,mixedTargetDetection,TMPA,smokeDetection,smokeAndFireDetection,audioexception,ANPR,alarmResult,alarmIn,behavior,posAlarm,IOTD'}, 'IOTD': {'DeviceEventTypeList': {'DeviceEventType': [{'deviceType': '0', 'subEventType': {'@opt': 'any,authenticated,authenticationFailed,openingDoor,closingDoor,doorException,remoteOperation,timeSynchronization,deviceException,deviceRecovered,alarmTriggered,alarmRecovered,callCenter'}}, {'deviceType': '1', 'subEventType': {'@opt': 'any,tampering,duressAlarm,unlockingByPasswordFailed,unlockingDoorFailed,lockingDoorFailed,intercom,unlockingByPassword,unlockingByDuress,unlockingByCard,unlockingByResident,unlockingByCenter'}}, {'deviceType': '3', 'subEventType': {'@opt': 'any,pirDetection,tampering,lowlightDetection,timer,temperature'}}, {'deviceType': '4', 'subEventType': {'@opt': 'any,pirDetection,pirTamper,cloak,shock,failure,move,batteryLow'}}, {'deviceType': '5', 'subEventType': {'@opt': 'any,pcFn,pcFr,pcNr,pcCr,tcTa,tcAm,tcAr,tcDq,tcSo,tcTr,tcFa,pcA1,pcA2,pcB1,pcB2,pcA11,pcA12,pcA22,pcA21,pcB11,pcB12,pcB22,pcB21'}}, {'deviceType': '2', 'subEventType': {'@opt': 'any,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32'}}]}}}, 'securityLogServer': {'isSupportLogServer': 'true'}, 'isSupportRecordSearchByTargetType': 'true', 'isSupportSpare': 'false', 'isSupportPTEventTableTemplate': 'false', 'isSupportPTEventTableFile': 'false', 'diskGroupNums': '16'}, 'PTZCtrlCap': {'isSupportPatrols': 'true'}, 'SmartCap': {'isSupportROI': 'false', 'isSupportFaceDetect': 'true', 'isSupportIntelliTrace': 'false', 'isSupportFieldDetection': 'true', 'isSupportDefocusDetection': 'true', 'isSupportAudioDetection': 'true', 'isSupportSceneChangeDetection': 'true', 'isSupportLineDetection': 'true', 'isSupportRegionEntrance': 'true', 'isSupportRegionExiting': 'true', 'isSupportLoitering': 'true', 'isSupportGroup': 'true', 'isSupportRapidMove': 'true', 'isSupportParking': 'true', 'isSupportUnattendedBaggage': 'true', 'isSupportAttendedBaggage': 'true', 'isSupportShipsDetection': 'true', 'isSupportDetectionDistance': 'false'}, 'isSupportEhome': 'true', 'isSupportStreamingEncrypt': 'true', 'TestCap': {'isSupportEmailTest': 'true'}, 'ThermalCap': {'isSupportFireDetection': 'true', 'isSupportThermometry': 'true', 'isSupportRealtimeThermometry': 'true', 'isSupportNVR': 'true', 'isSupportThermometrySchedule': 'true', 'isSupportTemperatureSchedule': 'true', 'isSupportFireDetectionSchedule': 'true', 'isSupportTemperatureCollection': 'true'}, 'isSupportGetmutexFuncErrMsg': 'false', 'isSupportTokenAuthenticate': ['true', 'true'], 'isSupportStreamDualVCA': 'true', 'isSupportChannelEventCap': 'true', 'isSupportEncryption': 'true', 'isSupportCameraAccessConfiguration': 'true', 'isSupportIntelligentSearch': 'true', 'isSupportAutoMaintenance': 'true', 'isSupportRtspOverHTTPS': 'true', 'isSupportIntersectionAnalysis': 'true', 'isSupportChannelFullEventListCap': 'true', 'isSupportAUXInfoCap': 'true', 'IOTCap': {'supportChannelNum': '4', 'startChannelNo': '1'}, 'isSupportShipsDetectionWithScene': 'true', 'isSupportObjectsThrownDetection': 'true', 'isSupportPictureServer': 'true', 'SHMCap': {'isSupportHighHDTemperature': 'true', 'isSupportLowHDTemperature': 'true', 'isSupportHDImpact': 'true', 'isSupportHDBadBlock': 'true', 'isSupportSevereHDFailure': 'true'}, 'isSupportInputProxyDeviceInfo': 'true', 'isSupportLogException': 'true', 'isSupportISUPHttpPassthrough': 'true', 'isSupportChannelsTimeSync': 'true', 'diskGroupNums': '16', 'isSupportStreamRecordStatus': ['false', 'false'], 'isSupportOnlineUpgradeTask': 'true', 'isSupportTimeTypeSTD': 'true'}
2023-07-02 09:41:54.518 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Event/notification/httpHosts {'HttpHostNotificationList': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'HttpHostNotification': {'id': '1', 'url': '/', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '0.0.0.0', 'portNo': '80', 'httpAuthenticationMethod': 'none', 'Extensions': {'@xmlns': 'urn:selfextension:psiaext-ver10-xsd', 'intervalBetweenEvents': '0'}}}}
2023-07-02 09:41:54.518 DEBUG (MainThread) [custom_components.hikvision_next.isapi] Alarm Server: AlarmServer(ipAddress='0.0.0.0', portNo=80, url='/', protocolType='HTTP')
2023-07-02 09:41:54.610 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/ContentMgmt/Storage [{'hdd': {'id': '2', 'hddName': 'hdd2', 'hddPath': None, 'hddType': 'SATA', 'status': 'ok', 'capacity': '2861588', 'freeSpace': '0', 'property': 'RW', 'group': '1'}}]
2023-07-02 09:41:54.681 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Security/adminAccesses [{'id': '1', 'enabled': 'true', 'protocol': 'HTTP', 'portNo': '80'}, {'id': '2', 'enabled': 'true', 'protocol': 'RTSP', 'portNo': '554'}, {'id': '3', 'enabled': 'true', 'protocol': 'HTTPS', 'redirectToHttps': 'false', 'portNo': '443', 'TLS1_1Enable': 'true', 'TLS1_2Enable': 'true'}, {'id': '4', 'enabled': 'true', 'protocol': 'DEV_MANAGE', 'portNo': '8000'}, {'id': '5', 'enabled': 'true', 'protocol': 'WebSocket', 'portNo': '7681'}, {'id': '6', 'enabled': 'true', 'protocol': 'IOT', 'portNo': '30999'}, {'id': '7', 'enabled': 'true', 'protocol': 'SDK_OVER_TLS', 'streamOverTls': 'false', 'portNo': '8443'}]
2023-07-02 09:41:54.782 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Event/triggers {'EventTriggerList': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'EventTrigger': [{'id': 'IO-1', 'eventType': 'IO', 'inputIOPortID': '1', 'EventTriggerNotificationList': None}, {'id': 'IO-2', 'eventType': 'IO', 'inputIOPortID': '2', 'EventTriggerNotificationList': None}, {'id': 'IO-3', 'eventType': 'IO', 'inputIOPortID': '3', 'EventTriggerNotificationList': None}, {'id': 'IO-4', 'eventType': 'IO', 'inputIOPortID': '4', 'EventTriggerNotificationList': None}, {'id': 'softIO-1', 'eventType': 'softIO', 'inputIOPortID': '1', 'EventTriggerNotificationList': None}, {'id': 'softIO-2', 'eventType': 'softIO', 'inputIOPortID': '2', 'EventTriggerNotificationList': None}, {'id': 'softIO-3', 'eventType': 'softIO', 'inputIOPortID': '3', 'EventTriggerNotificationList': None}, {'id': 'softIO-4', 'eventType': 'softIO', 'inputIOPortID': '4', 'EventTriggerNotificationList': None}, {'id': 'softIO-5', 'eventType': 'softIO', 'inputIOPortID': '5', 'EventTriggerNotificationList': None}, {'id': 'softIO-6', 'eventType': 'softIO', 'inputIOPortID': '6', 'EventTriggerNotificationList': None}, {'id': 'softIO-7', 'eventType': 'softIO', 'inputIOPortID': '7', 'EventTriggerNotificationList': None}, {'id': 'softIO-8', 'eventType': 'softIO', 'inputIOPortID': '8', 'EventTriggerNotificationList': None}, {'id': 'IO-101', 'eventType': 'IO', 'dynInputIOPortID': '101', 'EventTriggerNotificationList': None}, {'id': 'IO-201', 'eventType': 'IO', 'dynInputIOPortID': '201', 'EventTriggerNotificationList': None}, {'id': 'IO-301', 'eventType': 'IO', 'dynInputIOPortID': '301', 'EventTriggerNotificationList': None}, {'id': 'IO-401', 'eventType': 'IO', 'dynInputIOPortID': '401', 'EventTriggerNotificationList': None}, {'id': 'VMD-1', 'eventType': 'VMD', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-1', 'notificationMethod': 'record', 'dynVideoInputID': '1'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'VMD-2', 'eventType': 'VMD', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-2', 'notificationMethod': 'record', 'dynVideoInputID': '2'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'VMD-3', 'eventType': 'VMD', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-3', 'notificationMethod': 'record', 'dynVideoInputID': '3'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'VMD-4', 'eventType': 'VMD', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-4', 'notificationMethod': 'record', 'dynVideoInputID': '4'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'tamper-1', 'eventType': 'tamperdetection', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'center', 'notificationMethod': 'center'}}}, {'id': 'tamper-2', 'eventType': 'tamperdetection', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'center', 'notificationMethod': 'center'}}}, {'id': 'tamper-3', 'eventType': 'tamperdetection', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'center', 'notificationMethod': 'center'}}}, {'id': 'tamper-4', 'eventType': 'tamperdetection', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'center', 'notificationMethod': 'center'}}}, {'id': 'videoloss-1', 'eventType': 'videoloss', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': None}, {'id': 'videoloss-2', 'eventType': 'videoloss', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': None}, {'id': 'videoloss-3', 'eventType': 'videoloss', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': None}, {'id': 'videoloss-4', 'eventType': 'videoloss', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': None}, {'id': 'fielddetection-1', 'eventType': 'fielddetection', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-1', 'notificationMethod': 'record', 'dynVideoInputID': '1'}}}, {'id': 'fielddetection-2', 'eventType': 'fielddetection', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-2', 'notificationMethod': 'record', 'dynVideoInputID': '2'}}}, {'id': 'fielddetection-3', 'eventType': 'fielddetection', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-3', 'notificationMethod': 'record', 'dynVideoInputID': '3'}}}, {'id': 'fielddetection-4', 'eventType': 'fielddetection', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-4', 'notificationMethod': 'record', 'dynVideoInputID': '4'}}}, {'id': 'linedetection-1', 'eventType': 'linedetection', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-1', 'notificationMethod': 'record', 'dynVideoInputID': '1'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'linedetection-2', 'eventType': 'linedetection', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-2', 'notificationMethod': 'record', 'dynVideoInputID': '2'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'linedetection-3', 'eventType': 'linedetection', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-3', 'notificationMethod': 'record', 'dynVideoInputID': '3'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'linedetection-4', 'eventType': 'linedetection', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'record-4', 'notificationMethod': 'record', 'dynVideoInputID': '4'}, {'id': 'center', 'notificationMethod': 'center'}]}}, {'id': 'regionEntrance-1', 'eventType': 'regionEntrance', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': None}, {'id': 'regionEntrance-2', 'eventType': 'regionEntrance', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-2', 'notificationMethod': 'record', 'dynVideoInputID': '2'}}}, {'id': 'regionEntrance-3', 'eventType': 'regionEntrance', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-3', 'notificationMethod': 'record', 'dynVideoInputID': '3'}}}, {'id': 'regionEntrance-4', 'eventType': 'regionEntrance', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-4', 'notificationMethod': 'record', 'dynVideoInputID': '4'}}}, {'id': 'regionExiting-1', 'eventType': 'regionExiting', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-1', 'notificationMethod': 'record', 'dynVideoInputID': '1'}}}, {'id': 'regionExiting-2', 'eventType': 'regionExiting', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-2', 'notificationMethod': 'record', 'dynVideoInputID': '2'}}}, {'id': 'regionExiting-3', 'eventType': 'regionExiting', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-3', 'notificationMethod': 'record', 'dynVideoInputID': '3'}}}, {'id': 'regionExiting-4', 'eventType': 'regionExiting', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-4', 'notificationMethod': 'record', 'dynVideoInputID': '4'}}}, {'id': 'scenechangedetection-1', 'eventType': 'scenechangedetection', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': [{'id': 'IO-1', 'notificationMethod': 'IO', 'outputIOPortID': '1'}, {'id': 'IO-101', 'notificationMethod': 'IO', 'outputIOPortID': '101', 'dynOutputIOPortID': '101'}, {'id': 'record-1', 'notificationMethod': 'record', 'dynVideoInputID': '1'}]}}, {'id': 'scenechangedetection-2', 'eventType': 'scenechangedetection', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-2', 'notificationMethod': 'record', 'dynVideoInputID': '2'}}}, {'id': 'scenechangedetection-3', 'eventType': 'scenechangedetection', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-3', 'notificationMethod': 'record', 'dynVideoInputID': '3'}}}, {'id': 'scenechangedetection-4', 'eventType': 'scenechangedetection', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-4', 'notificationMethod': 'record', 'dynVideoInputID': '4'}}}, {'id': 'objectsThrownDetection', 'eventType': 'objectsThrownDetection', 'dynVideoInputChannelID': '1', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-1', 'notificationMethod': 'record', 'dynVideoInputID': '1'}}}, {'id': 'objectsThrownDetection', 'eventType': 'objectsThrownDetection', 'dynVideoInputChannelID': '2', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-2', 'notificationMethod': 'record', 'dynVideoInputID': '2'}}}, {'id': 'objectsThrownDetection', 'eventType': 'objectsThrownDetection', 'dynVideoInputChannelID': '3', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-3', 'notificationMethod': 'record', 'dynVideoInputID': '3'}}}, {'id': 'objectsThrownDetection', 'eventType': 'objectsThrownDetection', 'dynVideoInputChannelID': '4', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'record-4', 'notificationMethod': 'record', 'dynVideoInputID': '4'}}}, {'id': 'diskfull', 'eventType': 'diskfull', 'EventTriggerNotificationList': None}, {'id': 'diskerror', 'eventType': 'diskerror', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'beep', 'notificationMethod': 'beep'}}}, {'id': 'nicbroken', 'eventType': 'nicbroken', 'EventTriggerNotificationList': None}, {'id': 'ipconflict', 'eventType': 'ipconflict', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'beep', 'notificationMethod': 'beep'}}}, {'id': 'illaccess', 'eventType': 'illaccess', 'EventTriggerNotificationList': None}, {'id': 'recordingfailure', 'eventType': 'recordingfailure', 'EventTriggerNotificationList': {'EventTriggerNotification': {'id': 'beep', 'notificationMethod': 'beep'}}}]}}
2023-07-02 09:41:54.904 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/ContentMgmt/InputProxy/channels [{'id': '1', 'name': 'Garage', 'sourceInputPortDescriptor': {'proxyProtocol': 'HIKVISION', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.254.2', 'managePortNo': '8000', 'srcInputPort': '1', 'userName': 'admin', 'connMode': 'plugplay', 'streamType': 'auto', 'model': 'DS-2CD2366G2-ISU/SL', 'serialNumber': 'DS-2CD2366G2-ISU/SL20210712AAWRG35256984', 'firmwareVersion': 'V5.7.13 build 230504', 'deviceID': None}, 'certificateValidationEnabled': 'false', 'defaultAdminPortEnabled': 'true', 'enableAnr': 'false', 'enableTiming': 'true', 'devIndex': '309e322d-00fa-4ea8-b839-c0a4d92bf1ce'}, {'id': '2', 'name': 'Entry', 'sourceInputPortDescriptor': {'proxyProtocol': 'HIKVISION', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.254.6', 'managePortNo': '8000', 'srcInputPort': '1', 'userName': 'admin', 'connMode': 'plugplay', 'streamType': 'auto', 'model': 'DS-2CD2366G2-ISU/SL', 'serialNumber': 'DS-2CD2366G2-ISU/SL20210712AAWRG35257015', 'firmwareVersion': 'V5.7.13 build 230504', 'deviceID': None}, 'certificateValidationEnabled': 'false', 'defaultAdminPortEnabled': 'true', 'enableAnr': 'false', 'enableTiming': 'true', 'devIndex': '6f1d1972-586c-4df2-8e0a-143d573b44f4'}, {'id': '3', 'name': 'Stairs Deck', 'sourceInputPortDescriptor': {'proxyProtocol': 'HIKVISION', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.254.4', 'managePortNo': '8000', 'srcInputPort': '1', 'userName': 'admin', 'connMode': 'plugplay', 'streamType': 'auto', 'model': 'DS-2CD2366G2-ISU/SL', 'serialNumber': 'DS-2CD2366G2-ISU/SL20210810AAWRG44133217', 'firmwareVersion': 'V5.7.13 build 230504', 'deviceID': None}, 'certificateValidationEnabled': 'false', 'defaultAdminPortEnabled': 'true', 'enableAnr': 'false', 'enableTiming': 'true', 'devIndex': '98f180cd-04a2-4b29-b8db-fab07be15982'}, {'id': '4', 'name': 'Back Garden', 'sourceInputPortDescriptor': {'proxyProtocol': 'HIKVISION', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.254.5', 'managePortNo': '8000', 'srcInputPort': '1', 'userName': 'admin', 'connMode': 'plugplay', 'streamType': 'auto', 'model': 'DS-2CD2366G2-ISU/SL', 'serialNumber': 'DS-2CD2366G2-ISU/SL20210726AAWRG41390691', 'firmwareVersion': 'V5.7.13 build 230504', 'deviceID': None}, 'certificateValidationEnabled': 'false', 'defaultAdminPortEnabled': 'true', 'enableAnr': 'false', 'enableTiming': 'true', 'devIndex': '96d524db-e776-4c90-a52d-372a41e64a3e'}]
2023-07-02 09:41:54.971 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/101 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '101', 'channelName': '101', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '1', 'videoCodecType': 'H.264', 'videoResolutionWidth': '3200', 'videoResolutionHeight': '1800', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '10240', 'vbrLowerCap': '32', 'GovLength': '50', 'maxFrameRate': '2500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}, 'BPFrameInterval': 'P'}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '1', 'audioCompressionType': 'G.711ulaw'}}
2023-07-02 09:41:55.046 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/102 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '102', 'channelName': '102', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '1', 'videoCodecType': 'H.264', 'videoResolutionWidth': '640', 'videoResolutionHeight': '480', 'videoQualityControlType': 'VBR', 'fixedQuality': '75', 'vbrUpperCap': '1024', 'vbrLowerCap': '32', 'GovLength': '50', 'maxFrameRate': '1500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}, 'BPFrameInterval': 'P'}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '1', 'audioCompressionType': 'G.711ulaw'}}
2023-07-02 09:41:55.193 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/104 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '104', 'channelName': '104', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '1', 'videoCodecType': 'H.264', 'videoResolutionWidth': '704', 'videoResolutionHeight': '576', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '512', 'vbrLowerCap': '32', 'GovLength': '0', 'maxFrameRate': '0', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}, 'BPFrameInterval': 'P'}}
2023-07-02 09:41:55.263 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/201 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '201', 'channelName': '201', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '2', 'videoCodecType': 'H.265', 'videoResolutionWidth': '3200', 'videoResolutionHeight': '1800', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '2560', 'vbrLowerCap': '32', 'GovLength': '50', 'maxFrameRate': '2500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}, 'BPFrameInterval': 'P'}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '2', 'audioCompressionType': 'G.711ulaw'}}
2023-07-02 09:41:55.336 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/202 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '202', 'channelName': '202', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '2', 'videoCodecType': 'H.264', 'videoResolutionWidth': '640', 'videoResolutionHeight': '480', 'videoQualityControlType': 'VBR', 'fixedQuality': '75', 'vbrUpperCap': '1024', 'vbrLowerCap': '32', 'GovLength': '50', 'maxFrameRate': '1500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}, 'BPFrameInterval': 'P'}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '2', 'audioCompressionType': 'G.711ulaw'}}
2023-07-02 09:41:55.517 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/204 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '204', 'channelName': '204', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '2', 'videoCodecType': 'H.264', 'videoResolutionWidth': '704', 'videoResolutionHeight': '576', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '512', 'vbrLowerCap': '32', 'GovLength': '0', 'maxFrameRate': '0', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}, 'BPFrameInterval': 'P'}}
2023-07-02 09:41:55.618 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/301 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '301', 'channelName': '301', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '3', 'videoCodecType': 'H.264', 'videoResolutionWidth': '3200', 'videoResolutionHeight': '1800', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '10240', 'vbrLowerCap': '32', 'GovLength': '50', 'maxFrameRate': '2500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}, 'BPFrameInterval': 'P'}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '3', 'audioCompressionType': 'G.711ulaw'}}
2023-07-02 09:41:55.715 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/302 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '302', 'channelName': '302', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '3', 'videoCodecType': 'H.264', 'videoResolutionWidth': '640', 'videoResolutionHeight': '480', 'videoQualityControlType': 'VBR', 'fixedQuality': '75', 'vbrUpperCap': '1024', 'vbrLowerCap': '32', 'GovLength': '50', 'maxFrameRate': '1500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}, 'BPFrameInterval': 'P'}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '3', 'audioCompressionType': 'G.711ulaw'}}
2023-07-02 09:41:55.928 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/304 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '304', 'channelName': '304', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '3', 'videoCodecType': 'H.264', 'videoResolutionWidth': '704', 'videoResolutionHeight': '576', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '512', 'vbrLowerCap': '32', 'GovLength': '0', 'maxFrameRate': '0', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}, 'BPFrameInterval': 'P'}}
2023-07-02 09:41:56.048 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/401 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '401', 'channelName': '401', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '4', 'videoCodecType': 'H.264', 'videoResolutionWidth': '3200', 'videoResolutionHeight': '1800', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '10240', 'vbrLowerCap': '32', 'GovLength': '50', 'maxFrameRate': '2500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}, 'BPFrameInterval': 'P'}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '4', 'audioCompressionType': 'G.711ulaw'}}
2023-07-02 09:41:56.123 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/402 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '402', 'channelName': '402', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '4', 'videoCodecType': 'H.264', 'videoResolutionWidth': '640', 'videoResolutionHeight': '480', 'videoQualityControlType': 'VBR', 'fixedQuality': '75', 'vbrUpperCap': '1024', 'vbrLowerCap': '32', 'GovLength': '50', 'maxFrameRate': '1500', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}, 'BPFrameInterval': 'P'}, 'Audio': {'enabled': 'false', 'audioInputChannelID': '4', 'audioCompressionType': 'G.711ulaw'}}
2023-07-02 09:41:56.268 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Streaming/channels/404 {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'id': '404', 'channelName': '404', 'enabled': 'true', 'Transport': {'ControlProtocolList': {'ControlProtocol': {'streamingTransport': 'RTSP'}}}, 'Video': {'enabled': 'true', 'videoInputChannelID': '4', 'videoCodecType': 'H.264', 'videoResolutionWidth': '704', 'videoResolutionHeight': '576', 'videoQualityControlType': 'VBR', 'fixedQuality': '60', 'vbrUpperCap': '512', 'vbrLowerCap': '32', 'GovLength': '0', 'maxFrameRate': '0', 'snapShotImageType': 'JPEG', 'SmartCodec': {'enabled': 'false'}, 'BPFrameInterval': 'P'}}
2023-07-02 09:41:56.269 DEBUG (MainThread) [custom_components.hikvision_next.isapi] Cameras: [IPCamera(id=1, name='Garage', model='DS-2CD2366G2-ISU/SL', serial_no='DS-2CD2366G2-ISU/SL20210712AAWRG35256984', input_port=1, streams=[CameraStreamInfo(id='101', name='101', type_id='101', type='Main Stream', enabled='true', codec='H.264', width='3200', height='1800', audio='false'), CameraStreamInfo(id='102', name='102', type_id='102', type='Sub-stream', enabled='true', codec='H.264', width='640', height='480', audio='false'), CameraStreamInfo(id='104', name='104', type_id='104', type='Transcoded Stream', enabled='true', codec='H.264', width='704', height='576', audio=False)], supported_events=[EventInfo(id='motiondetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_1_motiondetection', url='ContentMgmt/InputProxy/channels/1/video/motionDetection', notifiers=['record', 'center']), EventInfo(id='tamperdetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_1_tamperdetection', url='ContentMgmt/InputProxy/channels/1/video/tamperDetection', notifiers=['center']), EventInfo(id='fielddetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_1_fielddetection', url='Smart/FieldDetection/1', notifiers=['record']), EventInfo(id='linedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_1_linedetection', url='Smart/LineDetection/1', notifiers=['record', 'center']), EventInfo(id='regionexiting', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_1_regionexiting', url='Smart/regionExiting/1', notifiers=['record']), EventInfo(id='scenechangedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_1_scenechangedetection', url='Smart/SceneChangeDetection/1', notifiers=['IO', 'IO', 'record'])], firmware='V5.7.13 build 230504', ip_addr='192.168.254.2', ip_port='8000'), IPCamera(id=2, name='Entry', model='DS-2CD2366G2-ISU/SL', serial_no='DS-2CD2366G2-ISU/SL20210712AAWRG35257015', input_port=1, streams=[CameraStreamInfo(id='201', name='201', type_id='201', type='Main Stream', enabled='true', codec='H.265', width='3200', height='1800', audio='false'), CameraStreamInfo(id='202', name='202', type_id='202', type='Sub-stream', enabled='true', codec='H.264', width='640', height='480', audio='false'), CameraStreamInfo(id='204', name='204', type_id='204', type='Transcoded Stream', enabled='true', codec='H.264', width='704', height='576', audio=False)], supported_events=[EventInfo(id='motiondetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_2_motiondetection', url='ContentMgmt/InputProxy/channels/2/video/motionDetection', notifiers=['record', 'center']), EventInfo(id='tamperdetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_2_tamperdetection', url='ContentMgmt/InputProxy/channels/2/video/tamperDetection', notifiers=['center']), EventInfo(id='fielddetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_2_fielddetection', url='Smart/FieldDetection/2', notifiers=['record']), EventInfo(id='linedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_2_linedetection', url='Smart/LineDetection/2', notifiers=['record', 'center']), EventInfo(id='regionentrance', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_2_regionentrance', url='Smart/regionEntrance/2', notifiers=['record']), EventInfo(id='regionexiting', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_2_regionexiting', url='Smart/regionExiting/2', notifiers=['record']), EventInfo(id='scenechangedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_2_scenechangedetection', url='Smart/SceneChangeDetection/2', notifiers=['record'])], firmware='V5.7.13 build 230504', ip_addr='192.168.254.6', ip_port='8000'), IPCamera(id=3, name='Stairs Deck', model='DS-2CD2366G2-ISU/SL', serial_no='DS-2CD2366G2-ISU/SL20210810AAWRG44133217', input_port=1, streams=[CameraStreamInfo(id='301', name='301', type_id='301', type='Main Stream', enabled='true', codec='H.264', width='3200', height='1800', audio='false'), CameraStreamInfo(id='302', name='302', type_id='302', type='Sub-stream', enabled='true', codec='H.264', width='640', height='480', audio='false'), CameraStreamInfo(id='304', name='304', type_id='304', type='Transcoded Stream', enabled='true', codec='H.264', width='704', height='576', audio=False)], supported_events=[EventInfo(id='motiondetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_3_motiondetection', url='ContentMgmt/InputProxy/channels/3/video/motionDetection', notifiers=['record', 'center']), EventInfo(id='tamperdetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_3_tamperdetection', url='ContentMgmt/InputProxy/channels/3/video/tamperDetection', notifiers=['center']), EventInfo(id='fielddetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_3_fielddetection', url='Smart/FieldDetection/3', notifiers=['record']), EventInfo(id='linedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_3_linedetection', url='Smart/LineDetection/3', notifiers=['record', 'center']), EventInfo(id='regionentrance', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_3_regionentrance', url='Smart/regionEntrance/3', notifiers=['record']), EventInfo(id='regionexiting', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_3_regionexiting', url='Smart/regionExiting/3', notifiers=['record']), EventInfo(id='scenechangedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_3_scenechangedetection', url='Smart/SceneChangeDetection/3', notifiers=['record'])], firmware='V5.7.13 build 230504', ip_addr='192.168.254.4', ip_port='8000'), IPCamera(id=4, name='Back Garden', model='DS-2CD2366G2-ISU/SL', serial_no='DS-2CD2366G2-ISU/SL20210726AAWRG41390691', input_port=1, streams=[CameraStreamInfo(id='401', name='401', type_id='401', type='Main Stream', enabled='true', codec='H.264', width='3200', height='1800', audio='false'), CameraStreamInfo(id='402', name='402', type_id='402', type='Sub-stream', enabled='true', codec='H.264', width='640', height='480', audio='false'), CameraStreamInfo(id='404', name='404', type_id='404', type='Transcoded Stream', enabled='true', codec='H.264', width='704', height='576', audio=False)], supported_events=[EventInfo(id='motiondetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_4_motiondetection', url='ContentMgmt/InputProxy/channels/4/video/motionDetection', notifiers=['record', 'center']), EventInfo(id='tamperdetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_4_tamperdetection', url='ContentMgmt/InputProxy/channels/4/video/tamperDetection', notifiers=['center']), EventInfo(id='fielddetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_4_fielddetection', url='Smart/FieldDetection/4', notifiers=['record']), EventInfo(id='linedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_4_linedetection', url='Smart/LineDetection/4', notifiers=['record', 'center']), EventInfo(id='regionentrance', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_4_regionentrance', url='Smart/regionEntrance/4', notifiers=['record']), EventInfo(id='regionexiting', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_4_regionexiting', url='Smart/regionExiting/4', notifiers=['record']), EventInfo(id='scenechangedetection', unique_id='ds_7608ni_i2_8p0820210719ccrrg36992304wcvu_4_scenechangedetection', url='Smart/SceneChangeDetection/4', notifiers=['record'])], firmware='V5.7.13 build 230504', ip_addr='192.168.254.5', ip_port='8000')]
2023-07-02 09:41:56.340 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Event/notification/httpHosts {'HttpHostNotificationList': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'HttpHostNotification': {'id': '1', 'url': '/', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '0.0.0.0', 'portNo': '80', 'httpAuthenticationMethod': 'none', 'Extensions': {'@xmlns': 'urn:selfextension:psiaext-ver10-xsd', 'intervalBetweenEvents': '0'}}}}
2023-07-02 09:41:56.495 DEBUG (MainThread) [custom_components.hikvision_next.isapi] [PUT] http://192.168.17.205/ISAPI/Event/notification/httpHosts {'ResponseStatus': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'statusCode': '1', 'statusString': 'OK', 'subStatusCode': 'ok'}}
2023-07-02 09:41:58.902 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/ContentMgmt/Storage [{'hdd': {'id': '2', 'hddName': 'hdd2', 'hddPath': None, 'hddType': 'SATA', 'status': 'ok', 'capacity': '2861588', 'freeSpace': '0', 'property': 'RW', 'group': '1'}}]
2023-07-02 09:41:58.902 DEBUG (MainThread) [custom_components.hikvision_next.coordinator] Finished fetching hikvision_next data in 2.407 seconds (success: True)
2023-07-02 09:41:59.056 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Event/notification/httpHosts {'HttpHostNotificationList': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'HttpHostNotification': {'id': '1', 'url': '/api/hikvision', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.17.147', 'portNo': '8123', 'httpAuthenticationMethod': 'none', 'Extensions': {'@xmlns': 'urn:selfextension:psiaext-ver10-xsd', 'intervalBetweenEvents': '0'}}}}
2023-07-02 09:41:59.056 DEBUG (MainThread) [custom_components.hikvision_next.isapi] Alarm Server: AlarmServer(ipAddress='192.168.17.147', portNo=8123, url='/api/hikvision', protocolType='HTTP')
2023-07-02 09:41:59.056 DEBUG (MainThread) [custom_components.hikvision_next.coordinator] Finished fetching hikvision_next data in 0.154 seconds (success: True)
2023-07-02 09:41:59.378 DEBUG (MainThread) [custom_components.hikvision_next.isapi] http://192.168.17.205/ISAPI/Event/notification/httpHosts {'HttpHostNotificationList': {'@version': '2.0', '@xmlns': 'http://www.isapi.org/ver20/XMLSchema', 'HttpHostNotification': {'id': '1', 'url': '/api/hikvision', 'protocolType': 'HTTP', 'parameterFormatType': 'XML', 'addressingFormatType': 'ipaddress', 'ipAddress': '192.168.17.147', 'portNo': '8123', 'httpAuthenticationMethod': 'none', 'Extensions': {'@xmlns': 'urn:selfextension:psiaext-ver10-xsd', 'intervalBetweenEvents': '0'}}}}
2023-07-02 09:41:59.378 DEBUG (MainThread) [custom_components.hikvision_next.isapi] Alarm Server: AlarmServer(ipAddress='192.168.17.147', portNo=8123, url='/api/hikvision', protocolType='HTTP')
2023-07-02 09:41:59.379 DEBUG (MainThread) [custom_components.hikvision_next.coordinator] Finished fetching hikvision_next data in 0.222 seconds (success: True)

The device information for the camera shows the Firmware information of the NVR instead the one from the camera. Bug or Feature?

Capto_Capture 2023-07-02_09-48-07_
msp1974 commented 1 year ago

Ah, that would be a typo bug in the code that provides the device info. @maciej-or line 533 in isapi.py is

sw_version=self.device_info.firmware if is_ip_camera else "Unknown",

Should be

sw_version=camera_info.firmware if is_ip_camera else "Unknown",
dan-s-github commented 1 year ago

modified line 605 on v1.0.7 to

sw_version=camera_info.firmware

and reloaded integration, UI still shows NVR Firmware Version

Is reloading not enough?

msp1974 commented 1 year ago

You need to reboot HA to pick up code changes.

dan-s-github commented 1 year ago

this can be closed as camera now shows correct firmware

Capto_Capture 2023-07-05_19-03-26_