Super new to the ESP in general and wanted to check is it possible to repurpose the existing set of non addressable 12V led strip in closet and be controllable by touch as it is and adding the switch to the Home Assistant
Yes I already have this set installed. It is mounted behind the 2cm of wood in closet and you can turn on the led with touch from outside. I want to keep the same function but add feature to turn on and off lights from HA
Just insert the shelly between the PSU and switch? Would that cut the supply to the whole thing and would not be able to turn when switch is turned off in HA?
Switch is using some magnetic field and when you put wire next to it it turns(and it is not working properly switch wires are to close to it). I was thinking maybe you can skip the ESP from the circut but somehow just try to alter the switch and simulate the flow with GPIO but i don’t know how would HA know it switch is on or off this way
No. Shelly is between PSU and LED. Capacitive switch is used just to trigger shelly. Instead of powering anything it just gives change of state signal.
So you have parallel trigger either from switch or from HA.
Do you need wiring scheme?
You can wire shelly distant from switch if you have doubts with interferences.