cslee Posted November 15, 2011 Posted November 15, 2011 I'm using the following code to use one icon dimmer to control another. I'm trying to accomplish this. If the 'Balcony' is Off and I press the Off button on that Switch, the it will turn off the 'Driveway' icon dimmer. Somehow, it is not working. Does it have to do with Icon dimmers. I know, I have it working with Icon Relay switches sucessfully. If Control 'Balcony' is switched Off and Status 'Balcony' is Off Then Set 'Driveway' Off Else - No Actions - Chin Lee
oberkc Posted November 15, 2011 Posted November 15, 2011 The program looks to me as if it should work. Have you checked to see whether the ISY is tracking the correct status and seeing the commands? While I don't believe it makes a difference, have you tried switching the order of the "status" and "control" conditions?
apostolakisl Posted November 15, 2011 Posted November 15, 2011 I have several programs like that using icon dimmers, so it isn't the icon dimmer. Just to be sure, check that the program is saved and is enabled. The ISY might not be getting good com with the switch so it may think the light status is not "off" when you are hitting the "off" side of the switch. Check the status of the light on the ISY console before hitting the "off" button. Then check to be sure the program ran by looking at the "last run time" in the program summary page and make sure the program ran.
cslee Posted November 15, 2011 Author Posted November 15, 2011 I've tried the swapping Control and Status lines. Yes, the program is enabled. ISY is able to control both the 'Balcony' and 'Driveway' device. I'll check the last run time later and post back. Another thing is, would it be better to use "is not switched On" rather than "is switched Off" with dimmers.
LeeG Posted November 16, 2011 Posted November 16, 2011 " would it be better to use "is not switched On"" The answer is NO if that is addressed to the IF Control test. If the dimmer is On but at some reduced On level rather than completely Off then the If Status would need to check for not On. When the Off paddle is pressed an Off command is sent regardless of the current state of the device so the If Control is switched Off is the correct test.
apostolakisl Posted November 16, 2011 Posted November 16, 2011 I've tried the swapping Control and Status lines.Yes, the program is enabled. ISY is able to control both the 'Balcony' and 'Driveway' device. I'll check the last run time later and post back. Another thing is, would it be better to use "is not switched On" rather than "is switched Off" with dimmers. Your program is written properly. I have multiple programs with an identical if section that work. There is something else wrong.
Recommended Posts