logo elektroda
logo elektroda
X
logo elektroda

Tuya - how do you program the repetition of one action repeatedly ?

skaktus 4800 5
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20284754
    skaktus
    Level 37  
    Welcome.

    Is there any easy way to program the cyclic switching on and off of an outlet using Tuya e.g. switching on every 20 minutes for 2 minutes or is it just left to enter for each successive hour consecutively switching on and off and so on around the clock?
  • ADVERTISEMENT
  • #2 20284773
    strazak26
    Level 13  
    via the schedule in the app - you select the first range and repeat every ....
  • ADVERTISEMENT
  • #3 20284818
    skaktus
    Level 37  
    Shrinks are in the app. I can in the scenes select at what time it turns on and off. Nowhere do I see an option to cycle on and off.
  • ADVERTISEMENT
  • #4 20284834
    strazak26
    Level 13  
    in Gosound is, I don't know which one you have
  • ADVERTISEMENT
  • #5 20284841
    skaktus
    Level 37  
    I have Gosund paired with Tuya. I will check the app for Gosund soon.

    Installed. Apart from a different icon, I don't see any differences with Tuya. Are you able to write a path how you do the cyclic on/off ?

    I poked around some more - there is indeed a schedule. However, this is no different from setting it manually. I was more concerned with a setting like - every 20 minutes turn the unit on for 2 minutes, after 2 minutes turn it off.Then give - repeat all day, 7 days and that's it. In the schedule, unfortunately, you have to set each hour separately. All in all, nothing, but every now and then I have to change the intervals between switching on, on different sockets different operating times and intervals. Doing this manually takes a lot of time. The scheduler simplifies things to a minimum, although this is not what &#128521 was intended;
  • #6 21249600
    TomKomar
    Level 3  
    Maybe so:

    Scene:

    1. (when any condition is met)

    if relay is OFF

    2a. delay the action 20 min
    2b. set the relay to ON
    2c. set the relay contdown to 2 min

    It will work like this:

    The script starts when the relay turns off. Then: it waits 20 min, then turns the relay on for 2 min, and after that it starts again (because the relay has turned off), i.e.: it waits 20 min, turns the relay on for 2 min, etc ....

    You can also give conditions in the preconditions until when it should work (e.g. when the outside temp <7 )

    :-)
ADVERTISEMENT