using a sonoff module,
I put in rules as shown below.
when running " http://sonoff-12/control?cmd=event,TimerOn" in my browser
the LED is lit for 10 seconds, everything ok.
but when putting " http://sonoff-12/control?cmd=event,remoteTimerControl=5" in my browser
the LED blink shortly, sometimes very short, sometimes half a second.
It looks to me that the eventvalue is not forwarded ?
Pls help !
Code: Select all
// LED off/on on LedOff do gpio,13,1 endon on LedOn do gpio,13,0 endon on remoteTimerControl do event LedOn timerSet,1,%eventvalue% endon on rules#timer=1 do event LedOff endon on TimerOn do event LedOn timerset,2,10 endon on rules#timer=2 do event LedOff endon