arachnetech / homebridge-mqttthing

A plugin for Homebridge allowing the integration of many different accessory types using MQTT.
Apache License 2.0
462 stars 104 forks source link

Can't have Lock with Garage Door in HomeKit #581

Open stephanfo opened 1 year ago

stephanfo commented 1 year ago

Hi @arachnetech, contributors, and the rest of the community,

First thank you so much for this project, also thank you to the contributors.

I use Tasmota with a D1 mini, and I implemented the solution in the Wiki provided by ceraz68 & jdtsmith with 2 reed switches 2 topics. Works like a charm.

So next step is to implement the lock feature described in the doc. To do so, I added this simple config below in HomeBridge, which simply trigger power2 ON/OFF (I do not use Jammed and Unknown):

"topics": {
    .... // same as in the Wiki
    "setLockTargetState": "cmnd/garage/POWER2",
    "getLockTargetState": "stat/garage/POWER2",
    "getLockCurrentState": "stat/garage/POWER2"
},
"lockValues": [
    "ON",
    "OFF",
    "Jammed",
    "Unknown"
],

However nothing special related to a Lock appears in the Apple Home application. I tried to delete the accessory, then recreate it, same issue. I just have the simple Garage Door without anything related to a Lock or extra option in the setup and commands.

Did I miss something? How this should appear in Home and how to make it work?

Thanks a lot.

stephanfo commented 1 year ago

Just want add an extra comment. When I activate the notifications in home about this garage door, I receive the notifications secured/unsecured, so I assume the connection with HomeKit works. But no command or status visible about it. Just the notifications.

odelcourt commented 1 year ago

Same here. You can have the lock/unlock command/status in others apps like Eve.