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.

Is it cold?

Featured Replies

Posted

Will this program properly trigger the state of the variable when the thermostat is between 50 and 64? Is this the best way to do it?

 

If
       From    12:00:01AM
       To      11:59:00PM (same day)
   And (
            Status  'Thermostats / Third Floor Thermostat' is 50° (Temperature )
         Or Status  'Thermostats / Third Floor Thermostat' is 51° (Temperature )
         Or Status  'Thermostats / Third Floor Thermostat' is 52° (Temperature )
         Or Status  'Thermostats / Third Floor Thermostat' is 53° (Temperature )
         Or Status  'Thermostats / Third Floor Thermostat' is 54° (Temperature )
         Or Status  'Thermostats / Third Floor Thermostat' is 55° (Temperature )
         Or Status  'Thermostats / Third Floor Thermostat' is 56° (Temperature )
         Or Status  'Thermostats / Third Floor Thermostat' is 57° (Temperature )
         Or Status  'Thermostats / Third Floor Thermostat' is 58° (Temperature )
         Or Status  'Thermostats / Third Floor Thermostat' is 59° (Temperature )
         Or Status  'Thermostats / Third Floor Thermostat' is 60° (Temperature )
         Or Status  'Thermostats / Third Floor Thermostat' is 61° (Temperature )
         Or Status  'Thermostats / Third Floor Thermostat' is 62° (Temperature )
         Or Status  'Thermostats / Third Floor Thermostat' is 63° (Temperature )
         Or Status  'Thermostats / Third Floor Thermostat' is 64° (Temperature )
       )
   And (
            $sMonth < 5
         Or $sMonth > 9
       )

Then
       $sCold.on.3rd.Floor  = 1

Else
       Wait  10 minutes 
       Run Program 'Cold.on.3rd.Floor' (If)

I expect that this program will set the "cold on third floor" variable, if the month variables are within range and temperature is between 50 and 64, inclusive.

 

At midnight, it will execute the "else" path every time, regardless of other conditions. Of coure, the wait period will hold any real action off until 1201.

The temperature range can be done with

 

If

Status '2441TH - Main' >= 50° (Temperature)

And Status '2441TH - Main' <= 64° (Temperature)

  • Author

I really missed the fact that we can now act on temp, when was that released? That makes things MUCH easier!

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.