Replies: 3 comments 4 replies
-
No, there is no feature for delaying a command till some specified later time. Timer control in Tasmota is more based on configuring a timer schedule, possibly combined with rules, or using ruletimers to do something after a precalculated period. If you are not using timers for anything else, you could send a command to create a timer, at a whole-minute time. Possibly, using device groups, or a group topic can help timing control, but if your wifi is too bad to work properly, that's what I'd focus on. In case of using ESP32 devices, there is some additional flexibility with Berry for timing control. |
Beta Was this translation helpful? Give feedback.
-
What if we added
to CmndDelay function in support_command.ino (line 654) That way if some sends a command like Assuming all the tasmota devices OP is using can sync every 45 minutes, they should be within a few ms of each other if they're using the same NTP source. *edit Did some testing, and this works, more or less. power on/off happens within 25ms of a second tick. Might be nice as a setoption for folks that use group topics like you do. @barbudor thoughts on this? |
Beta Was this translation helpful? Give feedback.
-
I'll add command
|
Beta Was this translation helpful? Give feedback.
-
Here is my scenario.. a ton of can lights with Tasmota. Poor Wi-Fi penetration thru the metal boxes. I send a MQTT topic command to turn on, and… popcorn! Instead of a smooth “all on”, some respond right away while others take their time (typically within 1 sec, but noticeable).
I would like my Node Red/MQTT command to include a time, like “turn on light at 12:45:00:42” such that it is maybe 500 ms after button press. Then some switches would sit on the command for 250 ms, and some might only wait 10 ms.
is this possible?
Beta Was this translation helpful? Give feedback.
All reactions