Is there something changed in the rule system?
Now that it is getting fresh I have made the automatic open closing of the toilet window active again.
I am working with this version: Build: ESP_Easy_mega_20220427_normal_ESP8266_4M1M Apr 27 2022
This is the rule,
on wcraam-open do
gpio,15,1 // relay on
timerSet 1,2 // 2 seconds timer
endon
on rules#Timer=1 do
gpio,15,0 // relay off
endon
on wcraam-close do
gpio,13,1 // relay on
timerSet 2,2 // 2 seconds timer
endon
on Rules#Timer=2 do
gpio,13,0 // relay off
endon
on wcraam-open/stop do
gpio,12,1 // relay on
timerSet 3,2 // 2 seconds timer
endon
on Rules#Timer=3 do
gpio,12,0 // relay off
endon
on wcraam-stop do
asyncevent,wcraam-open
timerSet 4,26 // 26 seconds timer
on Rules#Timer=4 do
asyncevent,wcraam-open/stop
endon
But I am now getting an error message on this
1039505: HTTP: event,wcraam-stop
1039521: EVENT: wcraam-stop
1039528: ACT : asyncevent,wcraam-open
1039534: ACT : timerSet 4,26
1039538: ACT : on Rules#Timer=4 do
1039541: Command unknown : on Rules#Timer=4 do
1039543: ACT : asyncevent,wcraam-open/stop
1039549: EVENT: wcraam-open
1039555: ACT : gpio,15,1
1039557: GPIO : port#15: set to 1
1039560: ACT : timerSet 1,2
1039566: EVENT : wcraam-open/stop
1039571: ACT : gpio,12,1
1039574: GPIO : port#12: set to 1
1039576: ACT : timerSet 3,10
1049562: EVENT : rules#Timer=1,1
1049569: ACT : gpio,15,0
1049571: GPIO : port#15: set to 0
1049579: EVENT: Rules#Timer=3,1
1049586: ACT : gpio,12,0
1049588: GPIO : port#12: set to 0
How can I fix this?
Is there something changed in the rule system? [SOLVED]
Moderators: grovkillen, Stuntteam, TD-er
Re: Is there something changed in the rule system? [SOLVED]
Forget the whole story, a BIG mistake from myself. I missed a "endon" in my rule.
Re: Is there something changed in the rule system? [SOLVED]
I would have expected the dashes (-) in the eventnames to be possibly causing issues, as they can be seen as operators. You can safely use underscores (_) instead of dashes though.
/Ton (PayPal.me)
Who is online
Users browsing this forum: Google [Bot] and 20 guests