I had working rulesset on ESP BinFile ESP_Easy_mega_20211224_normal_ESP8266_4M1M
Code: Select all
Rules Set 1
on System#Boot do
loopTimerSet,1,10
loopTimerSet,2,2
endon
on Rules#Timer=2 do
if [Plugin#GPIO#Pinstate#14]=0 //D5
sendto, 2, "gpio 16,1"
endif
if [Plugin#GPIO#Pinstate#14]=1
sendto, 2, "gpio 16,0"
endif
endon
on Rules#Timer=1 do
sendto,2,"timerset,1,10"
endon
BinFile ESP_Easy_mega_20201227_normal_ESP8266_4M1M
But now there must be used other way of putting code in starting with Event Name
Can pls advise how to convert?
TIA
-Bart