https://dedanne.com/how-to-keep-your-smart-home-online-when-you-lose-power.html