Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

oberkc

Members
  • Joined

  • Last visited

Everything posted by oberkc

  1. Quite contrary. I can tell you categorically that triggering a switch via program THEN clause CAN cause another program to trigger (and run). For example...a program such as: if time is sunset then turn on light will cause this program to trigger (if light was previously off): if status of light is on then do something I am like many of the others...my gut reaction is that you have a lot of unneeded complications and I am having trouble mustering the ambition to try to follow the threads. Still, from an intellectual (and potentially practical) excercise, assuming you don't mind lights making several transitions to their end state, I see no reason why your objective cannot be accomplished. I am ignoring the complications and possible error handling associated with insteon communication errors and treating this purely as an ISY programming excercise. I am also ignoring any timing issues or wait conditions. (I have never had much need for these, personally, but would address only if needed for a specific application.) To start, I would summarize your goal: Upon each manually-triggered ON command from switch1, you want it to progress through the following states (switch1/switch2): off/off (I will call this state 0) on/off (I will call this state 1) off/on (I will call this state 2) on/on (I will call this state 3, but no program is needed to track. State will be assumed condition if states 0,1, and 2 are all false) back to off/off (back to state 0) Additionally, if switch1 is manually-triggered OFF, you want switch1 and switch2 to turn off, regardless of original state. My initial inclination is to use a version of your state machine to track which state (0, 1, 2, or 3) your two lights are in. One could use variables here if it helps visualize things easier, but I tend to avoid variables except where I can think of no practical alternative. Make three programs, one each for states 0, 1, and 2. No program is needed for state 3, since it can be tracked based upon the other three states being all false. An exampl program for state 0: if status switch1 is off and status switch2 is off then nothing else nothing I would create three such programs, one for each of the first three states, planning to use program=true/false as a later program condition. One advantage to this method is that this will accurately keep track of status regardless of how arrived (for example, what happens when someone presses switch 2, even if accidentally?) I know that I want to trigger a lighting state change only upon ON commands from switch1. I also know that I want both lights to go off when switch1 sends an OFF command. I would deal with this as follows: if control switch1 is turned ON and control switch1 is not turned OFF then run next program (if path) else turn both lights off For the next program(s) I would create a series of programs checking the current state and taking the appropriate reaction. All of these programs should be disabled, so that they do not self trigger. Next program (disabled) if state0 program is true then turn on switch1 (switch2 is already off, by definition) else run nextA program (if path) nextA program if state1 program is true then turn off switch1 turn on switch2 else run nextB program (if path) nextB program: if state2 program is true then turn on switch1 (switch 2 is already on) else turn off switch1 (if I have gotten this far and states 0, 1, and 2 have all been false, then it must have been in state three, thus next step is turn off both lights) turn off switch2 Hopefully, this gives you some ideas to consider and possible things to look for in your own programs to get them to work. Given your line of questions thus far, it may only be necessary to disable some of your programs to get everything to work. As is often the case, I make no attempt to be efficient at programming or minimizing numbers of programs or lines of code. With a little extra thought this could be reduced significantly, I suspect.
  2. oberkc replied to Jeff_bull's topic in ISY994
    Reboot everything?
  3. Larrylix, In the original post, it was stated: "no programs, just two scenes". Assuming this is true, the only explanations that are coming to my mind are very unlikely. Device failure? Sensor wired to relay terminals accidentally? Failure of garage door safety sensors? Were this me, I would be breaking this down in pieces, performing experiments, looking for clues. Does the IOLinc LED light come on with the door opened or closed? Does this remain consistent after a power failure? Does the ISY always show correct status for sensor? If I temporarily disconnect the sensor then simulate a power failure, do I see the same result? If I temporarily disconnect the relay then simulate a power failure do I see the same result? Do any programs activate after a simulated power failure? After power failure, do any programs activate when I close the door? Perhaps there could be something discovered to point in a certain direction.
  4. I might differ from stusviews here. Status condition should trigger else clause. Check status of sensor from admin console to be sure ISY is seeing changed status. Is iokinc plugged into same outlet as opener?
  5. Be sure, also, to configure mini remote to 8 scene version. (It can be configured in 4 scene, which would require different buttons Robin versus off.)
  6. The door automatically opens if you close it, always?! Or just opens after power restored? I wonder if, upon power restoration, there is some form of a query and one of the device status changes, causing some chain-reaction from the scene. I cannot imagine what would cause your doors to open after you trigger them closed. Are your keypad buttons in non-toggle mode?
  7. Our posts crossed in the mail. I suspect that your original program would work if disabled.
  8. I tend to agree with MWareman. One thing that could make it work would be to disable the program, then trigger it externally when you want it to start. Disabling the program will avoid having the program trigger itself upon temperature changes.
  9. Larryllix, Even better. I like it.
  10. May take multiple programs. My quick, brute-force approach, without much thought: If time is sunset -30 minutes then run second program (if path) else nothing second program (disabled) if time is from 5:00 until 11:59 <<<pick time after latest sunset in your area then turn lights on else enable third program third program (disabled) if time is 5:00 then turn lights on disable third program
  11. Not that I remember. Replace, yes. Copy, don't think so. Maybe someone else knows different.
  12. 18 separate dimmers!!!??? Wow. Yes, that can take a little time to get all the details properly input.
  13. Only one scene is needed, should you choose to take my earlier advice.
  14. I cannot imagine why not. Sounds like a simple program... If Status can lights not 100% Then Turn off led light Else Turn on led light You would need to take the led our of the scene, also
  15. AnthemAVM, I am not sure whether you ever received feedback regarding your specific questuob about your program. In my mind, I would change it in two ways. First, disable the second program. Second, I would eliminate the second condition of the second program. I also assume your motion sensor is configured to send both ON and OFF commands
  16. Nickp, I really appreciate the fact that you are trying to figure out WHAT you want to do before figuring out HOW to do it. I think this is a critical step often missed, especially critical as things get more complicated. Some alternatives for your consideration: FASTON (double-tap) could turn on lights and disable motion program FASTOFF could turn off lights and enable motion program A program triggered each morning which re-enables the motion program, in case it was forgotten from the prior night's activities Use the beep function to confirm disabled motion programs or Tapping ON when the lights are already on could disable the motion program, or extend the timer perior Tapping OFF when the lights are already off could re-enable motion
  17. I would actually do this with a single scene. How many dimmers do you have? Is each of the 18 lights connected to a dimmer? Assuming I understand what you want to happen.... -first configure buttons A-D as non-toggle-ON. -create a single scene with Main and A-D buttons as controllers and the dimmer(s) as responder. -for each of the five controllers in the scene, set the dimmer ON levels (full, 50%, etc...) you want to associate to that particular controller button. - for each of the five controllers in the scene, set the ON level of the other four buttons at zero. Understand that, for the main button, one (either ON or OFF) will be lit always. WDoes it make sense for the OFF button to be lit when one of your A-D buttons is on, or does it make more sense for the ON button.to be lit? Give it a shot!
  18. My impressions, for what it is worth, is that there are very few controllers that control "everything". Furthermore, the ability to control some of those things will depend greatly on the amount of work you are willing and able to devote to this. It will also depend on access to some cloud services. I am mostly familiar with insteon, though I use some z-wave, some hue, sonos, and some LED strip lights I purchased from home depot (IR controlled). Since you want to control some insteon devices, this already limits your options to the ISY, hub, vera, homeseer, things like that. Smart things will not control insteon, to my knowledge. Smart things MAY talk to the insteon hub, but I seriously doubt that this option would have the conditional logic you appear to seek. Furthermore, your intentions with conditional logic tends to eliminate some of the typical controllers you might find at home depot or lowes or best buy. My best guess, without doing a lot of research, is that the ISY is likely one of the few that can talk to most of those devices, but for many the support is not native, and that there is not a small amount of programming and configuring and experimenting and other hardware gateways that will be needed. Unfortunately, it seems you have already purchased these devices, so the next point is moot (but I will say it anyhow). If I were starting fresh, I would start with the controller. I would pick a controller based upon its power with logical conditions and flexibility and the variety of devices with which it can speak, and with consideration of whether I am willing to rely on cloud services for core functionality. Once picked, I would then limit my specific devices to those that are compatible with my chosen controller. My choice, based on that approach, would be the ISY-994.
  19. I am not sure that variables offer any efficiencies here, and possibly even increasing the number of programs required. It seems to me that it will take multiple programs with, or without, variables. Without thinking too hard, I suspect you are stuck with DxC programs, where D = number of doors, and C = number of codes. One thing that I have not experimented much, however, is with is customized notifications. I understand that you can use variables to customize your notification where it is potentially possible to have a single program for each door, something like: if door is unlocked then send notifications Where the notification would be different, depending on which code is used to unlock the door. You would not have to create separate notifications for each code. Perhaps this gives you an idea where to look? Edit: Looking a little further, check out the wiki "substitution variables": http://wiki.universal-devices.com/index.php?title=ISY-994i_Series:EMail_and_Networking_Substitution_Variables&redirect=no Look into user variables. I suspect that if you could use a variable value associated for each lock code, then use that variable to customize a notification, rather than create multiple notifications.
  20. I agree. I don't think it is a program problem. For some reason, I expect the ISY is not seeing an accurate status of all your devices. When you find the KPL is not OFF when you expect, I would go into the admin console and see if the ISY thinks one of your trigger devices is ON when, in fact, it is OFF.
  21. oberkc replied to andrew77's topic in ISY994
    I have never seen a problem with that approach. Yes, maybe you are sending out an occasional unnecessary OFF command, but is there really any harm in this? In exchange, you get improved simplicity and reliability. I use this method every day, and it is well worth the trade, in my estimation. Still, I, too, am curious about your original programs. Were this me, I would be watching the kitchen dim program to make sure it is TRUE and FALSE when you expect. I missed where you described the devices that are in scene "kitchen dim", so I can only assume there could be something in there that may be triggering some of your programs unexpectedly.
  22. oberkc replied to hart2hart's topic in ISY994
    I do not see a way for your (or stusviews) program to execute the ELSE path. The program is triggered only by the OFF/LOCKED commands and, once triggered, will always evaluate TRUE. Perhaps I miss something here. I would expect you may need a couple of extra conditions in your program: If Control 'KPL Buttons / Becca KPL.B' is switched Off Or Control 'KPL Buttons / Michael KPL.B' is switched Off Or Control 'Front Door' is switched Key/Manually Locked ​ or Control 'KPL Buttons / Becca KPL.B' is not switched On Or Control 'KPL Buttons / Michael KPL.B' is not switched On Or Control 'Front Door' is not switched Key/Manually Unlocked Then Set 'Front Door' Lock Set Scene 'Front Door Deadbolt' Off Else Set 'Front Door' Unlock Set Scene 'Front Door Deadbolt' On
  23. oberkc replied to andrew77's topic in ISY994
    I note that both programs are triggered by, among other things, a common condition "control kitchen sink off". I do wonder if we have some loops going on here, but my best guess is that this is NOT a programming issue. Run your first program normally (tapping on necessary switches). Once run, execute the second program from the admin panel by "run>>then path". Do your lights turn off as expected, or do some stay on?
  24. Certainly, there have been questions in the past from folks wanting to do this, so it seems certain that some do use the remotelinc as a garage remote. Equally certain is that range will depend on local conditions such as distance to nearest dual-band insteon device and material (brick, walls, boxes, etc...) between remotelinc and nearest device. I do not believe that there is any need for the ISY to "recognize" the presence of a device. I think it simply waits for a signal and, when it is present, the ISY reacts.
  25. Different than what? Setting lights to come on at specific times are straightforward. Do you want them to come on at a certain time, or do you want to enable the motion trigger during certain times? If time is x then set device/scene on else nothing Are these the same or different lights than referenced in the first bullet? If you want different lights to come on with motion always, then I like to configure the motion sensor to send ON commands only, and use a scene with motion sensor as controller and lights as responders. To this, add a program: if control motion sensor is switched on then wait 3 minutes set scene off else nothing If you ever want to constrain operation of the motion sensor by other factors such as time, darkness, whatever, then you must use a program and NOT a scene. Program, above, would accomplish. Are these the same lights as triggered by motion, I assume? Are these the same lights as triggered by motion (include the switch as controller in the same scene)? Same lights as on the timer (create a scene with switch as controller and lights as responder)? suggesting same lights triggered by motion. If so, ammend program above as: if control motion sensor is switched on or control switch is switched on then wait 3 minutes set scene off else nothing would do so if controller in a scene Above suggestions would work whether gone for seconds or for days. Clearly, I am a little uncertain as to which lights are which, whether they are the same in all cases or different and my recommendations might change if I misunderstand what you are trying to accomplish. My suggestion is to start with a more limited set of requirements (such as coming on at certain time of day and working with switches) and see if you can get that working. If so, move to motion.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.