Home Assistant MQTT auto. discovery

Hi All,

Thanks for all the wonderful work, getting Homeasistant (OS), MQTT and NUKI 3.0 Pro working together.

As the direct Homekit connection via Bluetooth to NUKI 3.0 Pro is still unreliable (device unresponsive, device taking long time to respond, NUKI 3.0 Pro 1,5m far from Homepod mini, also with Beta FW 3.6.5) I decided I would try connecting The NUKI 3.0 Pro via MQTT (over WIFI, not Bluetooth) to Homeassistant (let’s call this step 1), and then from Homeassistant expose the NUKI to Homekit (step 2).

Step 1 went fairly simple out of the box. I used this guide:

The result is a nice dashboard in Homeassitant. All actions are lightning fast. As soon as you press lock/unloack/unlock the NUKI 3.0 Pro reacts in micro seconds. Fantastic!


Step 2, exposing the MQTT connected NUKI 3.0 pro to Homekit (and Siri) also works and is SUPER FAST, never unresponsive. Even from Apple Watch with Siri. But I have one problem that I don’t know how to solve. I have asked on the Homeassistant forum, but have not got any usable answers.

The problem:
I have a fixed door knob on the outside of the door.

Homekit by default locks and unlocks the door, but does not unlatch/open the door when unlocking (which IS the behaviour of NUKI 3.0 Pro, when connected directly via Bluetooth to Homekit).

The $1M Question:
Does anybody know how I can make Homekit open the door (in stead of just unlocking) with my setup (Nuki <> MQTT <> Hass <> Homekit)?

I’m thinking of some way to map/expose the Homeassitant Unlatch/Open function to Homekit Unlock function.

I’m hoping somebody here with more Homeassiatant knowledge has already bumped into this issue and can explain what I need to add to configuration.yaml to fix this.

THANKS!

1 Like