Replies: 2 comments 4 replies
-
It is not at all clear what happens, as what you post as "this occurs" includes RuleTimer2 which you only mentioned as an additional workaround, not included in your "situation". To get better debugging, do not have more rules than what you hoped to be workable, activate Your setting of SwitchMode1 and 2 makes a major difference to how the switch inputs work, and you mentioned nothing about that. |
Beta Was this translation helpful? Give feedback.
-
Dear Stromis... |
Beta Was this translation helpful? Give feedback.
-
I want to use a flashed shelly 1 for a Cow Brusch... There is a Reed Relais for Start and Stop after a Time... I want the Shelly to work as an TimeRelais with delayed Power off. Here my Rule:
Rule1 on switch1#state=1 do backlog power1 on; RuleTimer1 0 endon on switch1#state=0 do RuleTimer1 30 endon on Rules#Timer=1 do Power1 off endon
This works well when there is a slow change by Switch1 hardware inputt, but several times thiss occures:
0:14:02.352 RUL: SWITCH1#STATE=0 performs "RuleTimer1 30"
20:14:02.358 RSL: RESULT = {"T1":30,"T2":270,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}
20:14:02.595 RSL: RESULT = {"T1":0,"T2":270,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}
This force the Drive to run endless... The Switch is off for a long time, but the shelly ignores the "off" state... and i dont understand whats happend there in the log whith my used Rules, i think there is no way for this...
Maybe is my fault, please let me know #10190
My Workaround at the Moment is Rule2... but i want to know what there is happend...
Rule2 on Power1#State=1 do RuleTimer2 600 endon on Power1#State=0 do RuleTimer2 0 endon on Rules#Timer=2 do Power1 0 endon
Thank a lot froom a Cow Friend :)
Beta Was this translation helpful? Give feedback.
All reactions