logo elektroda
logo elektroda
X
logo elektroda

[Solved] Tuya Smart - How to program a cyclic action every 20 minutes at < 7°C?

TomKomar 519 3
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21246721
    TomKomar
    Level 3  
    How do I get a cyclical action in Tuya every 20 minutes?
    I would like it to :
    A. when the outside temp drops below 7 degrees
    B. a contactor (OXT relay) would cycle on for 40 seconds every 20 minutes
    C. when it jumps above 7 degrees - switch off B.
    Is it possible to program the SCENE in Tuya Smart in this way ?
  • ADVERTISEMENT
  • Helpful post
    #2 21246778
    banmar_2005
    Level 31  
    I think it is possible. You would have to buy a blu or wifi thermometer, a gate and your socket. Together you add them to the gate and then maybe there you can set up such scenes. I have a BLU thermometer in the room and when my temperature drops below 10C it turns on the central heating furnace.
    Maybe someone more familiar with the subject can advise you.
  • ADVERTISEMENT
  • #3 21246947
    TomKomar
    Level 3  
    Thermometer I have; gated. The relay too.
    I just don't know how to get that cyclicity in Tuya.
  • #4 21249557
    TomKomar
    Level 3  
    This is how I programmed it and it works:

    1. (when any condition is met)
    1a if relay is OFF
    1b if temp outside < 7

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

    3. preconditions: outside temp < 7

    It works like this:

    The script starts when the relay switches off or the temp drops below 7 deg C. Then: it waits 20 min, then switches the relay on for 40 sec, after which it starts again (because the relay is off), i.e.: it waits 20 min, then switches the relay on for 40 sec, etc. ...
    The script will run in a loop as long as the outside temp<7 deg C ( preconditions ).

    :-) .
ADVERTISEMENT