Jump to content

Switch toggling continuously


mdepauw

Recommended Posts

Posted

Strange thing happened today on my insteon switches. Both of my light switches started to continuously turn on and off even with the program disabled that runs it. The only way I could resolve the issue was to delete the switch and then relink it to my ISY994i. Has anybody encountered this before? I wanted to make sure it was not program related so I deleted the program and then reenabled the device, and the switch started turning off and on repeatedly again. Only a complete deletion solved it...

Posted

Figured it out but still not fully understanding why. If I delete the else line in my program, it works the way it should, but I lose the functionality of the after sunrise part of my program. Here is my program: Any thoughts as to why it does not work the way I want it to?

 

If

From Sunset -10min

to Sunrise next day

and front patio is off

 

Then

Set Front Patio to ON

 

Else

Set Front Patio to OFF

Posted

Suggests the Program being looked at was not the Program that was cycling. A Program that checks the status of the switch and changes the switch status in the Then and Else can do that. The If checks status and runs the Then clause. The Then clause changes the status which invokes the Program again only running the Else clause this time. The Else clause changes the status which invokes the Program again running the Then clause. Back and forth. When the device was deleted it removed reference to the device from the looping Program.

 

Check the ISY Log for Program events around the time the switches were cycling.

.

Posted

That is what I described in the previous post. The Program triggers at Sunset-10 with the patio light Off so it runs the Then which turns the patio light On. The change in patio light Status triggers the Program with the If being False because the patio light is not Off which runs the Else and turns the patio light Off. Back and forth.

 

Simple solution, remove statement in the Else. Create another Program that triggers at the specific time of Sunrise and checks Status patio light On, Then turns patio light Off. Neither Program can cycle because neither has an Else that creates the On/Off cycle.

Posted

Thanks again, I was thinking I might have to write a second program but I wanted to do it all in one program. If there is a way to do it all in one program I would like to know.

 

Thanks!

Posted

Two Programs are required. Might come up with a Folder and Program combination that results in 'one' Program but the need to separate the If in the current Program is necessary. Whether the If is spread between a Folder and Program or two Programs, I don't seem much difference.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...