Scene not activating correctly

Hello,

I have a scene (actually two) aptly named Sunrise and Sunset. Their purpose is to turn on the outside lights and the living room lights as sunset, and turn off the outside lights as sunrise.

When I activate sunset, only the living room lights become active.

Here's how everything is configured

Sunset
    Living room (group) (on, 100%)
        Living Room Lamp 1 (Group)
            Bulb 1 (Hue bridge)
            Bulb 2 (Hue bridge)
            Bulb 3 (Hue bridge)
            Bulb 4 (Hue bridge)
            Bulb 5 (Hue bridge)
        Living Room Lamp 2 (Group)
            Bulb 1 (Hue bridge)
            Bulb 2 (Hue bridge)
            Bulb 3 (Hue bridge)
            Bulb 4 (Hue bridge)
            Bulb 5 (Hue bridge)
    Outside (group) (on, 100%)
        Front Porch Bulb (Hue Bridge)
        Garage Bulb (Hue Bridge)
        Back Patio (group)
            Bulb 1 (Hue bridge)
            Bulb 2 (Hue bridge)

So when sunset is activated, the living room correctly turns on. But the outside bulbs do not. The back patio group shows as being on, but the individual bulbs are not on. The front porch and garage bulbs show as not being on.

I'm attaching a bunch of screenshots showing how everything is setup instead of describing it.







It looks like those are all Hue Bridge bulbs and you are sending commands to a lot of them at once. Hue used to recommend limiting these commands to 10 per second for bulbs and something like 1 per second for groups; I can no longer find that formally documented (by Philips/Hue themselves) anywhere, but it's still probably a good guideline. Hue is a pretty resilient system, and you can probably stretch those limits a bit, but I wouldn't go overboard, say, with 14 bulbs and possibly multiple commands to each at all the same time. :slight_smile:

Two things that might help: use groups on the Hue side whenever you can. Then, Hue will use Zigbee group broadcasting for you, which means one command from the Bridge to the bulbs/network (and also one from Hubitat to Hue), at least to whatever extent everything can be sent in the same command. A Hubitat group that contains Hue Bridge bulb uses (at least) one command per bulb in both of these directions, so that could eliminate a lot of traffic in both directions. A Hue scene with the bulbs in question would eliminate this even more (one group broadcast regardless of whether all bulbs have the same settings or not--this is usually stored on-device in a scene table and doesn't require separate commands from the Bridge to each device for each setting), but Hubitat's native integration does not support those. I'm aware of at least two currently-maintained community integrations that do.

The second thing that might help if you want to leave everything as-is is to enable the "metering" option in the Group app. This lets you specify a number of milliseconds between each command, which might help if my suspicion that "flooding" the network is the problem. You're more likely to notice the "popcorn effect" where everything doesn't change at the same time, but if it increases reliability, perhaps that is an acceptable tradeoff (and it's definitely an easy first step). Go as high as you want/need here, but maybe start with something reasonable like 100 (which could get you at that 10/second per bulb threshold).

2 Likes

Figured it out. It was insanely stupid. Clicking on "Update Scene" fixed it. Apparently I never did that when I added the Outside Lights.

1 Like