Hub not executing commands fast enough?

Hi all,

I have quite a number of devices. When I use verbal command (via Homekit) to get All Lights to turn on, the virtual switches / physical smart switches showed On status but some lights remain off.

I tried turning all lights on one by one (no issue) and manually observing the lights are indeed on. When I use verbal command to get All Lights to turn off, again, not all lights turn off although the switches show Off status in both Homekit and Hubitat dashboard.

Are there limitations to how fast C8-pro can execute commands? Any workarounds?

Would appreciate some advice here. Thank you.

I've had similar issues with groups where a set of lights belong to a group and you ask that group to turn on/off. I would look at the different methods for controlling the group at the bottom of this screen snapshot. If you want more details on what it does, refer to the documentation or google it.

Everyone's concept of "a lot" (of devices) can vary, but I think any automation setup is going to struggle somewhat when trying to action a lot of stuff simultaneously.

For zigbee, utilizing Zigbee Group Messaging can help, and Hubitat's device-level Command Retry option is another one to consider.

The only time we action a lot of stuff at once is our bedtime routine that shuts down most of the house when we go up to bed -- I set it up to shut down the house by sections, so not everything happens all at once. There's no need for that to go as one big bang, and it ensures no device misses its command.

3 Likes

I do exactly the same thing.
I did have a 'one big hit' rule but not all of the devices would turn off.
I'm pretty much all zigbee so I can only assume the zigbee network gets flooded and some commands to the devices 'get lost'.
Turning things off in stages has cured the problem for me.

2 Likes

Thank you, all. Let me try out the Groups and Scenes, as well as going by sections of the house.

I have found the command retry options to work well with Z-Wave devices.

1 Like

I tried using the Groups and Scenes to group a bunch of smart switches together. It works great to turn all on or all off.

However, upon all off, some of the physical smart switches remain at "on" state when they are in reality off. Is there a way to correctly reflect the true state of individual switches turn are turned off by the Group switch?

My settings:

This doesn’t sound like the underlying problem to me.

Sounds more like an issue with the device mesh network when you’re trying to send commands to many devices simultaneously.

What kind of smart switches and/or bulbs are you using?

2 Likes

hmm, how do I describe them... They are all Zigbee compatible? What other information is needed?

I was thinking manufacturer and model #s, ideally.

If they’re all zigbee, that adds to my suspicion this is an underlying mesh network issue, not a hub processing issue.

1 Like

Try turning on command retry for those devices, if they are turning off they are obviously getting the command but for some reason the reply is not making it back. Command retry would send another off command and hopefully it will respond the second time.

Also you may want to turn the optimization setting off, so that every device is sent the on/off commands regardless of their state (in case any do get out of sync).

I have a few multi gang switches that supposedly act as repeaters all around the house. It should help with the mesh, I presume.

image

This seemed to have resolved the issue with incorrect state!

Oh yes, I just tried it. It works with Zigbee too (I do not have any Z-wave devices yet)

In theory, yes. But from your screenshot you have Tuya devices.

When a ton of commands are going around at once (like all lights on/off), some of them are probably just choking and can’t keep up with the traffic the hub is sending as well as the return messages the hub is expecting.

It’s not a problem that’s unique to Tuya devices.

I think Chris summarized pretty well what you can do about the issue for Tuya or other Zigbee devices.

The hub has a couple tools to try to work around it, or you can set your automations such that you send commands to fewer devices simultaneously, i.e. in smaller groups.

1 Like

Could you point me to where I can read more about this quoted part?
Thank you.

Blockquote
I think Chris summarized pretty well what you can do about the issue for Tuya or other Zigbee devices.

Yes, look immediately below the text that I wrote, which you just quoted.

That block of text by @hydro311 that I quoted in my post is what I was referring to.

1 Like

I've noticed this with my C8 pro. All the same devices, same rules, etc. but my C7 seemed to be more reliable. Now it seems several times per week I have devices, both Zigbee & Z-wave failing to turn on/off. Z-wave failing more than Zigbee. I'm on the latest, but this was the case even back 3 or 4 major relases. Zip gateway BTW

ahhh got it. thank you

I have retry turned on for all my devices.
I haven't done this lately, but have filtered on 'retry' to kind of check on things:

edit: I missed my ZEN16's. So, hopefully everything's on 'retry' now.
edit2: 5 strikes and you're out.