I would almost always prefer to make a dhcp reservation for devices in your router, to make sure they always get/have the same IP.
Do you have a mesh network with several nodes or are you really refering to routers or repeaters? Those are different devices and mesh nodes are (most of the time) superior over repeaters. Especially when the are mutual connected by a lan cable. Then it shouldn’t differ to which node a device is connected.
Routers are different device types (which could be part of a mesh network), but I don’t think you refer to those.
If you are really using repeaters; then see if you can’t replace them by mesh nodes, preferably connected by an lan cable.
You might want to consider a different wifi network for your smarthome devices. Of course routed to you other network vlans.
And alway connect by lan cable where possible.
Make sure your wifi channel(s) are not interfering with tour Zigbee channels, if you are using Zigbee.
See: here and here.