judge / homebridge-hikconnect

A Homebridge plugin to communicate with Hikvision smart doorbells via Hik-Connect cloud and allows lock to be unlocked. It exposes doorbell locks as a lock accessories to Homekit.
MIT License
18 stars 2 forks source link

Camera #14

Closed pergolafabio closed 2 years ago

pergolafabio commented 2 years ago

Hi, you say you have not added camera (yet) So you think it's possible? We also use the API in home assistant , but I checked the Hikconnect protocol, and couldn't find any API/command to retrieve the camera feed...

I have only found options to indeed unlock, or call history or send ISAPi commands trough Hikconnect or abort/cancel/answer call... But no camera feed...

Have you found something then?

judge commented 2 years ago

No, sadly I don't have the skills to decrypt the camera feed. But I believe it should be possible because there is a live camera feed in the app. If you have any tips or solutions, please share it. :)

pergolafabio commented 2 years ago

I think it's using the SDK....

Maybe it's possible to send the ISAPI command to retrieve the feed trough Hikconnect, I have found a way to send ISAPI commands

pergolafabio commented 2 years ago

Have a look here, I posted there an example how to send an ISAPi command...

https://github.com/tomasbedrich/home-assistant-hikconnect/issues/20#issuecomment-1021218537

judge commented 2 years ago

That is great news! Thanks for letting me know! I'll close this and I'll keep watching the other repo. :)