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.

Controlling two lights with one switch

Featured Replies

And when the ISY locks up, all the programs are useless, which occurs more often than I like. A KPL and scenes are faster and more reliable.

 

B.S.G: So say we all . . .

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

<snippage>

 

Exactly and I agree.

 

In a Switchlinc and most Insteon devices

...status comes fromthe dimmer circuitry 

...switched ON/Off comes from the paddle. Nothing else can tap the paddle.

 

When you turn on the dimmer from any source the status changes. It sends no switched signals.

When you tap the paddle it sends a Control/switched. It has no status.

Edited by larryllix

  • Author

Thanks so much larryllix. Super helpful and I totally agree with you about the looks and operation of the KPL. For me, it's not wife friendly. 

 

On other switches in my house I have done similar things as you describe (double tap for additional behavior), though not to the same extent. But now that you mention it, I like the notion of tapping up for more lthink I'll incorporate it.

 

Also, yes, I think I agree with you on the last state tapping ON to turn both lights OFF is counter intuitive. I'll just remove that one.

 

And finally, thanks for pointing out the variable prefix stuff. So obvious, I didn't even consider it! :D

 

 

Oh, and after posting, I noticed Oberkc's comments as well. (I read through Teken's just to return the favor). I will read through that and try to grock it. Looks good.
 
And for what it's worth, my wife did turn on Switch1 tonight and sure enough, it went from state 0, to 1 to 2 with that single tap on. Note I had tried to duplicate this behavior several times before she came home, but just couldn't.

Edited by greazer

Programmers name variables based on the type. Since all variables in the ISY are numeric it's mostly irrelevant. Also programs are so small it's not difficult to keep order.

 

I'm Gary Funk and I approved this message.

  • Author

Programmers name variables based on the type. Since all variables in the ISY are numeric it's mostly irrelevant. Also programs are so small it's not difficult to keep order.

 

I'm Gary Funk and I approved this message.

 

But state variables and regular variables on the ISY have different behavior. I've frequently confused myself on this so simply prefixing state variables with "s." or whatever is an easy and obvious solution.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.