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.

Make a Program

Featured Replies

Posted

I tried to make a simple program: 

If control "light swich1" is switched on

Than set "light switch2" to 20%

Else no actions

 

If I fisicaly go to the light swich and turn it on nothing happens to the other switch 

Do I do the settings wrong?

Depends on a number of things. What version of ISY are you on and what type of switch? Insteon or Z-wave?

  • Author

It's a isy 994i/ir 

I attached a picture

15564166558696805221188936620656.jpg

  • Author

All devices are insteon

If you manually flip switch1 on it should show in the admin console as On and execute the Then statement. Right click on the program, select Copy to Clipboard and post please

  • Author

test - [ID 0003][Parent 0004][Run At Startup]

If
        Control 'Light 1' is switched On
 
Then
        Set 'Light 2' 20%
 
Else
   - No Actions - (To add one, press 'Action')
 

Interesting, I just tested that and it works as it should. Try changing the If statement to:

Status 'Light 1' is not Off

See if that works.

 

You should consider updating to the 5.x branch, it's quite an improvement.

 

  • Author

I tried that as well and no difference.

I will do an update next

I have a second system that is brand new and I have similar problem. It shows no memory and is not working either

Clear your java cache to make sure your firmware and UI match

  • Author

Ok thanks will do

I don't see anything wrong with your original program.  "control" or "status" have different triggering events, so this could matter, depending on your desired outcome.

I don't believe that this is a program problem, or a software problem, though I notice your UI version is different than your firmware version.  This should be corrected immediately.  Strange things happen when these don't match.

Once you have firmware and UI on the same versions, let us know if you continue to have problems.  There are some things to check to help troubleshoot.

 

Why are you doing this with a program? It's easier to create a scene, add switch A as a controller and switch B as a responder. Set switch B brightness to 20% in the scene.

  • Author

Thanks for the help so far everyone

I will try to update the isy this morning

 

The reason I want to make a program is I like to touch one button and 3 switches need to turn of 4 stitches need to go to 20% (if they are on) and 1 switch needs to turn on to 100%.

And once the scene is over I would like everything to go to its original position  if it's possible.

 

38 minutes ago, Andi-Ina said:

Thanks for the help so far everyone

I will try to update the isy this morning

 

The reason I want to make a program is I like to touch one button and 3 switches need to turn of 4 stitches need to go to 20% (if they are on) and 1 switch needs to turn on to 100%.

And once the scene is over I would like everything to go to its original position  if it's possible.

 

Scenes can do all that, setting can vary for each device, but they will also control the off and dimming for the other switches also.

Unless I need the response speed or the easy control of a huge quantity of devices, I avoid use of scenes.

  • Author

How would I do that?

I would not know how to do the "if"" lights are on" situation

35 minutes ago, Andi-Ina said:

How would I do that?

I would not know how to do the "if"" lights are on" situation

A scene will always take the lights to where it's supposed to go regardless of their current setting. For example. I don't want my chandeliers on with my recessed lights. Turning either on will always turn the other off regardless of how bright or dim they are. For the 1 in a million chance I want all on a double tap on either will bring both on. 

  • Author

Did a update now they are the same but no change program still not working

 

15564674076012127254900189887361.jpg

  • Author

updated to the newest version still nothing

Capture.JPG

  • Author

test - [ID 0003][Parent 0004]

If
        'Light 1' is switched On
 
Then
        Set 'Light 2' On 20%
 
Else
   - No Actions - (To add one, press 'Action')

 

this is how i did it and nothing happens do i do something wrong? once i get a simple program to work i can figure out the lite more complex one but

i got 2 isy and both do the same to me so obviously i'm doing something wrong here
 

Capture2.JPG

Capture3.JPG

Create a scene, add switch 2 to the scene at 20% and then turn the scene on. See if that works

  • Author

Yes it does

I'd just leave it like that then. Add the other devices you want to control to that scene and simply have the program turn that scene on.

  • Author

The reason I want to make a program is I like to touch one button and 3 switches need to turn of 4 stitches need to go to 20% (if they are on if they are off leave them off) and 1 switch needs to turn on to 100%.

Someone mentioned to do that in a scene but I don't think it's possible

24 minutes ago, Andi-Ina said:

The reason I want to make a program is I like to touch one button and 3 switches need to turn of 4 stitches need to go to 20% (if they are on if they are off leave them off) and 1 switch needs to turn on to 100%.

Someone mentioned to do that in a scene but I don't think it's possible

That is possible. Simply add them all to a scene with what you want them to do. 

For example my family room has multiple scenes that girl each light in there. I have chandeliers, lamps, recessed lights, lights behind the TV, and soffet lights. My relax scene will turn certain lights at a dim level and others off, the movie scene will turn certain lights off at a specific ramp rate while turning on my lights behind the TV. Hitting my goodnight button immediately turns off certain.lights while turning others on so you can see (a program shuts it down after a few minutes). This happens with all lights regardless of status. 

Archived

This topic is now archived and is 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.