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.

Programs as variables

Featured Replies

Posted

I suppose that is what folks do, easy enough to create at least a Boolean variable, and set/reset it by running the then/else clauses.

 

When checking the status of the program (variable) in the condition group, I presume that it will act like the Insteon "status" check, vice an Insteon "control" check, IOW it would not trigger from a change in the program state but would simply allow you to branch based on its value.

 

Yes, no?

 

* Orest

My understanding is that, whether device or program, change in status will trigger an evaluation of the "if" condition and respond accordingly.

  • Author

Ah, good, that makes things easier.

 

* Orest

In my opinion, that makes things a whole lot harder. I consider this a flaw in the design of the ISY program environment.

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.

It's not just a matter of understanding it, it's a matter of how limiting it is. If you could specify trigger events separately from IF conditions, it would not only be easier to understand, you could do a lot more in fewer programs. For instance, ELSE branches could become useful. As it is now, they are rarely usable.

 

This is not just my opinion, mind you. I think anyone with real programming experience would agree. I spent years programming Scara robots and telecommunication switches. In any event driven programming environment, you need to be able to specify the events which will trigger the program.

Guest
This topic is now closed to further replies.

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.