Skip to content

PlatformaIO #51

Closed Answered by rednblkx
VaBanck asked this question in Q&A
Apr 14, 2024 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

basically what @ihrapsa said.

But i want to explain a couple of things, since it does change to unlock and not lock, i assume you enabled MQTT_HOMEKEY_ALWAYS_UNLOCK as normally it doesn't do anything, this option makes it so it publishes the value 0 for UNLOCK to the MQTT_STATE_TOPIC mqtt topic and also updates the homekit entity to Unlocked.

In case you tried to enable both MQTT_HOMEKEY_ALWAYS_UNLOCK and MQTT_HOMEKEY_ALWAYS_LOCK, note that's not possible since that wouldn't make sense and also the code checks with an "if else" if MQTT_HOMEKEY_ALWAYS_UNLOCK is enable else if MQTT_HOMEKEY_ALWAYS_LOCK is enabled.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@rednblkx
Comment options

@VaBanck
Comment options

@ihrapsa
Comment options

@rednblkx
Comment options

Answer selected by VaBanck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants