Skip to content

MQTT state topic for "permit_join" #626

Closed
@ophilips

Description

I'm trying to create an easier integration for zigbee2mqtt in home assistant as "MQTT lock". It also works without customization in homekit and is quite easy to control and setup because it is just one entry in your configuration file. Everything works so far https://gist.github.com/ophilips/8146ff802119bf6eb8ae5915851ad6d4 but sometimes it switches to the wrong state after a restart. I tried to set the retain flag and set the state_topic to the same topic as command_topic but it would be more reliable to get the real state.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions