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.

Doorbell Program Problems "Continuous Loop"

Featured Replies

Posted

I'm having a problem with a doorbell program that is activated by an X10 Command and does two different events based on if the Foyer Light is On or Off. If the foyer light is off then, it turns on for 5 minutes or if on then blinks. The program is activated and continues to loop through the else statement blinking the light. Am I missing something?

 

 

If
       X10 'B1/On (3)' is Received
   And Status  'Foyer' is Off

Then
       Set Scene 'Foyer_S' On
       Wait  5 minutes 
       Set Scene 'Foyer_S' Off
       Send Notification to All
       Stop program 'Door_Bell_Light_Notify'

Else
       Set Scene 'Foyer_S' Off
       Wait  2 seconds
       Set Scene 'Foyer_S' On
       Send Notification to All
       Stop program 'Door_Bell_Light_Notify'

wjoel,

 

Apologies for a tardy reply.

 

You might need to break this into two programs since it seems that Foyer_S changes the status of Foyer.

 

With kind regards,

Michel

 

I'm having a problem with a doorbell program that is activated by an X10 Command and does two different events based on if the Foyer Light is On or Off. If the foyer light is off then, it turns on for 5 minutes or if on then blinks. The program is activated and continues to loop through the else statement blinking the light. Am I missing something?

 

 

If
       X10 'B1/On (3)' is Received
   And Status  'Foyer' is Off

Then
       Set Scene 'Foyer_S' On
       Wait  5 minutes 
       Set Scene 'Foyer_S' Off
       Send Notification to All
       Stop program 'Door_Bell_Light_Notify'

Else
       Set Scene 'Foyer_S' Off
       Wait  2 seconds
       Set Scene 'Foyer_S' On
       Send Notification to All
       Stop program 'Door_Bell_Light_Notify'

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.