Skip to content

[FR] Input GPIO to publish state via MQTT #244

@KoMa1978

Description

@KoMa1978

It would be great to have the possibility to configure a GPIO input and publish the state via MQTT and change another GPIO state.

For example a switch on GPIO 3 is closed, this should:

  • change a published MQTT topic from value "A" to value "B".
  • change configurable GPIO Pin to HIGH/LOW for a specific timeout (identical settings like HomeKey Auth Success/Failure)

I want to implement some kind of enclosure monitoring.
If someone opens the reader enclosure I want to be aware of it (via MQTT).
With the GPIO you can turn on a buzzer for a local alarm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions