Home Automation Sensors
Over the year's I've tried almost every possible home automation sensor to determin which ones work well and provde to be reliable.
Uses for sensors can be divided roughly into people motion sensing, people presence sensing, environment sensing (temperature, pressure, solar input, gas and particulates) and indirect sensing.
Indirect sensing is a useful technique for monitoring equipment without making any electrical connection to it. For example you can check that a fridge is working reliably and that the door has not been left open by monitoring the temperature on the motor or cooling coil. If it cycles regularly the fridge is working. If it's above average for a long period then the door is open or there is some other problem with the fridge.
In choosing a sensor for home automation there are many factors you should consider:
-
Reliability - my top criteria because a sensor that fails even occasionally is useless.
-
Accuracy - for sensors that read analog values what is their precision and how stable are they?
-
Latency - how quickly does the sensor fire after motion has happened. Some PIR sensors wait until they have seen three pulses before firing.
-
Repeat rate - how quickly the sensor recovers and is willing to fire again. Some battery-powered alarm sensors wait up to three minutes between firing in order to conserve battery power.
-
Noise or False trigger susceptibility - Microwave-doppler radar sensors provide great coverage and are cheap but they fire for no apparent reason. Some humidity sensors are quite random in their output and require severe filtering.
-
Person-discrimination capability - can the sensor tell the difference between a human and a dog or cat?
-
Wiring complexity - the one-wire bus makes it easy to link many sensors with a single very long CAT5 cable.
-
Aesthetics: most PIR sensors are ugly whereas under-floor strain-gauges are invisible.
-
Power consumption - not a factor except for some remote battery operated sensors.
People-detecting sensors
In terms of people-detecting sensors I would rank them as follows:
- Under-floor strain gauges: invisible, very reliable, good cat and dog discrimination powers.
- Physical contacts on doors and windows - the typical alarm system sensor.
- Optical-beam with two or more beams: can cover a large gap like a garage entrance or barn aisleway.
- PIR - cheap and readily available.
- Bluetooth - the only sensor that can count people (phones) in a room without a camera.
- Microwave-doppler - cheap but needs logic to clean up false triggers and to reason about which rooms are occupied.
- Indirect sensing - CO2, temperature, pressure can all aid in detecting the presence of people
Essential sensors
In addition to people sensing you need several other key inputs for a complete home automation system, here's my top list for those:
- Outdoor light sensor. A simple LDR suffices but you can also get multi-spectral sensors.
- Temperature sensors for living spaces. Essential for any control of HVAC systems.
- Humidity sensors. These are useful for controlling bathroom fans and preventing condensation.
- Temperature sensors for equipement. DS18B20 sensors on a one-wire bus are my favorite here given their reliability, accuracy and ease of wiring.
- Gas sensors. Detecting CO2 levels in a room can help trigger ventilation.
- Pressure sensors.