Sonoff Enable button after flashing v 148
Posted: 24 Apr 2017, 18:24
Hello I flashed ESPEasy v 148 onto Sonoff plugs and I am able to control them via OpenHab2/MQTT; however I would like to be able to manually switch on/off by pressing the little button on the plug; is it possible? If yes, how?
Hereafter my devices config:

These are my rules:
on lightSwitch#Switch do
if [lightState#Switch]=0
gpio,12,0
else
gpio,12,1
endif
endon
Hereafter my devices config:

These are my rules:
on lightSwitch#Switch do
if [lightState#Switch]=0
gpio,12,0
else
gpio,12,1
endif
endon