Replies: 1 comment 6 replies
-
Using |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
I have a question that I can't resolve with SwitchMode setting. Maybe I don't understand it correctly and please point me in the right direction then.
I have Wemos D1 mini and Tasmota 14.3.0 installed on it.
I configured Module type to Generic (18).
Also I configured a switch connected to GPIO14 (and GND) and a relay connected to GPIO13.
I run command
SwitchMode1 1
which means (as I understood) that relay WILL FOLLOW the switch. So if the switch is open then the relay is OFF, and if the switch is closed (connected to GND) then relay is ON.The current state after power up is OFF. All is working fine as described.
BUT then I go to Tasmota Web GUI and click Toggle button https://prnt.sc/rRk6oUmGLrXx
It makes the relay ON but the switch is still OPEN. And then, when I close the switch it makes the relay OFF instead of ON. So relay is inverted and does NOT FOLLOW the switch status anymore. It's very strange behavior and looks like a bug.
Could you please explain what is happening, and how to workaround it?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions