I read on, what I believe to be, the version appropriate rules tutorial page about %eventvalue%.
I have set up a simple set of rules as follows:
gpio 0 and 2 have leds on themon remoteTimerControl do
gpio,0,0
gpio,2,1
timerSet,1,%eventvalue%
endon
on Rules#Timer=1 do
gpio,0,1
gpio,2,0
endon
As per the rules tutorial page I am sending
esp17.lan/control?cmd=event,remoteTimerControl=5
via http.
I see the leds change as I would expect but the timing seems off, so I retry wiht other values
esp17.lan/control?cmd=event,remoteTimerControl=50
esp17.lan/control?cmd=event,remoteTimerControl=1000
timing seems not to change proportional to eventvalue and is highly variable regardless of the eventvalue value sent.
Where am I going wrong?
Thanks,
Brian H.
Uxbridge Ont