Hi, I have three hubs on my property. They are spread over three buildings largely because of distances between them making the zwave and zigbee signals too weak (I started with one hub but it just wasn't reliable enough when the signals where weak at the outer edge of the mesh).
I have contacted the hubs via the hub mesh network.
Should I run automations that are purely local to a hub within that hub only or is it better to try to centralize all automations to a single hub?
Basically I use the hub in my main house to create most of my scene automations as well as all the local to the main house automations. This hub controls the modes for all other hubs. A scene automation will set lights across all hubs.
On the hub in the garage I have a rm rule that turns on the lights in my outdoor parking area if there is movements. It also turns on the lights if a door is opened and keeps it on for as long there is either movements in the garage or a door stays open.
There are other examples but you get the point.
Is it best practice to do local processing of rules for local devices to a hub whenever possible or should I centralize all processes to one of the hubs? Eg is it better to work off a single view of all automations in a single hub and simplify backup of my automations?
I do not do any cancellations of delays across automations, i deliberately try to write all automations to be idempotent and without cross dependencies between automations.
What are the best practices for long term maintenability and reliability in a multi hub environment? Is my hunch that local processing done locally is a better choice in general?
I assume that I can use a virtual switch shared to the hub mesh if I need to communicate state across the hubs for automation. I have yet to identify a need for this in any of my automations so this is mostly academic at this stage.