Supereg / homebridge-http-switch

Powerful http switch for Homebridge: https://github.com/homebridge/homebridge
ISC License
218 stars 36 forks source link

Hikvision (DS-KD8003) Door lock trigger #98

Closed ayghazali closed 1 year ago

ayghazali commented 3 years ago

Can someone add the function of open door/relay for hikvision doorbells?

I found this home assistant thread discussing this and they had this command for open door

To open an electrical door (relay 1 or 2) curl -i --digest -u admin:xxx -X PUT -d 'open' http://192.168.0.xx/ISAPI/AccessControl/RemoteControl/door/1

Not sure if this can be implemented into this plug-in or any other plugin.

Apologies for the noob question, I'm not a coder, so I don't know how these things work exactly