wjoel Posted December 13, 2007 Posted December 13, 2007 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' Quote
Michel Kohanim Posted December 14, 2007 Posted December 14, 2007 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' Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.