petrleocompel / hikaxpro_hacs

HACS repository of Hikvision Ax Pro integration for home assistant
MIT License
40 stars 4 forks source link

firmware 1.2.9 b230905 DS-PWA64-L-WE #108

Closed trempetic92 closed 4 months ago

trempetic92 commented 5 months ago

New firmware is giving bad request on arm/disarm. Noticed they removed option for it on web interface. Most likely changed the parameter for area.

Anyone have any information? I am not directly using it for assistant, i am using it in my asp.net integration.

Cheers

petrleocompel commented 5 months ago

I was having some concerns ... i will try to check it. But I am not going to upgrade firmware if it is true.

trempetic92 commented 5 months ago

For your information the new Hybrid PRO alarms are the same as the new AX PRO firmware, if it's solved, hybrid alarms would work as well. I will try to find correct params, since the node is still active, just params are bad.

petrleocompel commented 5 months ago

Sadly HIkvision SDK is not updated. https://www.hikvision.com/us-en/support/download/sdk/ Still version V6.1.9.4_build20220412

Soo I cannot get the docs

petrleocompel commented 5 months ago

Only never docs I could find is 2023

image

It is implemented according to this docs.

trempetic92 commented 5 months ago

Tested again, it still works, the bug occurs when you add installer and admin with same email address, and once the installer gave to user, he no longer have permissions to arm and disarm. Sorry, i have just seen the error msg after further debugging.

Tested now on newest firmware n240412 and it works.

HappyPlotter commented 5 months ago

I can confirm that after changing the user to administrator the arm/disarm works

petrleocompel commented 4 months ago

I will add info to README.md and issues will be closed. (#108 #107)

Sadly for you guys. I installed system myself. So only person who has control over the system is me.

Issues #106 and #97 will be asked to try again if changed because the code works... Only next problem on my mind is that during arming can be something triggering the PIR sensor and that is the next reason why you cannot arm the system.

Thank you for your cooperation and finding out. I would not find it because I am not going to give access to my system to anybody else.

petrleocompel commented 4 months ago

Added section to README.md closing issue.

HappyPlotter commented 4 months ago

I see in the documentation for the openAPI that there is X-UserLevel, I don't know if this is of any help image

petrleocompel commented 4 months ago

That might actually help. I will try add the header. Default will be value 1. Because not everybody could be installer.