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.

Door Sensor Program Problem

Featured Replies

Posted

Objective: When KPL G is pressed, wait 5 minutes to give me time to exit the door, then send an email notification any time thereafter that the door is opened or until KPL G is turned off.

 

If

Kitchen KPL G is 100%

Then

Wait 5 minutes

Run Deck Door Open (Disabled)

Else

No Action

 

Run Deck Door Open Program (Disabled):

If Door Sensor is On

Then

Send Notification

Else

No Action

 

The program runs only for one cycle and all further door openings do not result in a notification.

 

By the way, I still haven't been able to figure out how to post programs here.

Edited by smokegrub

Smokegrub,

I like your questions, I am learning a lot.  To post your program in the admin console right click on the program and copy to clipboard.  When you are typing your post click the code icon, looks like this "<>" and paste into the box.

I think your problem is that the deck door program is disabled, so it only runs the one time it is called by the first program.  I think you need to have the first program "then enable program 2" and when G is off disable program 2.  Maybe in the else for the first program "disable program 2".  We'll wait for one of the experts to give us the answer. 

Eric

Right click on Program name, select bottom entry "Copy to Clipboard".   Paste into post.

 

Need to see actual Program.  The If statement in first Program does not indicate whether Status or Control is being used.   The first Program is triggered once when KPL button G is pressed On.    Nothing else triggers Program so program activity happens only once.

 

Something like

 

If

Status Kitchen KPL G is 100%

And Status Door Sensor is On

Then

Wait 5 minutes

 

EDIT: actually above does not work because there will be a 5 minute delay the second time door is opened. 

Edited by LeeG

This is how I would do this:

If
   Kitchen KPL G is 100%

Then
   Wait 5 minutes
   Enable Program Back Deck Door Open

Else
   Disable Program Back Desk Door Open

Program: Deck Door Open

If 
   Control Door Sensor is Switched On

Then
   Send Notification

Else
   No Action

Hope this helps.

 

-Xathros

  • Author

Teken:

 

Your program is spot on! You also taught me something using the enabled/disabled feature.

 

Many thanks.

Edited by smokegrub

This what I get when "Copy to Clipboard" followed by a Paste

 

If
        Status  'ApplianceLinc' is Responding
 
Then
        Send X10 'G1/Off (11)'
 
Else
   - No Actions - (To add one, press 'Action')

Edited by LeeG

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.