how to switch relais with hardware switch on esp32 #17280
dannyv1101
started this conversation in
General
Replies: 2 comments 2 replies
-
Just config the pins, default action of Tasmota is to couple switch inputs and relay outputs. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you! Now it works, I think I can not use every pin for every function. How I have to set the thing up that when relais 1 is switching to 1 that all other relais get turn off? So that alway just one relais can be turned on. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to build my own device whit an esp32, for that I have set up in the template:
Relais 1 on GPIO 5
Relais 2 on GPIO 12
Relais 3 on GPIO 15
Relais 4 on GPIO 18
Switch 1 on GPIO 2
Switch 2 on GPIO 4
Switch 3 on GPIO 13
Switch 4 on GPIO 14
If Switch 1 is 1 I want to turn on Relais 1, if switch 2 is 1 I want to turn on relais 2 and so on. Just switch on and Relais 1 is working, how I have to set this up?
Beta Was this translation helpful? Give feedback.
All reactions