Group of lights not all turning off


#1

So various lights don’t come on at full brightness at night, if they are off at 9pm they are saved to matching, then turned on for 8 seconds, then off. But more often than not, one of them will remain on!
I turned off TCP, tried Async, I’m sure I’m missing something obvious…

Edit, correct piston would help!


#2

so I am rather confused at what it is you are trying to achieve .

Also; you say various lights, however you only have one light specified in this piston.


#3

I’ve had similar issues with lights not going off. I suspect the command was sent, but the bulb never got it or something. What I usually do is create a while loop that essentially works as error checking. I don’t know what happens if the bulb never goes off, but this seems to work…


#4

If I try to control too many devices at once, or a few devices happen to be a bit far from my hub (relying on mesh hops), or a DH is a bit sluggish, I may occasionally have to program this way:

IF X happens
Do Y
    Turn off bulbs
    Wait 2 seconds
    Turn off bulbs
END IF

I know, it’s a bit of a hack… but webCoRE is smart and will not send a “off” command to a device that is already off… So all is good.


#5

Here’s an idea. Set up a custom routine in ST to turn on and off several devices, then call that routine using Execute Routine.