I am new to the game and have a SLP3 since 8 days now.
Beta firmware with MQTT support was installed right away.
Connecting to my local broker took a little while because of the hardcoded credentials, but we made it finally.
The smartlock is integrated into openHAB with the native MQTT binding.
Everything works well so far, the lock does what is it supposed to do (most important: the auto unlock feature which works very well) and also sending and receiving commands through openHAB doesn’t make any issues.
openHAB commands to the lock have almost no delay, roundabout 200ms at most, but mostly a lot less.
Well done, Nuki and thanks!
1 Like
Another Home Assistant integration question. Is anyone already parsing the comma seperated list pusblished to the lockActionEvent
topic? I dont really know how you can parse a comma seperated list within an automation in Home Assistant.
What exactly do you want to do or to which action do you want to realize what kind of reaction?
Use the auth_id of the user or the keypad code to know how or by whom the door was opened. And I just found out how to do it as well. This is a basic automation to split the payload of the lockActionEvent.
alias: "Nuki: parse lockActionEvent"
description: ""
trigger:
- platform: mqtt
topic: nuki/xxxxxxx/lockActionEvent
condition: []
action:
- service: notify.mobile
data:
title: Nuki lockActionEvent state
message: "{{ trigger.payload.split(',')[0] }}"
mode: single