arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.75k stars 4.72k forks source link

how to configure HC-SR501 for only MQTT messages #679

Closed kutteg closed 6 years ago

kutteg commented 6 years ago

I have added successfully a HC-SR501 to a sonoff th16 on GPIO 4, but I dont want the sensor to trigger the relay, I want it to only send MQTT message on state change ("Switch1": "ON" "Switch1": "OFF"). How do I have to configure that scenario?

Thanks in advance...

kutteg commented 6 years ago

I want only the hardware button to trigger the relay

davidelang commented 6 years ago

research switchtopic k

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 6 years ago

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem.