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.

Programming with ELK integration - Not working

Featured Replies

Posted

Hi,

 

I just purchased the ELK/ISY integration module and am trying to get a simple program to work. When I open the door to the garage and it is dark outside, I want the garage lights to turn on for 5 minutes and then turn off. The program is below. The problem is the lights don't turn off.

 

Any suggestions on what I am doing wrong?

 

If

Elk Zone 'Garage Door' is Violated

AND From sunset - 1 hour

To sunrise + 1 hour (next day)

 

Then

Set 'Inside Garage Lights' Fast On

Wait 5 minutes

Set 'Inside Garage Lights' Fast Off

 

Else

- No Actions

 

Thanks,

 

John

The problem is that EVERY time the door sensor changes from closed-to-open OR open-to-closed, the IF statement re-evaluates.

 

When you open the door, everything works as expected; the light turns on.

 

However, when you CLOSE the door, the IF re-evaluates to FALSE, interrupting the wait statement (and therefore never getting to the OFF command).

 

The best course of action is to make a second program that contains your current THEN commands - with NO IF statement.

 

Replace the currenT program's THEN clause with an "execute second program THEN".

 

You will then get the desired behavior.

 

 

Sent from my iPad using Tapatalk HD

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.