Please refer to the ReadTheDocs for up-to-date documentation:
https://espeasy.readthedocs.io/en/latest/index.html
TaskValueSetAndRun is a combination of TaskValueSet and TaskRun.
A TaskRun will trigger a task to "take a sample", which is a nul-operation on a Dummy task.
But it will also send out the collected data to any connected controller of that task and generate event(s) with the task values.
By default there will be an event per task value, unless you checked the checkbox to send out a single event with all task values at once. (the event will then be named "taskname#All=123.4,567.8,...")
You should also set the initial rules timer. (e.g. at boot)
See for some examples:
https://espeasy.readthedocs.io/en/lates ... rset#timer
The old way was to set a timer and set it again when handling the timer event.
But now we also have the "looptimer" which will be much more consistent and not showing any drift.
For example when you would set the timer again when handling the timer event, it would take some time to parse the commands and also the timer event might be slightly longer in the event queue before it is being handled.
This would then cause a drift in when the next timer would be set.
The loop timer would set the next timer based on the current set time and thus show no drift.