Hi everyone,
I’m trying to enable MQTT on my Nuki Smart Lock 4.0 (non-Pro) and I’m running into persistent connection issues. I’d appreciate help from anyone who has MQTT working in a similar setup.
Setup
• Device: Nuki Smart Lock 4.0 (non-Pro, Matter over Thread)
• Thread Border Router: Apple TV 4K (Thread enabled)
• Integration: Nuki paired successfully via Matter with Apple Home
• MQTT Broker: Mosquitto
• Standard port (1883)
• Username/password authentication
• No TLS
What works
• The MQTT broker is stable and reachable.
• Using the same credentials, I can successfully connect from another device (macOS) using mosquitto_sub / mosquitto_pub.
• The broker hostname resolves correctly via mDNS to both IPv4 and IPv6 and is reachable from other devices in the same network.
Problem
When I enter the same MQTT credentials into the Nuki app, the connection fails immediately with a “Action could not be executed. Please try again” (loosely translated from german) error.
Things I already tried
- Configuring MQTT immediately after Matter pairing
- Disabling remote access in the “Smart-Home → Matter” menu, leaving only the Matter connection active
- Using the mDNS hostname of the broker as MQTT host or ipv4 directly (ipv6 does not fit in the “host name” field - too long)
- Verifying credentials (confirmed externally)
Of note:
- using ipv4 in host name field results in a different error message (“MQTT activation failed. Activating MQTT resulted in an error. Please check user name and password.”). Credentials are double checked.
- dns-sd -G v4v6 only lists the link-local ipv6 (and of course, the correct ipv4) for my server → reason why ipv6 connections might fail?
Thanks a lot for any help.
Best regards
Fabian