NEWS
Press, Double Press, Press Hold in Tasmota konfigurieren
-
Hallo zusammen,
folgender Sachverhalt: Ich habe bei eBay so ein billiges 5V Sonoff Modul gekauft und Tasmota geflasht.
Ziel ist es, dass diese Gerät über einen an GPIO14 angeschlossenen Taster verschiedene Tastendrücke erkennt und via MQT einsprechende Nachrichten sendet.
Das Relais auf dem Board soll bei dem Ganzen überhaupt keine Funktion haben.Was bisher funktioniert ist, dass bei "normalem" Tastendruck (egal wie lange) POWER = ON gesendet wird.
Ich würde aber gerne noch ein oder zwei zusätzliche Tastendrücke erkennen können (lange drücken, und doppelt drücken). Also so, dass dann bspw. auch POWER HOLD und POWER TOGGLE entrechend über MQT gesendet werden... Kann mir jemand dabei helfen?
Danke
Max
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login