Jump to content

oberkc

Members
  • Posts

    5852
  • Joined

  • Last visited

Everything posted by oberkc

  1. I did not spend a lot of time looking at this, but I wonder if your problem is that, at sunset - 15 minutes, the "then" statement of your night lighting program causes your first program to immediately disable it for 24 hours. This results in your night lighting program not running the "then" path at 10:30?
  2. This works pretty well, so long as all your devices are lights. If you have others (garage door, for example), I wonder if this may result in undesired consequences. I created two scenes: interior-all and exterior-all. They include only lights that I want to respond to the "all off" button. This may offer another option for you if needed.
  3. There does seem to be a small-but-vocal group out there that regularly complain of this behaviour. In my mind, it has some benefits, and some downside, depending on your purposes. Regardless, it is like any other computer programming: you have to know the language, but once you do, it is completely predictable.
  4. My understanding is that, whether device or program, change in status will trigger an evaluation of the "if" condition and respond accordingly.
  5. This is standard "Boolean Logic". There is a discussion about this in the wiki: http://www.universal-devices.com/mwiki/index.php?title=ISY-99i/ISY-26_INSTEON:Scope,_Precedence_and_Execution_Order Knowing the priority between "and" and "or" and using parenthesis is an important part of programming beyond the basic level. I found it to be good reading and hope you find it as useful as did I.
  6. I do this. I have a KPL button set to non-toggle off, but make it a responder in a scene with another device who's status I want to know. It turns on and off, based on the status of the other device. I assume, based on LeeG's response, that mine is a newer KPL.
  7. This is, in my experience, the hardest part, and the part that pays the greatest dividends. Few put enough thought into understanding their requirements.
  8. It is good to hear you have your problem solved. That was a creative solution. I will make a note of it, in case I ever need it. I would still be curious why you can't add that one device to a scene. I can't help but suspect this problem could continue to show up in mysterious ways. On the other hand, I have learned to let sleeping dogs lie, and enjoy a functioning system.
  9. There are many variations on the motion sensor theme. I learned much from the wiki, which addresses your concern. I think there are other wiki examples, also. http://www.universal-devices.com/mwiki/index.php?title=ISY-99i/ISY-26_INSTEON:Using_X-10_Motion_Sensors Another issue that you may run into is what happens when sunrise passes during your wait period. You program will stop and the light will never shut off. I agree with apostolakisl, there are benefits with separating your programs. One of the problems with a simple solution to your twist is that is can often have circular logic. You could check that the light is not on as part of your condition, but the program would turn it on when motion is sensed, forcing evaluation of your condition (now false), stopping your program. I cannot improve upon the recommendations in the wiki, so I suggest checking out the part about "motion disable".
  10. I am not so sure that this is true. As you pointed out, each 'off' statement triggers an evaluation, at which point it will halt the program and start it at the beginning. This assumes that the motion sensor sends repeated off's, which I suspect it will (after the motion sensor time-out period). The only problem that I can see is if the motion sensor time-out is longer than the program wait period. Based on the original post, however, it sounds as if the motion sensor wait period is less than 5 seconds.
  11. That shouldn't matter, unless you happen to have FKey1 - B and FKey1 - G set to mutually exclusive. Is this possible?
  12. Sounds like you need a PC. Those darn Macs aren't much good for anything! Why do you suspect your logic is no good? Is your program not working? How about the following: if status KPL button is on and From Sunset To 10:00:00PM (same day) Then Set 'one of my lights' On Else Wait 30 minutes (Random) Set 'one of my lights' Off There are several ways to do this. The example above may suffer a shortcoming that you may or may not care about. If you turn the KPL button off with the light on, the program will cease and not turn it off automatically. Try things out. You may find that you have preferences in how you do things. Enjoy!
  13. "Phase Coupler"? Please say which one. If you are using certain X-10 couplers, this may be a problem. The only difference between manually linking the two or three devices and doing it through the ISY, is that the scene created includes the ISY. This may indicate communication problems between one or more devices and the PLM. Do you have your PLM plugged into an outlet or circuit with lots of other stuff, such as computers, power supplies, UPS, surge suppressor, etc... Another possibility....it sounds like you manually created some links already before creating a scene through the ISY. Is this true? If so, I suggest removing them first. Since you are talking only of three devices total, it may be easiest to remove the devices from the ISY, perform a factory reset on all, re-adding them to the ISY, then creating a scene through the ISY. I cannot help but wonder if the existing links are causing a problem.
  14. I don't have access to my ISY, but I recall an option to get caught up on restart. Do you see such an option under admin/configuration/system? I recall that this option must be selected for your schedules to catch up. I think this page is the one that I remember: http://www.universal-devices.com/mwiki/index.php?title=ISY-99i/ISY-26_INSTEON:Configuration_Tab
  15. It seems to me that the LV lighting systems are part of frequent speculation about causing interference when on. While I don't have a system like yours, I have some LED-based fixtures with power supplies. These required a filter between the switch and fixture to work properly (they turned on reliably, but not off). While you might get by programming these with the pro version, if you are experiencing communication issues, this will manifest itself in ways beyond programming, and it will not be good. Other than programming, is your insteon system working reliably?
  16. That is my guess, but 5 seconds seems to be a pretty short time. How long do you expect your PIR to stay off once motion is detected? If you are unsure, you can watch an event viewer to get a little more insight into the timing of everything. As a possible option, you might try changing 'status' to 'control'
  17. This sure goes beyond the trivial suggestion, given the construct of insteon. Short of additional logic within the ISY to force scene response consistent with local control, I am having trouble visualizing how one would do this. I suspect solutions would also force the user to input much more data (Naming of loads? Device wired to load?) Have you put any thought into how you would display it if you were king for the day?
  18. I must be missing the point here. I am failing to understand what problem you are trying to solve. N-way switches are easily handled in a "logical grouping". It is called a "scene", with all devices defined as controllers. In case you are interested, most three-way switches are "single pole" (they are typically "single pole, double throw"). According to wikipedia, this type of switch may also be known as "single pole changeover". By comparison, a standard switch is a "single pole, single throw". I also found it interesting that three-way switches are known as two-way switches in the UK and Europe (this makes more sense in my mind).
  19. ???? Not sure what you mean here. For your programming example, set your KPL button as non-toggle off. Then, write a program such as: if control KPL button is switched off then set 'kitchen' off set ' stair light" to 50% else There are many ways to do this. The above is one example that may give you some ideas.
  20. I don't see this as an ISY issue, but inherent with insteon. Scenes are part of the insteon design. ISY just makes them easier to create. I am not sure that this has ever caused much confusion in my head, but many have accused me of being a little strange in my ways of thinking.
  21. Ah! I missed the non-toggle off setting. Yes, this is likely why it is flashing, then. Though I had not known (or forgotten) about the elimination of the error flashing feature. But, still, I would expect a response from his program and I am still curious about the possibility that the ISY is not getting the command. Looking back, I am wondering also if it is possible that the action in the "then" response is changing and forcing a re-evaluation of the "if" conditions, thus halting further execution of the program. Perhaps this is the reason his program is not working as expected. Given my understanding of this possibility, perhaps removing the 'wait' statements would solve this problem.
  22. This concerns me. While I would prefer the proposed method of Michel, I would have also expected yours to work (or at least do something). The flashing LED makes is, I thought, an indication that the keypad is not seeing some response that it is expecting. Unless this button is in some other scene, then the only response it could be expecting would be from the PLM. I would first open the event viewer. With the viewer open, I would press the KPL button. Does the event viewer show receipt of the command. My concern is that it is not. If not, then it is time to find out why not, and I would do this regardless of the method you ultimately choose for your "ALL OFF" scene.
  23. This is my understanding. Status is shown at the admin panel. Programs (at least the example) "evaluate" upon status change. Whether they run is based on results of the evaluation.
  24. But now you have two programs, one of which is guaranteed to evaluate as "true". Since one of the two programs is always true at each evaluation, where is the savings in internal activity? I don't see where two programs (one always true) is is more effiecient than one program (always true or false). My gut reaction is to suspect the opposite. Now I have two programs undergoing evaulation rather than one.
  25. I use a similar logic to turn a keypad button on if any one (or more) lights are on. I don't use the wait statements. My program works fine and I expect yours will, also.
×
×
  • Create New...