This device has no voice for this language. You can add one in your device’s speech settings.
When Something Goes Wrong, the Result Should Be Harmless
Every component in a home automation system will eventually fail: a sensor battery runs flat, a relay sticks, the network drops, the controller crashes or the power goes out.
Fail-safe design does not try to prevent every failure – that is impossible. Instead, it makes sure that when something fails, the result is safe, and that the people in the home notice and can still use the most important functions.
This guide explains the principles of fail-safe design and how to apply them in a home.
1. What Fail-Safe Means
A system is fail-safe when a failure leads to a safe state rather than a dangerous or damaging one. A classic example is a lift brake that is held open by power: if the power fails, the brake engages.
In home automation, fail-safe thinking means asking for every function: what happens if this part stops working?
2. Identify What Can Fail
| Part | Typical Failure | Possible Consequence |
|---|---|---|
| Sensor | Flat battery, wrong reading, lost connection | Missing or wrong information |
| Controller | Crash, failed update, full storage | Automations stop |
| Network | Wi-Fi or mesh unavailable | Commands and readings do not arrive |
| Internet | Connection lost | Cloud functions and notifications stop |
| Power | Power cut | Everything stops, then restarts |
| Actuator | Relay sticks, motor jams, valve blocks | Equipment stays on or off |
Going through such a list for your own system quickly shows which failures matter most.
3. Choose the Safe State for Each Function
The safe state is different for different functions:
| Function | Safe State | Reason |
|---|---|---|
| Heater, heating cable | Off, with independent thermostat or thermal cut-out | Prevent overheating |
| Underfloor or room heating in winter | Moderate heat, controlled by the local thermostat | Prevent frost and discomfort |
| Water supply with leak protection | Depends on priority – closed protects against leaks, open keeps water available | Decide consciously |
| Pumps and fans | Off after a maximum running time | Prevent dry running and wear |
| Lighting | Can always be switched manually | Safety and comfort |
| Gates and doors | Stop, and manual operation possible | Prevent injury |
4. Normally Open or Normally Closed
Relays and valves have a state they return to when power is lost. Choosing it deliberately is one of the most effective fail-safe tools:
- A normally open relay contact turns the load off when the controller loses power – suitable for heaters and pumps.
- A normally closed contact keeps the load on without power – suitable for functions that must keep working.
- Motorised water valves exist in different versions: some stay where they are when power is lost, others return to open or closed by a spring. Choose according to what is most important in your home.
5. Never Rely on Software Alone for Safety
Automation is a convenience layer. Functions that protect people and property must also be protected by independent devices that work without software:
- Heaters and heating cables need their own thermostat or thermal cut-out.
- Electrical circuits need correctly sized fuses or circuit breakers and residual current devices where required.
- Smoke and carbon monoxide detection needs certified detectors with their own alarm.
- Motorised gates and doors need certified safety edges or sensors.
The automation can add notifications and convenience, but the basic protection must work even if the automation fails completely.
6. Maximum Running Times and Plausibility Checks
Simple limits in the rules catch many faults:
WHEN the irrigation pump has been on for 30 minutes,
THEN switch it off and send a notification – whatever the other rules say.
WHEN a temperature sensor reports a value outside the possible range,
THEN ignore the value, use the safe setting and notify.
Plausibility checks compare readings with what is physically possible or with other sensors, so that a single wrong value does not cause a wrong action.
7. Watchdogs and Heartbeats
A system should notice when a part has stopped working:
- Watchdogs restart a device whose program has stopped responding (see Guide 27).
- Heartbeats are regular messages that show a device is alive. If they stop, the controller sends a notification.
- An external monitoring service can notify you if the whole home stops responding – for example after a power cut in a holiday home.
8. Redundancy and Graceful Degradation
Redundancy means having more than one way to perform an important function: two leak sensors under the washing machine, a mobile router as a backup internet connection, or a second Thread border router.
Graceful degradation means that when one part fails, the system continues with reduced functions instead of stopping completely:
- Without the central controller, lights work from switches and thermostats keep their setpoints.
- Without the internet, local automations continue; only remote access and cloud functions stop.
- Without a sensor, the rule uses a safe default value.
9. Power Cuts and Restarts
Power cuts test the whole system at once. Plan for them:
- Set the power-on behaviour of every relay and smart plug deliberately.
- Put the router, controller and gateways on a small UPS.
- Use start-up rules that restore the correct states.
- Make sure devices do not all start heavy loads at the same moment when power returns.
Guide 32 covers power failures and recovery in detail.
10. Test the Failures
Fail-safe behaviour is only reliable if it is tested:
- Switch off the central controller and check that lights, heating and alarms still work as expected.
- Disconnect the internet and see which functions stop.
- Remove a sensor’s battery and check that the right notification arrives.
- Test the leak protection with a damp cloth on the sensor.
- Switch off the power briefly and observe how everything restarts.
Repeat important tests once or twice a year, and after major changes.
Final Thoughts
Fail-safe design accepts that every part will fail sooner or later and makes sure the result is harmless. Decide the safe state for each function, choose normally open or normally closed contacts deliberately and add maximum running times and plausibility checks.
Protect people and property with independent safety devices that do not depend on software, and let the automation add convenience and notifications on top.
Monitor the system, build in graceful degradation and test the failures regularly – then the home stays safe even on the day something goes wrong.
MISOLIMA® – Technology Made Practical.
Practical knowledge for understanding, designing and building home automation.
Continue reading
Back to the topGuide 24
Using Relays and Digital Outputs
Guide 26