Everything posted by oberkc
-
Programs Run Randomly
Xathros, You are not the only one who has posted that they use this construct. Based on my limited testing and subsequent theory, this looks to work for when the status and control conditions are the same and no change of state is initiated. Off-to-off. On-to-on. I am concerned that this onstruct starts to fall apart umder certain cases where status changes, such as If status xxx is off And control xxx is switched on When the switch xxx is switched from off to on, I believe this will return a quick TRUE and a subsequent false. I am also suspicious that this might act funny when a dimmer is used and conditions other than full on/off are introduced.
-
Programs Run Randomly
That is consistent with my current working theory: condions with status and control of the same device will always trigger twice when there is a change of status. First because of the control. Second because of the status change. They will always return FALSE the second time, regardless of final state and input condition. I don't think I will be using this construct any time soon. Until I better understand it.
-
Programs Run Randomly
Except that I tried two cases...off>on and on>on. In neither case did it trigger twice, even though there WAS a change in status.
-
Programs Run Randomly
OK...I did a little testing. I created a program. To ensure I am not missing the point, my understanding is that I am trying to better understand the reaction of a program when a "status" and "control" for the same device are in the same program, and what happens under various combinations of off->on, and on->on. The program: If Status 'Kitchen / SW KTS Kitchen Sink' is On And Control 'Kitchen / SW KTS Kitchen Sink' is switched On Then Set 'X-10 Controls / Battery Chargers (A1)' On Else Set 'X-10 Controls / Battery Chargers (A1)' Off When the 'Kitchen / SW KTS Kitchen Sink' is switched from off->on, the status was false. When the 'Kitchen / SW KTS Kitchen Sink' is switched from on-> on, the status went true. For those interested, the event log is below: 02 50 12.C9.76 00.00.01 CB 11 00 LTONRR (00) Mon 03/04/2013 10:02:07 PM : [std-Group ] 12.C9.76-->Group=1, Max Hops=3, Hops Left=2 Mon 03/04/2013 10:02:07 PM : [ 12 C9 76 1] DON 0 Mon 03/04/2013 10:02:07 PM : [iNST-SRX ] 02 50 12.C9.76 0D.FE.30 41 11 01 LTONRR (01) Mon 03/04/2013 10:02:07 PM : [std-Cleanup ] 12.C9.76-->ISY/PLM Group=1, Max Hops=1, Hops Left=0 Mon 03/04/2013 10:02:07 PM : [iNST-DUP ] Previous message ignored. Mon 03/04/2013 10:02:07 PM : [X10-RSP ] 02 63 66 00 06 Mon 03/04/2013 10:02:07 PM : [ E EF 55 1] ST 255 Mon 03/04/2013 10:02:07 PM : [ 12 C9 76 1] ST 255 Mon 03/04/2013 10:02:08 PM : [ 17 89 51 1] ST 255 Mon 03/04/2013 10:02:08 PM : [ X10] A1 Mon 03/04/2013 10:02:08 PM : [ X10] A1/Off (11) Mon 03/04/2013 10:02:08 PM : [ FF 01 01 1] DOF 0 Mon 03/04/2013 10:02:08 PM : [ FF 01 01 2] DOF 0 Mon 03/04/2013 10:02:08 PM : [ X10] A1 Mon 03/04/2013 10:02:08 PM : [ X10] A1/Off (11) Mon 03/04/2013 10:02:08 PM : [ FF 01 01 1] DOF 0 Mon 03/04/2013 10:02:08 PM : [ FF 01 01 2] DOF 0 Mon 03/04/2013 10:02:08 PM : [X10-RSP ] 02 63 63 80 06 Mon 03/04/2013 10:02:09 PM : [X10-RSP ] 02 63 66 00 06 Mon 03/04/2013 10:02:10 PM : [X10-RSP ] 02 63 63 80 06 Mon 03/04/2013 10:03:09 PM : [iNST-SRX ] 02 50 12.C9.76 00.00.01 CB 11 00 LTONRR (00) Mon 03/04/2013 10:03:09 PM : [std-Group ] 12.C9.76-->Group=1, Max Hops=3, Hops Left=2 Mon 03/04/2013 10:03:09 PM : [ 12 C9 76 1] DON 0 Mon 03/04/2013 10:03:09 PM : [iNST-SRX ] 02 50 12.C9.76 0D.FE.30 41 11 01 LTONRR (01) Mon 03/04/2013 10:03:09 PM : [std-Cleanup ] 12.C9.76-->ISY/PLM Group=1, Max Hops=1, Hops Left=0 Mon 03/04/2013 10:03:09 PM : [iNST-DUP ] Previous message ignored. Mon 03/04/2013 10:03:09 PM : [X10-RSP ] 02 63 66 00 06 Mon 03/04/2013 10:03:09 PM : [ X10] A1 Mon 03/04/2013 10:03:09 PM : [ X10] A1/On (3) Mon 03/04/2013 10:03:09 PM : [ FF 01 01 1] ST 255 Mon 03/04/2013 10:03:09 PM : [ FF 01 01 1] DON 255 Mon 03/04/2013 10:03:09 PM : [ FF 01 01 2] ST 255 Mon 03/04/2013 10:03:09 PM : [ FF 01 01 2] DON 255 Mon 03/04/2013 10:03:10 PM : [X10-RSP ] 02 63 62 80 06 I was unable to observe the program in action, due to the location of switch not being in proximity to the event viewer. I had performed another experiment, with another switch (keypad button) as trigger where I could observe the program in action. If Status 'Office / KP OFC Desk Lamp' is Off And Control 'Office / KP OFC Desk Lamp' is switched On Then Set 'X-10 Controls / Battery Chargers (A1)' On Else Set 'X-10 Controls / Battery Chargers (A1)' Off Interestingly, I found that this one, when a toggling a button from OFF->ON, first evaluated as TRUE, then quickly back to false. I can only assume that the control triggered an evaluation prior to a status change (TRUE), and the status change quickly triggered a second evaluation (FALSE). the log from this example: 02 50 0A.D7.5F 00.00.01 CB 11 00 LTONRR (00) Mon 03/04/2013 09:43:20 PM : [std-Group ] 0A.D7.5F-->Group=1, Max Hops=3, Hops Left=2 Mon 03/04/2013 09:43:20 PM : [ A D7 5F 1] DON 0 Mon 03/04/2013 09:43:20 PM : [iNST-SRX ] 02 50 0A.D7.5F 0D.FE.30 41 11 01 LTONRR (01) Mon 03/04/2013 09:43:20 PM : [std-Cleanup ] 0A.D7.5F-->ISY/PLM Group=1, Max Hops=1, Hops Left=0 Mon 03/04/2013 09:43:20 PM : [iNST-DUP ] Previous message ignored. Mon 03/04/2013 09:43:21 PM : [ A D7 5F 1] ST 255 Mon 03/04/2013 09:43:21 PM : [X10-RSP ] 02 63 66 00 06 Mon 03/04/2013 09:43:21 PM : [ X10] A1 Mon 03/04/2013 09:43:21 PM : [ X10] A1/On (3) Mon 03/04/2013 09:43:21 PM : [ FF 01 01 1] ST 255 Mon 03/04/2013 09:43:21 PM : [ FF 01 01 1] DON 255 Mon 03/04/2013 09:43:21 PM : [ FF 01 01 2] ST 255 Mon 03/04/2013 09:43:21 PM : [ FF 01 01 2] DON 255 Mon 03/04/2013 09:43:21 PM : [ X10] A1 Mon 03/04/2013 09:43:21 PM : [ X10] A1/Off (11) Mon 03/04/2013 09:43:21 PM : [ FF 01 01 1] ST 0 Mon 03/04/2013 09:43:21 PM : [ FF 01 01 1] DOF 0 Mon 03/04/2013 09:43:21 PM : [ FF 01 01 2] ST 0 Mon 03/04/2013 09:43:21 PM : [ FF 01 01 2] DOF 0 Mon 03/04/2013 09:43:22 PM : [X10-RSP ] 02 63 62 80 06 Mon 03/04/2013 09:43:23 PM : [X10-RSP ] 02 63 66 00 06 Mon 03/04/2013 09:43:24 PM : [X10-RSP ] 02 63 63 80 06 What remains a mystery (at least until I return home from a ski trip or someone else cares to explain) is why this second example appeared to trigger two evaluations and the first program never did this. It is getting late, and I leave early tomorrow. I hope this helps.
-
I need a better HVAC program
OK. That makes sense. I don't see anything in your programs affected by "away" condition, nor anything that would change your thermostat settings based upon being away. Given this, in what way is your existing program better than this: If On Mon, Tue, Wed, Thu, Fri time is 5:00:00AM And Module 'Climate' Temperature < 60 °F then... else...
-
I need a better HVAC program
Forgive me, but I don't have the climate module. What does the temperature variable represent? Outside temperature? Why is it important that this temperature be at or above 60 degrees for you to want the thermostat set points to change? What would happen if you take the temperature condition out of the program? Does the problem persist? Is it possible that you have other programs controlling thermostat set points? The only thing that I see could force this program to change thermostat set points past 0500 is if climate/temperature changes between 0500 and 0800, triggering a program evaluation. I don't believe that this program is reacting to local changes of the thermostat. I am curious why you use a from/to condition for time. What are you trying to achieve that could not be achieved simply by: time is 0500 and temperature >= 60
-
IOLinc Sensor always on
If there is still concern that there are some dynamic reason that the sensor is oscillating between ON and OFF, I think I would investigate by watching the LED on the IOLinc for any flashing, and/or check event viewer for signs of a stream of status indications. If not, then is it possible that the KPLA button is still configured in a non-toggle mode? (Non-toggle buttons will flash when pressed.)
-
Programs Run Randomly
LeeG, I will keep everyone advised of anything I find out. This one surely has my interest piqued. Because my mind is evil, I cannot help but take this type of scenerio to an extreme and wonder what would happen if one had two controls or two status conditions, or some other combination of conditions triggered by the same device.... if control deviceA is switched on and control deviceA is switched on then... else... or if status of switchA is on and status of switchA is on then... else.... Should the experiments so far be taken to suggest that there is some heierchy of conditions, such as control before status. I wonder where that might leave a variable whos value changes based on switchA. I also wonder if this hierchy is simply a natural outcome of timing, or whether it is hard-coded. But then, I realize that life is sometimes too short to spend a lot of time worrying about such things.
-
Programs Run Randomly
Thanks, LeeG and TJF1960. This is certainly NOT what I expected. However, knowing this creates some methods and tricks for programming that I had not considered. I am probably still curious enough about this that I might try another similar experiment to see if the order (status--->control versus control--->status) matters. I also assume that this is near 100% repeatable, and that there are no timing issues that can affect this. JWagner010, I guess this means that my concerns are demonstrated nonvalid. Perhaps it is communication problems (whatever they may be) that are the sole cause of your difficulties.
-
Programs Run Randomly
I hope, for jwagner010' sake, you are correct. I can tell you that, were each of these conditions in a separate program, they would both evaluate as true. Given this, I expect that both conditions in a single program would, therefore, be true. I have not, however, run an experiment to confirm. So your experience suggests that both conditions are not evaluated simultaneously. Do you suppose order of the conditions matters?
-
IOLinc Sensor always on
The sensor reports ON-OFF-ON, or the KPL? I find it hard to believe that the sensor, itself, reports that status. The behavior sounds as if you have your KPL in a non-toggle mode, where the KPL will flash a couple of times. How do you know that the sensor reports ON-OFF-ON? Do you, sometimes, have to press the KPL more than once in order to activate the door? In momentary A mode, it will responde to EITHER (but not both) ON or OFF commands. It sounds as if you have yours configured to respond to OFF. This would explain why the door would not respond to your KPL when configured in non-toggle ON mode. Does this sound plausible? This could depend on your program for sending text notifications. Is this program triggered off sensor status or KPL status, or something else? Have you actually experienced reciept of three text messages? This tends to suggest that your "momentary A" setting will respond only to OFF commands. I noted that LeeG suggested momentary B mode, but you chose different. Is there any particular reason you chose momentary A? I have found that the garage door case is a relatively complicated setup, where every setting and installation is related to the other, and attention to details matters. Location of sensor is non-trivial. It matters whether sensor is ON or OFF when door is closed. Momentary mode of the relay is related to mode of the KPL and of the sensor status relationship to door. My recommendation for garage doors matches the wiki: a) locate the sensor such that is is closed when the door is FULLY closed. Check the LED indicator of the IOLinc to be sure. wire the sensor such that it is ON when the door is open (rather, not closed) and off when fully closed. c) configure your relay to respond to ON commands, and: d) configure your KPL to be non-toggle ON e) create a scene with KPL as controller and relay as responder f) create a scene with sensor as controller and KPL as responder. If you follow these steps, pressing your KPL will cause the door to open or close. The KPL will flash a few times, but remain lit if the door is open or turn off if closed. Each of these steps is related to others. If you fail to perform any one step correctly, the door/KPL will not work properly. If you have questions about any of those steps, let us know.
-
Programs Run Randomly
I think this is where the confusion lies. In fact, the light is ON when the program triggers for evaluation, because turning the light on is the action triggering the evaluation. I believe this to be the root of your program problem in this example. Of course, communication problems could also be in play, here, as suggested by LeeG. To use an example in an attempt to explain, how would you expect the following program to react (true or false?) when toggling the switch from off-to-on? if status downstairs-kitchen is on then ... else ... I believe you will find that it evalates TRUE! Given this, how would you expect this program to evaluate when toggling the switch from off-to-on? if status downstairs-kitchen is on and control downstairs-kitchen is switced on then ... else ... I believe you will find that this evaluates TRUE, as well.
-
Programs Run Randomly
I would not be so certain. I attempted to offer an explanation in an earlier (if lengthy) post. Perhaps rereading this would help. In my mind, this program will trigger true going from off-to-on, assuming the variable is zero. From off-to-on, both control and status conditions would evaluate as true. If the variable is zero, then all three conditions are true, thus the entire program would be true.
-
Programs Run Randomly
( Status 'Downstairs - Kitchen' is 100% And Control 'Downstairs - Kitchen' is switched On ) And $SB_DN_Kitchen_OnOff is 0 Of those three conditions, which do you believe should prevent the execution of the THEN statement? (I am a little unclear about what causes the variable to change value.) BTW, the parentheses are no longer needed.
-
Programs Run Randomly
That was one of my original concerns. I wonder if breaking it down further may help both of us with understanding this. Consider this simple program: if status downstairs kitchen is on then .. else ... When the downstairs kitchen is turned on from off, this program will trigger and evaluate true, correct? Let's consider a second simple program as follows: if control downstairs kitchen is switched on then ... else ... This program would ALSO evaluate as true when the kitchen is turned on from off, correct? What happens when one combines these two conditions into a single program: if status downstairs kitchen is on and control downstairs kitchen is switched on then ... else ... Would this program also not evaluate as true (both conditions are true) when the downstairs kitchen is switched from off to on? Given this, is it easier to see how the "music - kitchen Down - On" program might evaluate as true?
-
function of "Group Devices" in Admin console?
to double check, I was looking at my admin console. I am trying to find "group devices". In retrospect, I don't see it and want to be sure we are talking about the same thing. Can you be more specific where you see this "group devices" in the admin console?
-
Programs Run Randomly
While I did not intend to offend, part of the reason I stated this was because extra lines that, after your follow-on evaluation, you admit that were unnecessary. They just struck me as extra lines without much functional purpose (which was true). Perhaps I should have been more tactful, but this still strikes me as overcomplicated. I missed that part in the original post. So, you know that these programs once worked, but now do not. I do not believe that programs, in general, quit working. I would focus on other possible explanations for why a program once worked but would stop. OK. I cannot help but wonder how you want these programs to react when the kitchen light is <99% but >1%. But, since the programs worked as you wanted at one point, I would focus more on the change and what affect it had on your programs. I would focus on whether your ISY is seeing correct status from the new devices, or even from the old devices. As a diagnostic tool, I would try a couple of things. I would temporarily disable all but one of the programs and determine if each is consistently reacting as you believe it should. If not, I would observe the input conditions (kitchen light, mostly) and see if the ISY is correctly seeing the status. If not, find out why. Once you have confirmed each program is working again, try re-enabling the remaining programs, one at a time. Are they still working? If not, I wonder if having multiple programs triggered from the same device (kitchen light) is causing some sort of interaction between them.
-
Programs Run Randomly
I must admit that I am not feeling overly ambitious about spending the time it would take me (I am sometimes a little slow) to try to sort through all this, but one thing that jumps out at me is that, within a given program, you have a lot of conditions based upon a single device (kitchen - downstairs). I also subscribe to the theory that computers are not generally susceptible to random occurrences. More likely, there is a program that is incorrect. I offer a couple of thoughts on the first program condition: Status 'Downstairs - Kitchen' is Off <---what is the purpose of this, given the next condition? And Status 'Downstairs - Kitchen' < 1% <---what is the purpose of this one? What about using "NOT ON"? And ( Control 'Downstairs - Kitchen' is switched Off Or Control 'Downstairs - Kitchen' is switched Fast Off ) ) Or ( Status 'Downstairs - Kitchen' is 100% And Status 'Downstairs - Kitchen' > 99% <--what is this purpose, given the condition above And Control 'Downstairs - Kitchen' is switched On ) Or Control 'Downstairs - Kitchen' is switched Fast On And $SB_DN_Kitchen_OnOff is 0 My gut reaction is that you have created a bit of an overly complicated mess. I also wonder, given your original requirements, whether your kitchen light is on a dimmer or relay. I am also a little suspicious that this condition, overall, is working in ways you are not expecting. Let's suppose that the kitchen light is at 50% and you turn it off. The status would change, forcing an evaluation of the first two conditions. You have also received a CONTROL OFF from that switch. I expect this program to evaluate TRUE. Is this what you want? I would start from scratch. My suspicion is that your set of conditions might be best met with an integer (non triggering) variable , where: variable = 1 means kitchen light is on variable - 0 means kitchen light is off Perhaps create a single program (kitchen assumed relay, ON/OFF only): if status downstairs kitchen is not off then set variable = 1 else set variable = 0 I would re-write the condition of the first program: if variable = 0 and ( control downstairs kitchen light is off or control downstairs kitchen light is fast off ) or variable = 1 and ( control downstairs kitchen light is switched on or control downstairs kitchen light is switched fast on ) then .... else ... Maybe a few of these thought can help stir the thought processes.
-
function of "Group Devices" in Admin console?
My understanding is the same as vyrolan...the folders in which one can organize devices is purely cosmetic. The reference you often see to "group" commands is used by those who get a bit deeper into the insteon signals. When those folks use "group", the rest of us should be thinking "scene". Part of the need to differentiate such terms is because the ISY introduces a command that is not available to those without a controller: a direct command. The terminology can sometimes cause confusion. But, I don't believe the organizational folders has any relationship to group commands. Be sure, however, that your "groups" are not, in fact, "scenes". Once created, the only way to identify the difference is the little icon. One looks like a file folder. The other looks like something else (circle around three smaller circles).
-
Proper Way to Show Status on KeypadLinc
I vaguely recall a while back when these types of requests were posted in the "product request" forums. Equally vague are my memories where I thought the response was that such a feature was "on the list". If mfranzel does not clarify further, let me add my input... a) first (or second...seventh) day of the month first (or second/third/fourth) wednesday (or thursday or monday) of the month. c) specific date every year If one wanted to get fancy, how about a specific day each year relative to fall and spring equinox, and summer/winter solstace (probably asking too much, huh?) or to be able to define holidays. I suspect that, with these variables as potential input conditions, we could create a combination of conditions to meet darn near any need.
-
Help with an IF/THEN
Without trying to define your requirements for you, or to assume your needs are more nuanced than indicated, I offer the following concepts as ideas from which you can elaborate and ponder further. Specific details would depend on what scenes you have already, and which devices you want to go off configure your KPL button as "non-toggle off" create a program such as: if control KPL button is turned off then turn off all applicable scenes turn off any other devices that were not included in the scenes turn on any applicable scenes turn on additional device that were not included in the scenes else nothing Are you currently doing this with scenes only, or are programs involved?
-
Program Schedules
Yes, there is some flexibility, I recall. Certain days of the week are possible. In the program setting, I think there is a check box: daily. If unchecked, it will give a daily selection. I believe a specific date is also possible. I do not believe one can choose a certain month or day of the month or day of the year, however.
-
Proper Way to Show Status on KeypadLinc
I don't know if this is wrong or right, but it is how I do it. If you want to check whether one, or more, lights within a set of light is on, then : if light 1 is on or light 2 is on or light 3 is on ... Seems like proper logic to me. Yes, it can be a bit tedious. Unfortunately, I do not believe there is anything in the insteon construct which is equivalent to "any of the lights in this scene are on". Therefore, one has to create this with programs and logic. Perhaps it would be more useful to post the one that does NOT work. It is often helpful, also, to further eleaborate on "won't work". Often times, there are unspoken-but-not-obvious expectations about how programs are supposed to behave. Computers have the nasty habits of doing EXACTLY what we tell them (nothing more, nothing less), rather than what we want. For the KPL buttons to go off, you would have to tell them to go off. How did you set up your "all lights" button to cause the office lights and hallway lights to go off? Is this button controller of a scene with the affected lights? Are you using a program? Did you include the KPL buttons in that scene or program?
-
New house, ISY and PLM from old house...
I understand that all -994 will have a slot where one can add the Z-wave module, when available.
-
Keypad showing status of lights
I understand that, to save power, battery-operated devices do no listen for commands and do not respond to scene commands from other linked devices. A remotelink cannot 'reflect' the status of another device. I expect what you desire to achieve is doable with a program, but you may have to depend on factors other than remotelinc status to get it done.