So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By flash_os
#62057 I wish to put my ESP8266 + Relay + Transformer ,into light switch in order to control it remotely.

But the issue is single-pole light switch.

1) I have to always supply to Transformer 120V
2) When relay disconnect the light still will be on (flowing through transformer)

Any idea how to resolve it?
You do not have the required permissions to view the files attached to this post.
User avatar
By rudy
#62058 What kind of load? Incandescent or LED light, or something else? Where does the WiFi switch get it's power from? Describe the situation better and I can give you a better answer. But until then I would answer with the following.

I would not use a relay/transformer to control the lamp current. I would use a triac. This assumes a Incandescent bulb.
User avatar
By forlotto
#62063 everything built into it transformer has input and output very easy to use. Check This Out

Being that it is an esp you can also flash it there is a how to in the mmiscool basic forums or you can use the already simple interface and instructions but I wanted remote control and integration so I flashed it with espbasic I have two of them running mounted to my pedestal fans that oscillate in the summer circulating the air in my home.
User avatar
By flash_os
#62073 Thank you Rudy,

What kind of load?
Led bulb light, for example: Image

Where does the WiFi switch get it's power from?

WiFi controller (NodeMCU) and Relay will get power from little Transformer: Image

Describe the situation better and I can give you a better answer.

I have been able to control NodeMCU by Google Home device... so I wanted to control my kitchen light with: NodeMCU, Transformer, Relay

forlotto: Your device is not suitable for single-pole.