To setup a stable smart home system that will run without maintenance for year after year might be tricky, but here are few points that I found useful. I am renting out my flat part time of the year so it needs to be stable! Also by law in Norway you need to have a system that can run 5 years after you sell the flat or you might be obliged to come and fix it…
Moving to my.openhab.org and required java updates made me for a while consider other systems, but I believe the core of OH now should be stable and that new features will not influence old features.
My router crashed the other day, so here is what I have learned by it.(Or what I am glad I already had set up)
-
Heating and lights should be connected to RPI directly! You dont want your mum to freeze and sit in the dark because something fails and you are not available.
-
The RPI can crash, so make sure you have pushbutton to reset it, either power your RPI through the GPIO or somehow solder the switch on to the usb cable(In theory you could unplug either the usb from RPI or from the outlet, but my mum finds it easier to just press a button instead of opening the fusebox and the locate the RPI)
-
Always have a spare RPI with a clone of the system so that it easily can be changed if it breaks(like lighting, sd card malfunction etc can happen), this way with proper instruction some can get the system up running again. Maybe there is some possibility to run two systems in parallel?
-
For heating connect them NC on the relay, because if all above fails the heating will be constantly on instead of off
For lights the NC could also be used, but I have not done this so far. My RGB lights are running on a USB dongle instead of ethernet(HUE bridge might crash so consider wiring this togeheter with the rpi power supply). In addition I keep an extra lamp around as well as candle lights:) -
I only have a few switches and these are hardwired to the RPI, this means if the router, tablet,alexa, phone crashes I can not set fancy scenes, but I have lights and heating!
-
Keep a list of separate apps that can control devices in case all above fails…
-
Make sure no automatic updates happens! We dont want our system to crash because of software changes.
I also have physically pushbutton to reset services such as olad, python and so on, to avoid needing to reset the whole rpi when a service go down.
For automatic hvac control, roller curtain, door opening etc MQTT or http is just fine, because these are just nice to have features:)
Maybe @Kai or @ThomDietrich can collaborate on this, but it is very important to communicate out to the users what can happen in a smart home if somethings go wrong, and how we can make it fail-safe… Being able to run two RPI in parallel with some mux in between the ribbon Cables(or USB) might be worth considering)
In my case my RPI got new IP(in my router i can not set static IP, combined router/TV from our cable provider… ) and I needed to change this on all tablets and change the hue emulator IP.