Routines not always turning on or off all devices


#1

1) Give a description of the problem
This is more of a Smartthings issue, but I figure I might be able to use webcore to fix it.

This issue is most common with my Hue bulbs and lightstrips.

My goodnight routine turns off several lights and switches, locks, doors, etc. Often when I come down in the morning I find one light that did not turn off. its not always the same light, but it is usually a hue light. I’d say this happens about 25% of the time.

I have a few brute force ideas, like if goodnight runs, wait for a minute, and turn off a list of devices, but that’s what the goodnight routine was trying to do as well. so not sure if it would work, or not. Maybe turn of lights one at a time, with a brief pause?

Really just looking to see if others have similar issues and what they may have done to fix it.


#2

Is it just one particular hue bulb or if multiples, are they in the same general area? The reason I ask is I had this happen to me and it’s usually the ones closest my wifi access point that are affected.


#3

You know that’s a good point. My Hue hub is close to my router. And now that I’m thinking about this, I sometimes have issues turning on and off with my Echo as well, and my echo is using native Hue integration.

I’m going to move my Hue hub tonight away from the router.


#4

I was having an issue with my Hue bulbs turning off for a while too. They would actually turn off, but then they would turn themselves back on again. But after a couple of firmware updates that have happened to them this is now no longer an issue.


#5

I also have this issue with Hue bulbs. It may not be a WebCore thing but I found the solution in WebCore! I find when a command is sent to Hue bulbs by ST (via the bridge) I get about an 80% success rate. What I have done is moved these functions to WebCore and what I do is issue the color command to a group, wait 1 second, re-issue the color command, wait 1 second again and then issue the level command. I find it does not matter if I batch the bulbs. When shutting off, I issue the off command twice, with a 1 second wait.

I came to this conclusion by looking at the debug logging on my outdoor webcore routine and I kept seeing the error device not responding. I determined the bulbs just need more time in between commands.

So far so good on the front yard and I plan to implement this in the family area where there is a large number of hue bulbs.