logo elektroda
logo elektroda
X
logo elektroda

How to Set Temperature Alarm Delay on Tuya SNT Sensor for 1 Hour?

krzysztof182 1866 7
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20493922
    krzysztof182
    Level 2  
    A warm welcome to all forum members, for my problem despite searching I have not found a solution on the forum. We have installed a series of temperature sensors, controlled via the official Tuya Smart app. Everything is working fine, but a problem has arisen when reporting alarms: we want to receive an alarm when the temperature exceeds 5 deg C, but over a longer period of time, e.g. one hour. The classic alarms trigger all the time, every time the door is opened, the unit defrosts, etc. The sensor is remote from the door, but this does not solve the problem. Is it possible to program the Tuya Sensor so that it checks whether a certain temperature is exceeded for a certain period of time only then to alarm?
  • ADVERTISEMENT
  • #2 20494719
    freebsd
    Level 42  
    Try it like this:

    In "tap-to-run" set the following:
    - if
    "temperature sensor <5"
    - then
    "start something"

    Then add the scene (automation):
    - if
    -"temperature sensor <5"
    - then
    "wait 15 minutes"
    in "Select smart scenes" execute the scenario and here set the action defined above in "tap-to-run".
  • ADVERTISEMENT
  • #3 20495307
    krzysztof182
    Level 2  
    Thank you, but unfortunately this method does not work. Neither the delay nor the temperature condition can be set in "tap-to-run". I have tried before to set this to two different operations:

    operation 1:

    take temperature, if >5 then send notification


    operation 2:
    take temperature, if >5 then send, wait 1h and execute "operation 1"

    Unfortunately in this variant, both operations start at the same time, even if I set operation 1 as inactive.
  • #4 20655611
    digitaladam
    Level 12  
    Good afternoon. Has the above problem been solved? I need something very similar but with a door open sensor.

    If the door is open 3 minutes, then send a notification.
  • #5 21001612
    djandeshpoland
    Level 7  

    I will refresh the topic because I also have to deal with the basics of smart home.

    I would like to realize the scenario:
    1. [If] I open a window for more than 2 min (open sensor)
    2. [Then] The heating switches off (Wi-Fi controller)
    I thought that if I add
    a delay time of 2 min in the section [then] it would work, but this is not the direction.
    I should somehow add this condition "2 min" in section [If] but Tuya doesn't seem to offer this.
    Any ideas?
  • ADVERTISEMENT
  • #6 21041911
    digitaladam
    Level 12  
    Hi,

    I have this done in the form of three scenes, and it looks like this:
    1. If open window sensor, then execute a delay of 2 minutes and then turn off the heating.
    2. If window sensor closed, then turn off automation from step one.
    3. If window sensor closed, then perform a delay of 2 and e.g. 15 seconds and then turn on the automation from step one.

    Unfortunately, it doesn't work perfectly, because if someone opens the window two or more times in a row, it will still turn off the heating for you. Maybe a colleague will "optimise" the action code. Because Tuya is unfortunately terribly poor for these automations.

    Greetings[/i][/i][/i][/i][/i].
  • ADVERTISEMENT
  • #7 21042079
    djandeshpoland
    Level 7  
    Ooo, cool. Thanks.
    I'm just wondering why the heating would turn off when someone opens the window 2 or more times (open, close, open, close), when ultimately step 2 will make 1 not happen, and step 3 will make the "mechanism" be armed after 2min and 15 sec.
  • #8 21042270
    digitaladam
    Level 12  

    I guess this is because closing the window twice causes scene three to be executed twice. And this first closing will turn on scene one faster than we expect it to.

    Theoretically, it should also be the case that if you turn off scene one for a while, it resets and doesn't time out. But unfortunately this is again not the case. Such shortcomings in this system.

Topic summary

The discussion revolves around configuring a Tuya SNT temperature sensor to trigger an alarm only after a sustained temperature threshold is exceeded for a specified duration, specifically one hour. Users have shared various attempts to set up automation through the Tuya Smart app, including using "tap-to-run" and creating multiple scenes. However, challenges persist, such as the inability to set delays effectively and the simultaneous triggering of operations. Some users also seek similar functionalities for other sensors, like door open sensors, indicating a broader interest in delayed notifications and automation within the Tuya ecosystem.
Summary generated by the language model.
ADVERTISEMENT