Why do you want to use "both?" What do you mean by both? Can you draw a truth table showing the switches you want to use, the state of each (i.e., on or off) , the corresponding state of each of the LED's, and the state of your ESP/BT modules?Yes i want to use both. So i either wanna switch on/off the LEDs (and also power the esp) using the switch. Furthermore it should be possible to control the spotlight with the app.
What spotlight?
If all you want to do is turn on the LED's when ESP/BT are off, then just wire a switch(s) as an OR, e.g., with diode logic (aka diode resistor logic)(https://en.wikipedia.org/wiki/Diode_logic ). Your origin post looked like it was headed in that direction, then things got confusing.


