mycontroller-org / mycontroller-v1-legacy

The Open Source Controller
http://www.MyController.org
Apache License 2.0
148 stars 90 forks source link

Rule trigger only first time #410

Closed toygame closed 7 years ago

toygame commented 7 years ago

I use mycontroller on project smart farm. I use the rule in order to turn on mist pump when temperature more than 27 celsius. after that, the pump is opening for 1 minute. I set rule to turn off pump. After 1 minute I need to turn on pump again when temperature more than 27 celsius. What should i do sir.

toygame commented 7 years ago

image

image

image

cimba007 commented 7 years ago

Just to be sure .. the temperature falls below 27°C within those 60seconds? Could you attach a chart of the temperature and pump state? Is the corresponding operation executed .. first after reaching 27°>= and then gain after falling below 27°C and then getting over it again?

jkandasa commented 7 years ago

@toygame You have to check Disable when trigger on the rule test and create additionally an operation to enable test rule. and map this operation with R1_off rule.

toygame commented 7 years ago

thank you for you suggest sir. i dont know it has Re-Enable feature lol then i will try this feature and reply soon.