I've installed espeasy on my sonoff. I want to use my current light switches (toggle switch) on gpio14 to have a physical switch.
I need a script that will detect gpio14 state change (high to low /low to high) and then change the state of the relay (gpio12).
Sonoff with toggle switch
Moderators: grovkillen, Stuntteam, TD-er
Re: Sonoff with toggle switch
Please read the Rules tutorial in the wiki/ use the search function of the forum. This question has been answered a number of times.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
Who is online
Users browsing this forum: Bing [Bot] and 31 guests