Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Using Temp in program

Featured Replies

Posted

Recently purchased the climate module and trying to understand how to use temp in a program. Got this simple one to turn on a pond heater when the temp falls below freezing:

If
       Module 'Climate' Temperature <= 32 °F

Then
       Set Scene 'House / Garage / Scene.WaterFeature' On

Else
       Set Scene 'House / Garage / Scene.WaterFeature' Off


I see the temp in the climate module is less then 32deg, but nothing seems to happen. I guessed this was because there was no "event" that was testing the temp, so I added a schedule line that looks like this:

If
       From    12:00:00AM
       To      11:59:59PM (same day)
   And Module 'Climate' Temperature <= 32 °F
...

 

That seemed to make it work. So what's the problem? Just curious if there was a better way of doing this and if my assumptions were correct. Trying to understand this better :)

 

Bill

The program triggers when the temperature crosses the threshold.

 

My guess is, that it was already below 32 when your first created the program, so it never crossed 32 and thus never triggered.

 

By adding the from/to times, you created 2 more triggers which forced the temp evaluation.

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.