@laszlojakab , i tried other example scripts, even the official included in the SDK, they are all giving wrong values on Linux … too bad
anyway, back to ISAPI , i upgraded the firmare to custom, the callstatus was working now on DS-KD8003 series, but the alertstream was not working
after getting in touch with Hikvision, they told me to factory reset, and YES
i now see incoming events , like door Open , or illegal card swiped!!
gonna ask the developer of PyHik, to add this in the official HikVision HA integration, so there can be more binary sensors created
Guys, who is good creating rest sensor? i just need 1 thing, then the whole integration for Hikvision is complete
the alert stream for events, is an infinite file/output, i dont know how to get those values in HA
hey @laszlojakab , i’m gonna submit a support request on the hikvision TPP portal, for sdk issues
I have an account there, as a company, if they want to more about the Linux SDK bug, can i give your contact details?
I think first of all we should create the same app in C++. If the same problems happen in C++ app then we can contact to HikVision support team. If no problem with C++ app then the problem should be in Python code which not related to the SDK so probably HikVision couldn’t (or won’t) help to us.
hey, i tried the C++ code, there is a sample file in the downloaded SDK package (consoledemo)
if you start that in terminal, option 3 is to get the alert events
i just added some print commandos to actually see the commands and types, they were wrong too
Is it possible to get which room was called / which button was pressed on the outdoor station? There is not such property on the callStatus response body, but maybe there’s some chance on the alert stream?
Are you using the correct ISAPI url? I added one in first post… The callstatus url from 8003 is different then the others
The one in the rest sensor example is for other models, you need to change it to the one for 8003
Mine polling is setup to 3 , more then fast enough
yeah, i have a ticket open with Hikvision, i sended you a PM
btw, do you also want to work with the ISAPI ? would be nice to have this as an offcial integration into HA
you are a developer
the Hikvision integrtation , is already based on the same ISAPI url, its just the type of events thats needs to be changed in pyhik , and offcourse some changes in hikvision integration, so more binary sensors are created …