johnlemonse / homebridge-telldus

36 stars 22 forks source link

"smart" door/lock support.. #65

Open dezral opened 6 years ago

dezral commented 6 years ago

Would it be possible to add "smart" door/lock support.. i have purchased a Danalock v3 z-wave to be used with my telldus.. I know I could have bought a homekit version but that would ONLY work on IOS..so could not send keys to an android or other.. so z-wave/BT is better and hoping to add it to homebridge..

ekhalil-SE commented 3 years ago

I'm interested in any answer to this question please. Thank you,

mifi commented 3 years ago

If it works the same as a switch in Telldus, then it should be fairly trivial to implement in homebridge-telldus, however I don't have any devices to test for this.

ekhalil-SE commented 3 years ago

I managed to get the Danalock in homebridge as a switch by updating the config file as follows: "local_id": "301", "type": "device", "model": "switch", "clientDeviceId": "301", "name": "Frontdoor Lock", "manufacturer": "Danalock", It will be very nice if we can define it as a proper "lock" so that Homekit / Siri can deal with it the correct way. So far I'm using iOS shortcuts to handle the doorlock and that's working ok. Thanks,

mifi commented 3 years ago

Cool. I think it's only a matter of implementing the right service and HAP characteristics from https://github.com/homebridge/HAP-NodeJS