sectechie Posted February 9, 2012 Posted February 9, 2012 Thanks in advance for taking a look at my question! I have this 8 Button KeypadLinc Dimmer next to my Bed and would like to be able to hit (1) Button that would turn all my outside lights if I hear something in the middle of the night. I've tried to program, but haven't had any success. I started with IF Button G is pushed between Sunset and Sunrise of the next day, turn X10 device A 1,2,3,4,5 on, but it doesn't work. Should I use Button G as the "ON" command and H as the "OFF" command? Can I just toggle Button G? Thanks in advance for your time. Ed
LeeG Posted February 9, 2012 Posted February 9, 2012 An ISY Program can be triggered with with button G On And button G not Off. The Then clause runs when the KeypadLinc button is pressed On and the Else clause runs when the KeypadLinc button is pressed Off. The Then clause turns the X10 devices On, the Else clause turns the X10 devices Off. If From Sunset To Sunrise (next day) And Control 'KeypadLinc 8 Button / KeypadLinc 8 Button - G' is switched On And Control 'KeypadLinc 8 Button / KeypadLinc 8 Button - G' is not switched Off Then Send X10 'I4/On (3)' Send X10 'I5/On (3)' Else Send X10 'I4/Off (11)' Send X10 'I5/Off (11)'
sectechie Posted February 9, 2012 Author Posted February 9, 2012 Thanks for the response Lee! So that someone in the house doesn't accidentally turn the outside lights on during the day I was going to add the "after sunset/before sunrise nxt day". Should I do this before or after your "If" suggestion? If Control 'KeypadLinc 8 Button / KeypadLinc 8 Button - G' is switched On And Control 'KeypadLinc 8 Button / KeypadLinc 8 Button - G' is not switched Off Thanks Again! Ed
LeeG Posted February 9, 2012 Posted February 9, 2012 I updated the example. Either before or after will work, I prefer before.
oberkc Posted February 11, 2012 Posted February 11, 2012 The Then clause runs when the KeypadLinc button is pressed On and the Else clause runs when the KeypadLinc button is pressed Off. Keep in mind, also, that the "else" clause will run when the keypadlinc button is pressed ON during the daylight period.
sectechie Posted February 11, 2012 Author Posted February 11, 2012 Lee, I tried programming several times, but still cannot get my X10 devices to work. The x10 devices work when I individually turn them on within my Mobilinc app on my phone. Any ideas why this wouldn't work? Thanks Ed
LeeG Posted February 11, 2012 Posted February 11, 2012 sectechie Put a Wait 2 seconds before issuing the first X10 command in both the Then and Else clause. I'm assuming the Mobilnc app is using the ISY (and therefore the ISY PLM) to issue the individual X10 commands. Does the Program Summary tab show the Program Last Run Time matching when the KeypadLinc On button is pressed? Also that it shows True if pressed during the Sunset/Sunrise window. Lee
Recommended Posts