We have some pluggable z-wave devices that are only used during the christmas seasons. If those devices are used to relay messages to other devices, the mesh will be broken when they are removed after Christmas.
Is there a way to configure devices so that they will never be used to relay messages? I want any "repair" of the mesh to exclude routes through the temporary devices.
Alternatively, is there a way to manually configure a mesh and keep it intact?
Just unplug them when the season is over and find out. In theory the other devices will soon discover they are dead and stop trying to contact or route through them. You can speed that up a little by running a full repair.
I have two z-wave plugs I use and I just unplug them and mark them as disabled in the device list just to prevent any automations or apps from trying to use the devices. (Disable basically shuts off the driver, does not disable in the mesh). This will be year 3 I think, plugged them back in, turned on my rules and I was back in business.
I also have 2 Zigbee plugs and a few Kasa Wifi plugs as well, I do the same procedure for all of them and never have issues.
We've decided just to leave the holiday-use-only devices in place when each holiday is over - the Zigbee mesh stays intact, and setting them all up again is one less thing to do every time.
I've added "(holiday)" to the names of these items, and there's a "HOLIDAY" virtual switch that conditions whether or not Rule Machine tries to use them for anything.
Also, I put childproof plug protectors in the outlets once the holiday lights are unplugged, so that no one tries to either use or remove them.
I've switched to Kasa WiFi devices for holiday use. They are cheap and do not effect any mesh if you pull them.
You just have to make sure that your router can handle all of the devices though. I consistently have in excess of 50 devices connected at any given time and had to change routers last year to accommodate them.
The buttons by each device repair just that device.
Not sure what you mean by optimization? Repair?
I think there is a daily healing that occurs but I am not totally sure how it works.
For individual devices, if they do not get a response back quick enough on the current route they will start re-routing and pick a new one. You can see the number of route changes since last reboot in the z-wave details.