Running multiple commands at once

evening, I'm trying to run a few commands at once which I've sort of have working however when i add in the fairly lights (which i want to flash 10 times then go off) it starts to ruin the completely, any pointers where I'm going wrong?

That's a lot of bulbs to control at once, and neither Z-Wave nor Zigbee like the network getting flooded with commands. There are a few different approaches you could take, but if these are Hue bulbs using any Hue Bridge integration (as opposed to Zigbee bulbs directly on the hub), the easiest way is probably create a group in the Hue app (room or zone), import that group into Hubitat, then send the commands to the group instead -- then you'll just get a command or two for all the devices instead of that many for each. This will greatly reduce the amount of traffic.

But your "capture and restore" thing might throw a small wrench in this plan -- you'll get one state for the whole group, no individual states for each (that's a scene, but I'm not aware of any Hue integration that can capture these, only restore, and not the built-on one for either). If that's working for you, no need to change; otherwise, you could space your "Restore" commands into two or three batches with a small delay in between. to see if that helps.

If these are direct Zigbee bulbs, the idea is similar: use a group. But you'll have to do that in Groups and Scenes or in Room Lighting, and make sure Zigbee group messaging is enabled (in the former case) or not explicitly disabled (in the latter case). There's no point in doing this if they are Hue Bridge bulbs--you'll have to do the above instead to use group broadcasting there.

I can't imagine these are Z-Wave unless you've terribly misnamed your devices, but for anyone reading who is wondering about that, Groups and Scenes with metering might be your only hope (spreading things out a bit). There's no support for multicast in the offiical SDK Hubitat is using last I saw.

1 Like

ended up adding more delays into the routine which just about got it there, thanks for all your reply's

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.