Through mqtt remote switching, the long press and jog modes of tasmota's relay relay realize two functions. or other better way #20190
Unanswered
wei1980okb
asked this question in
Q&A
Replies: 3 comments
-
You are not explaining what you're trying to solve, but any Tasmota command can be published via MQTT without needing to involve rules. |
Beta Was this translation helpful? Give feedback.
0 replies
-
According to your reminder, the problem has been solved, thank you very much! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently I am learning tasmota rule and need to implement a function. But I don't know how to implement it and need help, thank you!
Flashed the switch relay of tasmota's esp8266 and connected it to the MQTT server. It works normally.
D3 GPIO0 Relay 1
The first way clicks for 0.5 seconds
PulseTime1 5
Now we want to realize that this esp8266 device has a relay that can be manually switched to realize the jog and long press functions at different times.
My idea is: after receiving the specified mqtt information a, automatically execute the following command on the console through the rules [PulseTime1 0 (restore default settings)] to change the jog mode to the long press mode
After receiving the specified mqtt information b, automatically execute the following command on the console through the rules [PulseTime1 5 (first jog for 0.5 seconds)] to change the long press mode to jog mode.
Beta Was this translation helpful? Give feedback.
All reactions