mqtt problems?

Hello, I have already written to nuki customer service with my problem. I have the nuki smartlock ultra and when I connect it via mqtt, my front door is locked as confirmation of the connection. Unfortunately, when the smartlock reconnects to my mqtt server after a short interruption, it naturally locks my front door again, which is obviously not supposed to happen. Can’t this confirmation be switched off?

There is no such confirmation implemented.
Seems like your integration is publishing to the /lockAction or /unlock topic when the Smart Lock is (re)connecting.
Try to monitor the /lockAction and /unlock topic to check if someone is publishing something to it during connection.

Perhaps a “retain” property in your message.
Purge your topic and publish without retain ?