Andi-Ina Posted April 28, 2019 Posted April 28, 2019 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?
markv58 Posted April 28, 2019 Posted April 28, 2019 Depends on a number of things. What version of ISY are you on and what type of switch? Insteon or Z-wave?
markv58 Posted April 28, 2019 Posted April 28, 2019 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
Andi-Ina Posted April 28, 2019 Author Posted April 28, 2019 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')
markv58 Posted April 28, 2019 Posted April 28, 2019 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.
markv58 Posted April 28, 2019 Posted April 28, 2019 You should consider updating to the 5.x branch, it's quite an improvement.
Andi-Ina Posted April 28, 2019 Author Posted April 28, 2019 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
lilyoyo1 Posted April 28, 2019 Posted April 28, 2019 Clear your java cache to make sure your firmware and UI match
oberkc Posted April 28, 2019 Posted April 28, 2019 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.
lilyoyo1 Posted April 28, 2019 Posted April 28, 2019 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.
Andi-Ina Posted April 28, 2019 Author Posted April 28, 2019 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.
larryllix Posted April 28, 2019 Posted April 28, 2019 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.
Andi-Ina Posted April 28, 2019 Author Posted April 28, 2019 How would I do that? I would not know how to do the "if"" lights are on" situation
lilyoyo1 Posted April 28, 2019 Posted April 28, 2019 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.
Andi-Ina Posted April 28, 2019 Author Posted April 28, 2019 Did a update now they are the same but no change program still not working
Andi-Ina Posted April 28, 2019 Author Posted April 28, 2019 updated to the newest version still nothing
Andi-Ina Posted April 28, 2019 Author Posted April 28, 2019 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
lilyoyo1 Posted April 28, 2019 Posted April 28, 2019 Create a scene, add switch 2 to the scene at 20% and then turn the scene on. See if that works
lilyoyo1 Posted April 28, 2019 Posted April 28, 2019 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.
Andi-Ina Posted April 28, 2019 Author Posted April 28, 2019 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
lilyoyo1 Posted April 28, 2019 Posted April 28, 2019 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.