pergolafabio / Hikvision-Addons

Home Assistant: Hikvision Doorbell
172 stars 36 forks source link

Update SDK #52

Closed pergolafabio closed 1 year ago

pergolafabio commented 1 year ago

Need to update SDK files

mion00 commented 1 year ago

Will this break aaarch64 support since it is stuck at an older version?

On Mon, Feb 13, 2023, 10:08 pergolafabio @.***> wrote:

Need to update SDK files

— Reply to this email directly, view it on GitHub https://github.com/pergolafabio/Hikvision-Addons/issues/52, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCNHN3ZQLLGRZFJXYPKIVTWXH2ZRANCNFSM6AAAAAAUZ7ZF7U . You are receiving this because you are subscribed to this thread.Message ID: @.***>

pergolafabio commented 1 year ago

No, it should not, same code can be used.. Gonna test this version later, and hope it will fix the callsensor for some users...

Just got feedback from Hikvision, the aarch64 will never be updated, it's like it is...

pergolafabio commented 1 year ago
Version 6.1.X.X
Summary of Changes in Version 6.1.7.15_Aug., 2021
Extended the structure about RS-485 parameters of the security control panel [NET_DVR_ALARM_RS485CFG](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-B0D22B61-D03A-4201-A0F3-D061B5B89228.html#GUID-B0D22B61-D03A-4201-A0F3-D061B5B89228) (related APIs: [NET_DVR_GetDVRConfig](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-11EF9797-8677-4363-9957-74FAE1C8AE17.html#GUID-11EF9797-8677-4363-9957-74FAE1C8AE17) with command 1188-"NET_DVR_SET_ALARM_RS485CFG" and [NET_DVR_SetDVRConfig](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-8C0BEB5A-EE83-4E0F-A1CA-B6DF69E92954.html#GUID-8C0BEB5A-EE83-4E0F-A1CA-B6DF69E92954) with command 1189-"NET_DVR_GET_ALARM_RS485CFG"):

added a member byStairsOutputDataType (output data type of the elevator controller) by one byte.

Summary of Changes in Version 6.1.7.X_July, 2021
Extended the message about capability of device information [XML_Cap_DeviceInfo](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-8B9DB43B-4A46-4988-9326-E56D76E99C52.html#GUID-8B9DB43B-4A46-4988-9326-E56D76E99C52) and the message about device information [XML_DeviceInfo](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-E12B91BB-52BF-4F9A-A12D-E267369F0300.html#GUID-E12B91BB-52BF-4F9A-A12D-E267369F0300) (related URIs: [/ISAPI/System/deviceInfo/capabilities](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-3FF103E7-AA57-4E9A-91A5-0E93500FBC0C.html#GUID-3FF103E7-AA57-4E9A-91A5-0E93500FBC0C) and [/ISAPI/System/deviceInfo](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-468B5836-8658-4605-94F4-5EE809F786A0.html#GUID-468B5836-8658-4605-94F4-5EE809F786A0); related API: [NET_DVR_STDXMLConfig](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-F69832FC-C943-4FCC-AA82-C64C0D25C494.html#GUID-F69832FC-C943-4FCC-AA82-C64C0D25C494)):

added 3 language types to the node languageType: "dutch" (Dutch), "hungarian" (Hungarian), and "irish" (Irish).

Extended the message about the configuration capability of accessing servers via ISUP [XML_Cap_EHome](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-C32D4242-BC6D-4179-9539-9FC2B696DEDC.html#GUID-C32D4242-BC6D-4179-9539-9FC2B696DEDC), message about the parameters of accessing a server via ISUP [XML_Ehome](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-1C00B63C-1F3C-49F0-B532-25AB94C081D1.html#GUID-1C00B63C-1F3C-49F0-B532-25AB94C081D1), and message about the parameters of accessing all servers via ISUP [XML_EhomeList](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-934E8003-A3F8-47E7-B87E-C93B3FF72B8D.html#GUID-934E8003-A3F8-47E7-B87E-C93B3FF72B8D) (related URIs: [/ISAPI/System/Network/Ehome/capabilities](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-8B5C4DFD-640F-4182-91C6-F1CB0390250C.html#GUID-8B5C4DFD-640F-4182-91C6-F1CB0390250C), [/ISAPI/System/Network/Ehome/<ISUPID>](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-A47059D7-30A3-439B-8B57-E387D20D67F8.html#GUID-A47059D7-30A3-439B-8B57-E387D20D67F8), and [/ISAPI/System/Network/EhomeList?centerID=](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-16A231EF-75C5-466A-BD36-9FE2E9C9B71F.html#GUID-16A231EF-75C5-466A-BD36-9FE2E9C9B71F); related API: [NET_DVR_STDXMLConfig](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-F69832FC-C943-4FCC-AA82-C64C0D25C494.html#GUID-F69832FC-C943-4FCC-AA82-C64C0D25C494)):

added 2 nodes: periodicTestEnabled (whether to enable periodic test) and periodicTestTime (periodic test interval).

Extended the message about the EZVIZ access configuration capability [XML_Cap_EZVIZ](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-015416B8-5129-4B39-9464-1CC8C708A4BA.html#GUID-015416B8-5129-4B39-9464-1CC8C708A4BA) and message about the EZVIZ access configuration parameters [XML_EZVIZ](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-A6A95A93-CDEF-401C-9890-C3C830FB0892.html#GUID-A6A95A93-CDEF-401C-9890-C3C830FB0892) (related URIs: [/ISAPI/System/Network/EZVIZ/capabilities](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-FD713860-DAB1-45F5-8BD9-142C99796421.html#GUID-FD713860-DAB1-45F5-8BD9-142C99796421) and [/ISAPI/System/Network/EZVIZ](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-90F004D5-F6D2-4D16-9467-E6B473B3910E.html#GUID-90F004D5-F6D2-4D16-9467-E6B473B3910E); related API: [NET_DVR_STDXMLConfig](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-F69832FC-C943-4FCC-AA82-C64C0D25C494.html#GUID-F69832FC-C943-4FCC-AA82-C64C0D25C494)):

added 2 nodes: periodicTestEnabled (whether to enable periodic test) and periodicTestTime (periodic test interval).

Extended the message about the configuration capability of all users' permission [XML_Cap_UserPermissionList](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-FEFF0EB2-62DD-4062-9420-893D2B85BF04.html#GUID-FEFF0EB2-62DD-4062-9420-893D2B85BF04), message about a specific user's permission [XML_UserPermission](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-40395056-E0B6-48C9-9E43-AE458DB4DC79.html#GUID-40395056-E0B6-48C9-9E43-AE458DB4DC79), message about the capability of managing the user permission [XML_UserPermissionCap](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-7C433D41-7255-4F52-AAF4-94E53B03F8BD.html#GUID-7C433D41-7255-4F52-AAF4-94E53B03F8BD), and message about all users' permission [XML_UserPermissionList](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-EC56731A-51D7-45AC-ADA5-4A5914C3B1AE.html#GUID-EC56731A-51D7-45AC-ADA5-4A5914C3B1AE) (related URIs: [/ISAPI/Security/UserPermission/capabilities](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-451513FA-1C6D-40B8-8212-2938C860DFDC.html#GUID-451513FA-1C6D-40B8-8212-2938C860DFDC), [/ISAPI/Security/UserPermission/<ID>](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-F00F4680-E943-4B72-8FCF-77D774877AB1.html#GUID-F00F4680-E943-4B72-8FCF-77D774877AB1), [/ISAPI/Security/UserPermission/adminCap](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-E1D0BDC6-7301-4C60-B2D2-BC72E45EE10D.html#GUID-E1D0BDC6-7301-4C60-B2D2-BC72E45EE10D), and [/ISAPI/Security/UserPermission](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-FCDE3D2A-E8B0-40A9-9CE8-CD4A00495758.html#GUID-FCDE3D2A-E8B0-40A9-9CE8-CD4A00495758); related API: [NET_DVR_STDXMLConfig](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-F69832FC-C943-4FCC-AA82-C64C0D25C494.html#GUID-F69832FC-C943-4FCC-AA82-C64C0D25C494)):

added 2 sub nodes to the node remotePermission: restoreTamper (whether to restore tampering) and restoreConfirmedAlarm (whether to restore alarm acknowledgment).

Extended the message about the capability of managing cloud users [JSON_CloudUserManageCap](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-FECC0D5B-3459-4EC0-A60E-3073E06012E0.html#GUID-FECC0D5B-3459-4EC0-A60E-3073E06012E0), message about the cloud user information [JSON_CloudUserManage](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-532D1109-7689-4F85-8714-EFA5636FC851.html#GUID-532D1109-7689-4F85-8714-EFA5636FC851), and message about information of multiple cloud users [JSON_CloudUserManageList](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-ABA1B4A8-41F8-4CA9-B8CB-96920B25E954.html#GUID-ABA1B4A8-41F8-4CA9-B8CB-96920B25E954) (related URIs: [/ISAPI/Security/CloudUserManage/users/capabilities?format=json](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-6862FAD7-4D06-459E-8AD1-42F947DAE1F0.html#GUID-6862FAD7-4D06-459E-8AD1-42F947DAE1F0), [/ISAPI/Security/CloudUserManage/users/<ID>?format=json](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-18BF7C62-0BB4-4022-A289-B44A09135DDE.html#GUID-18BF7C62-0BB4-4022-A289-B44A09135DDE), [/ISAPI/Security/CloudUserManage/users?format=json](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-6574DB22-4470-4CAA-B6BA-B03B6540AC74.html#GUID-6574DB22-4470-4CAA-B6BA-B03B6540AC74), and [/ISAPI/Security/CloudUserManage/users/byType?format=json](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-CCA712FA-AA60-4384-86C6-76739BC5DE46.html#GUID-CCA712FA-AA60-4384-86C6-76739BC5DE46); related API: [NET_DVR_STDXMLConfig](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-F69832FC-C943-4FCC-AA82-C64C0D25C494.html#GUID-F69832FC-C943-4FCC-AA82-C64C0D25C494)):

added 2 nodes: adminType (admin type) and installerType (installer type).

Extended the message about user configuration capability [XML_Cap_User](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-4E00969E-7E99-4519-8F08-FA77F8926E23.html#GUID-4E00969E-7E99-4519-8F08-FA77F8926E23), message about a specific user's configuration [XML_User](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-B1BA411A-5A3B-4F4E-9BF2-DA7C386F5872.html#GUID-B1BA411A-5A3B-4F4E-9BF2-DA7C386F5872), and message about configuration of all users [XML_UserList](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-95A93922-7001-4F9F-A9FE-807EF9CB7E8E.html#GUID-95A93922-7001-4F9F-A9FE-807EF9CB7E8E) (related URIs:[/ISAPI/Security/users/<ID>/capabilities](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-356AC4AE-5192-40B5-BB99-273A3C9AE44A.html#GUID-356AC4AE-5192-40B5-BB99-273A3C9AE44A), [/ISAPI/Security/users/<ID>](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-9658293E-795E-4212-BCF3-5DA1CA25F665.html#GUID-9658293E-795E-4212-BCF3-5DA1CA25F665), and [/ISAPI/Security/users](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-F4D1163E-5143-467E-8E5D-55A2D91907EA.html#GUID-F4D1163E-5143-467E-8E5D-55A2D91907EA); related API: [NET_DVR_STDXMLConfig](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-F69832FC-C943-4FCC-AA82-C64C0D25C494.html#GUID-F69832FC-C943-4FCC-AA82-C64C0D25C494)):

added 2 nodes: adminType (admin type) and installerType (installer type).

Summary of Changes in Version 6.1.7.15_May, 2021
Added one function of getting all tasks of manually copying back videos:

related API [NET_DVR_StartRemoteConfig](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-23388F56-C88E-46E9-8B0B-A1ECF29945F5.html#GUID-23388F56-C88E-46E9-8B0B-A1ECF29945F5) with command "NET_DVR_GET_ALL_RECORD_PASSBACK_TASK_MANUAL" (command No.: 6235).

Summary of Changes in Version 6.1.6_Jan., 2021
Extended the enumeration about files to be downloaded [NET_SDK_DOWNLOAD_TYPE](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-34A41D61-8DA0-41C9-99ED-7159111FCEEA.html#GUID-34A41D61-8DA0-41C9-99ED-7159111FCEEA):

added one enumeration type NET_SDK_DOWNLOAD_LENS_PARAM_FILE (lens parameters file).

Extended the enumeration about files to be uploaded [NET_SDK_UPLOAD_TYPE](https://github.com/pergolafabio/Hikvision-Addons/issues/GUID-576C3694-A8D3-44A4-B23B-46D3AA8F3AC1.html#GUID-576C3694-A8D3-44A4-B23B-46D3AA8F3AC1):

added one enumeration type UPLOAD_LENS_PARAM_FILE (lens parameters file).

Summary of Changes in Version 6.1.6.151_Dec., 2020
pergolafabio commented 1 year ago

i was playing with new SDK, but when using python3-10- slim image , i receive error 29 again upon starting Same error when i was testing on Alpine

I tested now ubuntu image, that worked, seems doesnt work on debian anymore Or i'm not sure where that error 29 is coming from

i also see in release notes:

For Linux Operating System with 64-bit
GCC Version 4.1.2 or Above

OS: CentOS 5.4, Redhat AS5.4, Ubuntu 9.10, SUSE10 or Above

maybe its better to move away from debian?

pergolafabio commented 1 year ago

for now; i changed to ubuntu:22.10 , and sdk is working