I see many posts relating to people having issues with things failing during the setup of Home Assistant, Zigbee networks, various devices etc.
I can’t see anywhere that there has been a wider discussion about what people are doing to provide some form of fallback when some part of their Home Assistant controlled smart home fails. If I’ve missed it I’d be grateful if someone could point me in the right direction.
BACKGROUND
This came crashing home recently when our Zigbee coordinator just suddenly stopped working. While I was able to get it back up again with the help of the community, during the time it was down, most of our lights, in particular, just stopped working. Lights that were on stayed on and lights that were off could not be turned on. This situation is clearly unacceptable for those living in the house, especially if I’m not there to deal with it.
So I’d like to open a discussion about what people have done to implement some sort of fallback system to maintain control of their smart devices in the event of a failure of any kind.
For my part:
We have a mix of Wifi, BLE and Zigbee smart lighting so we’ll always have lights in some rooms. The Home Assistant server is part of the hard-wired network. As such, if our Wifi fails, we still have Zigbee lights and if Zigbee fails, we still have Wifi lights. Our lights throughout the house are motion or presence triggered. Some of those presence sensors are Wifi and some are Zigbee. We seldom use light switches, so most of our light switches (Moes Zigbee) simply trigger a Home Assistant automation when pressed. Many of our smart lights have a permanent live to them to maintain power and prevent them being turned off manually, either inadvertently or otherwise. So when the Zigbee network fails, we lose control over those lights. The Moes switches are basic relays with no ability to decouple the switch from the relay, hence why I’ve bypassed the relay and hard-wired a liive to the lights those switches control.
Query
Does anyone who is using switches that can be decoupled without a change to the wiring know if the decoupling mode can be changed if the Zigbee network fails? I’m thinking that if the switch is set to decouple mode for normal operation, is it possible to switch it to coupled mode again either remotely or physically using the switch in the event of a Zigbee network fail? I’m thinking of switches such as the Aqara H1 or Shelly relays for Wifi etc.
I’d bought a second Zigbee coordinator that I was planning on setting up to take the strain off the first one as I’m running 160 Zigbee devices inc lights, switches, motion sensors, door and window contacts, temp sensors, etc. I’m now thinking about setting it up as some sort of fallback network, perhaps on ZHA as I’m currently running Z2M. That might then mean installing additional fallback switching of those lights we need when the main Z2M network fails.
For my part continued:
In terms of Wifi, that’s less of an issue for us, but still something to consider.
Finally, we’re at the doomsday scenario of the Home Assistant server failing completely and having a backup server ready to spin up and take over. That’s a topic I have seen discussed here.
CONCLUSION
So I’d welcome everyone’s thoughts on this. Have you already dealt with it and implemented something, in which case please share. Are you thinking about it but haven’t had the time or resources to implement or are you mindful of it but won’t do anything to address it as, of course, Home Assistant is such a robust system with masses of community support ready to step in and help when we need it?
This might even form the basis of a community guide on the subject (unless of course there already is one and I’ve completely missed it ).
Thanks for your time and consideration.