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.

TriggerLinc (Control) with Wait command problem

Featured Replies

Posted

I've got a problem with a TriggerLinc (2421) v.34 on a door that definitely is responding by showing a status of On(Opened) and Off (Closed). The jumper is installed on the TriggerLinc, so only one node is active. I've watched it in Mobilinc change even when opening and closing fast. The problem is that a program doesn't exit from a Wait command to reevaluate the If condition in the way I thought it would. Here's my Furnace Room Opened program:

 

 

Furnace Room Opened
If
        Control 'Garage-Furnace Room / Furnace Room-Opened' is switched On
Then
        Set 'Garage-Furnace Room / Furnace Room Lights' On
Else
   - No Actions - (To add one, press 'Action')
Comment: When door is opened turn the lights on indefinitely.
 

 

...and the Furnace Room Closed program:

 

 

Furnace Room Closed
If
        Control 'Garage-Furnace Room / Furnace Room-Opened' is switched Off
Then
        Wait  15 minutes
        Set 'Garage-Furnace Room / Furnace Room Lights' Off
Else
   - No Actions - (To add one, press 'Action')
Comment: When door is closed, wait 15 minutes and then turn the lights off so someone in there will have time. If more time is needed, prop the door open
 
If I walk in there to spend more than 15 minutes and forget to prop the door open and it closes, the CLOSED program is triggered correctly and starts the wait time.  I usually realize my mistake in not propping the door and then go back and open it again to prop it open.  The problem is that the OPENED program is triggered correctly (although it changes nothing since the lights are already on), but it doesn't trigger a reevaluation of the CLOSED program condition and stop running the THEN clause in it. I've also tried combining the two programs in one but it didn't work either:
 
 
Furnace Room Lights
If
        Control 'Garage-Furnace Room / Furnace Room-Opened' is switched On
Then
        Set 'Garage-Furnace Room / Furnace Room Lights' On
Else
        Wait  15 minutes 
        Set 'Garage-Furnace Room / Furnace Room Lights' Off
 
 
What am I doing wrong?
 

Try this:

If
        Control 'Garage-Furnace Room / Furnace Room-Opened' is switched On
        And Control 'Garage-Furnace Room / Furnace Room-Opened' is not switched Off
Then

        Set 'Garage-Furnace Room / Furnace Room Lights' On
Else
        Wait  15 minutes 
        Set 'Garage-Furnace Room / Furnace Room Lights' Off

When using Control you need to specify each control signal that you want to trigger on.  If you used Status instead, a one liner would have worked.

 

-Xathros

Edited by Xathros

Anytime!  Happy to help.

 

-Xathros

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.