Feature Request: Task enable/disable via http commands #1185
Labels
Category: Rules
Related to the rule engine
Type: Feature Request
Add a completely new feature (e.g. controller/plugin)
Milestone
It would be good to be able to turn off/on devices via a http command (Server -> Sonoff).
Say I have a number of (in my case) sonoff devices that control lights, and have on GPIO14 a PIR connected that drops the pulled up line to zero, which in turn is attached to Task 3, firing off a rule.
The motion sensor is not required during daylight hours that the server on the network "knows" through time zones. The server than could turn off the task in the morning, to turn it on again in the evening.
Suggested Command:
TaskEnable,<task "number">,<1 or 0>
Alternatively:
TaskEnable,<task "name">,<1 or 0>
IMHO the second one is prefered method.
The text was updated successfully, but these errors were encountered: