How to setup failover/dev instance of HA on second RPi?

Hi All,

Writing complex (to me) automations, requires some testing and debugging, which I would like to do outside of the “live” HA environment that I currently have.

Additionally, I would like to have a fallback/failover in case my main HA/RPI instance dies.

Googling these topics, I found @skalavala setup on github: https://github.com/skalavala/smarthome which looks very interesting, but I cannot grasp the idea how this would be implemented in reality.

For example:

say I do have a second RPI with HA running for dev/test purposes. How would I develop an automation while the real sensors and actors are connected by the “live” instance?

And if I would like that dev instance to become the failover in case of RPI “live” meltdown, what would need to be setup/configured? I guess I could script that instance to update the configs from a github repo, but how about switching the zwave network over (I use aeotec zstick as primary controller) for example?

Is there some info or a guide available somewhere so I can dig deeper into this? It sounds really interesting, but I fail to understand the inner workings.

1 Like