Everything posted by Goose66
-
"WAIT" command question.
Another issued caused by the lack of ability to seperate trigger events from IF conditions!
-
Can I turn off a KPL button in a program?
Did you have Command 'X' is switched On or Status 'X' is On? There's a difference in how the ISY will respond to the two. The On command can't be "too short" for the ISY to recognize.
-
Help with motion sensor program
Is occupancy mode enabled by software only? I think I have completely missed this feature. Where can I find more information?
-
Can I turn off a KPL button in a program?
There is a simpler way to do this. Set the KPL button to "Non-Toggle-On" and change your program to have the following IF statement: If Control 'Indoor / Foyer / KPL Foyer Right / Right Front Door KPL.A Gate' is switched On Every press of the KPL button will cycle the gate.
-
Help with motion sensor program
I'm not sure what Rand means by 1.1 motion detectors will not support "occupancy mode." The 1.1 motion detectors support the same functionality as the 2.0 detectors, except that the timeout is fixed at one minute and cannot be modified with a potentiometer. I use my 1.1 and 2.0 motion detectors to send ON commands only. This is set with a jumper on the motion detector. On the 2.0 motion detectors, I also set the timeout to 30 secs (full counter-clockwise on the POT 1). In this mode, the 1.1 and 2.0 motion detectors will send on commands every 1 minute or 30 seconds, respectively. The program posted by Oberkc is the simplest and will work in most cases. For example: If Control 'Outdoor / Driveway Motion-Sensor' is switched On Then Set Scene 'Outdoor / Driveway Floods on Motion' On Wait 8 minutes Set Scene 'Outdoor / Driveway Floods on Motion' Off Else - No Actions - If you don't want the program to run (or, more accurately, don't want the light to turn off after 8 minutes) if the light was already on, then you may try this: If Control 'Outdoor / Driveway Motion-Sensor' is switched On And Status 'Outdoor / Driveway Floods' is not On Then Set Scene 'Outdoor / Driveway Floods on Motion' On Wait 8 minutes Set Scene 'Outdoor / Driveway Floods on Motion' Off Else - No Actions - However, you will find this program has a problem: because turning the light on in the program changes the light' status, the program will re-enter and cancel the pending Wait. So the light never turns off. To fix this issue, you need multiple programs with flags (empty programs) and it gets quite complex, even more so if you want to cancel pending waits with subsequent switch usage. You can find examples of it on this site.
-
Motion Sensor/Lights program
How 'bout Program1: If Control 'EntryMotion-Sensor' is switched On And Status 'EntryLights' is Off And From Sunset To Sunrise (next day) Then Run Program 'Program2' (Then Branch) Else - Nothing - and Program2: If Control 'EntryLightsSwitch' is switched On And Control 'EntryLightsSwitch' is not switched On Then Set Scene 'FrontPorchControl' On Wait 3 mintues Set Scene 'FrontPorchControl' Off Else - Nothing -
-
Why is this scene being triggered?
No, I agree with your assesment. While the scene may not be referenced in another program, could another program be calling the THEN branch of this program? EDIT: Yes, this makes the most sense, because it appears for the log entries that it is not just the scene 'Daily Maintenance / Nightly All-Off' that is being triggered but the entire THEN branch of the 'Nightime All - Off' program that is running.
-
Why is this scene being triggered?
You are going to need more information Does it always occur 5 seconds after the program executed by the Garage motion detector? If so, we need to see the contents of that program.
-
All off
I understand your problem, and it is frustrating. The issue is that the keypad button is a controller in the scene (Scene A) that controls the light, and therefore the keypad button status light reflects the status of that scene, not the status of the light. My solution has been to add the keypad buttons as responders to the All Lights scene. A keypad button can be a controller in one scene (Scene A) and a responder in other scenes, such as the All Lights scene. With 4 keypads and presumeably six or seven buttons each, that is a lot of responders in one scene. It should not be a problem, though.
-
How to respond to controller (down-down-up-down) within 3sec
If you want the originally posted sequence, then you are going to have to have two or more status programs, e.g. PanicStage1, PanicStage2, etc. You will have to set each to true with sucessive commands. The other problem that you have, as pointed out by the first responder, is that the first down-down may be two sucessive offs, or a fast-off, depending on how quick they are done, so that adds at least one additional program. So, in pseudo-code, you have: Three status programs with no conditions or code: 'PanicStep1', 'PanicStep2', and 'PanicStep3' Program 'PanicSeqTimer' with the following: If - No Condidtions - Then Wait 5 seconds Run Program 'PanicStep1' (Else Path) Run Program 'PanicStep2' (Else Path) Run Program 'PanicStep3' (Else Path) Else - No Actions - Program 'PanicSeq1' with the following: If Control 'ToggleLinc' is switched off And Program 'PanicStep1' is false Then Run Program 'PanicStep1' (Then Path) Run Program 'PanicSeqTimer' (Then Path) Else - No Actions - Program 'PanicSeq2' with the following: If Control 'ToggleLinc' is switched off And Program 'PanicStep1' is true And Program 'PanicStep2' is false Then Run Program 'PanicStep2' (Then Path) Else - No Actions - Program 'PanicSeq2a' with the following: If Control 'ToggleLinc' is switched fast off And Program 'PanicStep1' is false Then Run Program 'PanicStep1' (Then Path) Run Program 'PanicStep2' (Then Path) Run Program 'PanicSeqTimer' (Then Path) Else - No Actions - Program 'PanicSeq3' with the following: If Control 'ToggleLinc' is switched on And Program 'PanicStep1' is true And Program 'PanicStep2' is true And Program 'PanicStep3' is false Then Run Program 'PanicStep3' (Then Path) Else - No Actions - And finally program 'PanicSeq4' with the following: If Control 'ToggleLinc' is switched off And Program 'PanicStep1' is true And Program 'PanicStep2' is true And Program 'PanicStep3' is true Then - Panic! - Else - No Actions - Not my cup of tea, but it should work. Note that this will detect any 2 downs followed by an up and then a down in the 5 seconds, regardless of other interspersed commands. For example, down, up, down, down, up, up, down in 5 seconds will trigger the panic. You would think the way to remedy this would be to put Else branches in the programs to clear all the status programs if something is out of sequence, but this would introduce a horrendous circular logic issue since you cannot seperate trigger events of a program from IF statement conditions in the ISY programming model.
-
Writie a rule to do one thing immediately then another later
Try this: If Control 'Guest Bath Vanity' is Switched OFF And Control 'Guest Bath Vanity' is not Switched ON Then Set 'Guest Bath Tub & Toilet' 1% Set 'Guest Bath Toe Kick' 80% Set 'Guest Bath Vanity' 20% Wait 2 hours Set 'Guest Bath Tub & Toilet' Off Set 'Guest Bath Toe Kick' Off Set 'Guest Bath Vanity' Off This should do exactly what you want
-
Two motion sensors for one light
Yes, control. That one was freestyle. Normally, if I am suggesting a solution, I will code it up and test it first, to make sure I am not crazy. But in this case, I was just brainstorming on Jack's idea.
-
Two motion sensors for one light
Ooh...I like the idea of Fast On/Fast Off enabling or disabling the moiton sensor programs. Expanding on the idea, there may be times when you turn the light on and don't want it to turn off 5 minutes after motion. For example, when I am working on a project in my garage, I turn the light on when I go into the garage, but my entry also triggers the motion sensor. If I sit still for 5 minutes, like tinkering with some part for example, then the light turns off. So you could use both Fast On and Fast Off to disable the program: If ( Command 'Garage Light' is switched Fast On Or Command 'Garage Light' is switched Fast Off ) And Command 'Garage Light' is not switched Off Then Disable Program 'GarageMotion' Else Enable Program 'GarageMotion' This program would allow the light to stay on or off regardless of motion in the room. Further, disabling the program should cancel any running instance of the program that may be in a Wait before a pending Off (for example if motion was detected before the switch was double tapped). A subsequent Off (or any other command) would turn the light off and re-enable the motion program. Very Nice!
-
Two motion sensors for one light
One of the things to think about in picking an approach is the quirks in the event-driven programming model of the ISY (yes, the inability to differentiate between trigger events and IF conditions being an imporant one). Your programs need to be clear so you can figure out what you were trying to do six months from now when something starts misbehaving. For me, clarity comes from simplicity; that is why I favor the single program approach with all the conditions for triggering the program and appropriate responses right there in one place. The politically correct thing would be to say each approach has merits, but my aversion to political correctness (and the anonymity of this forum) oblige me to point out that the approach provided above, while I understand how it works, is anything but clear or simple. Further, doesn't the multi-layering of the programs exacerbate the slower response of the ISY program approach to motion sensors over Insteon linking?
-
Two motion sensors for one light
Why would you need a seperate program to turn the light off? You want to turn it off 5 minutes after the last motion (the last "switched on"), right, regardless of what motion detector sent it? Rand's three programs allows the light to be turned off after the last Off is received from one of the motion detectors. This really doesn't make any sense, in that it would depend on the respective settings of the motion sensors and then add five minutes to it for the off. Simply jumper the motion sensors to send Ons only and set the pot for the timing all the way counter-clockwise. The motion sensors will send Ons every 30 seconds while motion is detected. With the single program suggested above, the light will turn On on first motion from either sensor, and then will turn off 5 minutes after last motion is detected by either detector.
-
Two motion sensors for one light
TechGuy, You are right. This seems most practical to implement as a single program. The second of your programs is the way I would implement it, and should work just fine, except for one catch: If the program is running, and sunrise occurs, then it will stop running, and you may miss the off. In other words, if motion triggers the light less than 5 minutes before sunrise, then the program will turn the light on. However, because you cannot differentiate between IF conditions and triggering events in the ISY programming model (a serious limitation, IMO), the program will be triggered again at sunrise, cancelling the current running program (which is waiting for 5 minutes to send the off) and executing the ELSE portion of your program. So you can do the three programs and folder conditions that oberk suggested, or simply have one additional program that cleans up your outdoor lighting at sunrise. Because this situation arises a lot in my outdoor lighting programs, I have one program that turns off all outside lighting at sunrise to account for this "boundary condition."
-
EZRAIN/EZFLORA
The SHN Utility Suite and SmartHome drivers run on Windows 7 just fine. However, I have a 2414 PLC and not a 2412U PLM. I do not have to set any COM port address, it justs finds the PLC and connects.
-
Toggle Program
Because of the programming architecture of the ISY, you will find that using ELSE is rarely the right solution. This is something I have complained about for a long time (trigger conditions vs. IF conditions), but there doesn't appear to be any improvements coming anytime soon.
-
motion sensor program timing
You can have multiple programs tied to the same events. So to accomplish what you desire, I suggest writing two additional programs and tying them to the events, not the existing programs. The first should just be a state program "DrivewayMotionState" inidicating that the motion sensor in your driveway (#1) was tripped: If Control 'Outdoor / Driveway Motion' is switched On Then Wait 30 seconds Run Program 'DrivewayMotionState' (Else Branch) Else - Nothing - This program will become true when motion in the driveway is detected and stay true for 30 seconds after the last motion. Otherwise, it will be false. Your second program "HallLightonMotion" will use the first program and the second motion sensor (#2) to trigger the hall light: If Control 'Outdoor / Front Door' is switched On And Program 'DrivewayMotionState' is True Then Set 'Main Floor / Hall Light' On Wait 3 mintues Set 'Main Floor / Hall Light' Off Else - Nothing - Note that you may want to add an additional trigger to the timer program to cancel the pending Off for the hall light if the corresponding switch is touched. For instance, if you walk in the front door from the driveway (the hall light will be on) and then immediately turn the hall light off, or switch it on (even if it is already on), then you may want to cancel the pending Off command in the HallLightonMotion program after the Wait expires. For example: If Control 'Outdoor / Front Door' is switched On And Program 'DrivewayMotionState' is True Or ( Control 'HallLightSwitch' is switched On And Control 'HallLightSwitch' is not switched On ) Then Set 'Main Floor / Hall Light' On Wait 3 mintues Set 'Main Floor / Hall Light' Off Else - Nothing -
-
Help with 2420M motion sensor, settings and program
That is good news. But how did UD do it? Was the ability already in the 2420M?
-
Help with 2420M motion sensor, settings and program
This is definitely a problem with the 2420 MS with jumper 4 installed. When jumper 4 not installed, when the MS detects motion, it sends an ON and starts a countdown timer internally. The duration of the timer is determined by the leftmost POT. For example, if it is set to fully counter-clockwise, then the MS will send an ON and wait at least 30 seconds before sending an OFF. If it is set in the middle, the duration is about 4 minutes. Any motion detected during the countdown timer resets the timer, although no additional ON is sent. Installing jumper 4 means that no OFF is sent, however, the MS will not send any new ON command until the countdown timer expires, even if motion is detected (and the light flashes). So, that is why it is important to turn POT 1 fully counter-clockwise. The MS will send an ON on motion, then send subsequent ONs only after 30 seconds of no motion and then motion. If your POT 1 is set higher than this, then you may not be receiving subsequent ONs within the 2 minute period in order to reset your timer.
-
Help with 2420M motion sensor, settings and program
It may be me, but I prefer to let the ISY respond to motion. This adds a slight delay (approx. 1 second), but it is tolerable. Plus this creates greater flexibility in responding to motion, such as if the light is on or a scene is set, leave it alone. Turn pot 1 all the way counter-clockwise and install jumper 4. This way you will get On commands from the MS every 30 seconds or so when there is motion. Then write a program to perform occupancy sensing function, such as: If From Sunset To Sunrise (next day) And Status 'Outdoor / Garage Keypad-Pizza Delivery' is not On And Control 'Outdoor / Driveway Motion-Sensor' is switched On Then Set Scene 'Outdoor / Driveway Floods on Motion' On Wait 8 minutes Set Scene 'Outdoor / Driveway Floods on Motion' Off Else - No Actions - (To add one, press 'Action') Each On sent by the MS resets the timer, so the light will stay on as long as there is motion. Also, if any intervening scenes or switches are set, such as 'Pizza Delivery' above, the timer is also canceled, so that the light turned on in the scene won't be turned off by an exisitng countdown timer.
-
Program as "flag" or "Variable"
It depends on the way you use your motion sensor (MS), but if you use it in the standard ISY way, your MS just sends ON commands (no OFFs) and your program turns the light on, waits for a set period of time, and then turns the light off. If this is the case, then checking the status of the light won't work because once the MS turns on the light, subsequent ON commands from the MS won't reset the timer, so you get no "occupancy" function from your MS. What you need to do is "turn on" your flag program (i.e. run the "Then" branch) in reaction to ON commands from the same controllers(s) that activate the scene. One way to do this is write a program 'Scene Activated' with all of the controllers for your scene in the if statement: If ( Control 'Main Floor / Foyer Light' is switched On And Control 'Main Floor / Foyer Light' is not switched Off ) Or ( Control 'Main Floor / Foyer Remote' is switched On And Control 'Main Floor / Foyer Remote' is not switched Off ) Then - No Actions - (To add one, press 'Action') Else - No Actions - (To add one, press 'Action') This program should track the status of the scene controlled by your controllers (e.g. a scene with two controllers 'Foyer Light' and 'Foyer Remote' in this case). Note this only works for ON commands to the scene. FAST ON, FADE UP, and BRIGHT will activate the scene accordingly but not put your flag program in the on state. Your MS can then be tied to a program like this: If From Sunset To Sunrise (next day) And Program 'Scene Activated' is False And Control 'Main Floor / Foyer Motion-Sensor' is switched On Then Set 'Main Floor / Foyer Light' On Wait 8 minutes Set 'Main Floor / Foyer Light' Off Else - No Actions - (To add one, press 'Action') Good Luck
-
Double Press perform action
Well, that's exactly my point. If we could specify trigger conditions in the ISY, i.e. the program should run when KPL-B is switched on but NOT when the status of NightimeWaitFlag changes (as I described above), then that problem wouldn't exist and the single program with the ELSE branch could accomplish what was needed. I think we would find that adding this ability to the ISY would dramatically cut down on the number of programs required as well as make programming much simpler and easier to understand.
-
Double Press perform action
I think everyone can agree that your solution (three programs and folder conditions) is more complex than the first example provided that could be implemented if one could specify the trigger conditions. If Control 'KPL-B' is switched On (trigger) And Program 'NightimeWaitFlag' is False Then Wait 1 second Run Program 'NightimeWaitFlag' (Then Path) Wait 5 seconds Run Program 'NightimeWaitFlag' (Else Path) Else Set Scene 'NightTimeKitchen' On Set Scene 'NightTimeBedroom' On Run Program 'NightimeWaitFlag' (Else Path)