Having issues to connect to MQTT using the App. When I disable debug mode on my Nuki 3 Pro I see the following in my mosquitto log: I provided User and Password
2023-03-21 16:01:07: New connection from 172.20.1.99:52438 on port 1883.
error: received null username or password for unpwd check
When I enable debug mode I only get an error message within the app. Hostname could not be resolved ?? I use an IP address.
Yesterday I disabled debug mode, setup MQTT in NukiAPP and all is working w/o any problems till now.
Nuki 3 Pro, beta firmware 3.6.0
App verison 2023.4.1 (beta)
Mosquitto MQTT broker running on Odroid H3 with Ubuntu.
I don’t know why so many people have problems using MQTT? I have a Mosquitto broker running on a Raspberry PI and have had no problems since the stable version was released. Connection is never lost (or auto-reconnects). Google Home works fine and publishing from Domoticz scripts also. I barely use the Nuki app for locking/unlocking.
You need to be careful with this. There is a handful of people reporting problems here in the forum seeking an advice but there are hundreds or thousands of users out there which are happy and therefore do not show up here in the forum. Furthermore people often do not report back when the problem is solved for them. That’s the nature of such forums and this one of the reasons why we do not run a public support forum, but a developer forum.
This also doesn’t help for me, my broker has no password.
But I’m also on a 172 network and can’t get it working.
Is there anything else to test or information we can supply?
I also requested access to the MQTT beta group, no idea if this is still active or used.
I’m also already on the nuki testflight beta program
edit:
I also tried running Mosquitto (newest version 2.0.18) in a docker container, on a plain VM and on my Macbook using homebrew.
All different IPs and different machines and OS type / versions.,
everytime the same error “Die Aktion konnte nicht ausgeführt werden. Bitte versuche es erneut.”
What’s interesting: There’s now a nuki topic n all 3 MQTT brokers I tried.
Which means the connection to MQTT worked at least for a short time (and it shouldn’t be a authentication problem, as the nuki wouldn’t be able to post data to the broker otherwise).
Any chance to get logs from your MQTT Broker to see what the SL is doing and/or how far it is comming? It will log in and then pusblish some topics and subscribe to topics.
Btw: I have a 172.16.16.x network and the SL connects to MQTT without problems.