Menu

When sensors become useful information

Status: Working Several working integrations, ongoing experimentation.

On its own, a sensor only provides numbers or states. The real task is deciding how reliable the measurement is, how often it updates, and how it can be turned into a meaningful automation condition.

My own systems include measurements related to light, presence detection, temperature, humidity and air quality. MQTT is a particularly useful intermediate layer because it does not rigidly tie the data source to the user application.

A measurement is not the same as a decision

A single momentary value can easily lead to a wrong conclusion. Handling timing, hysteresis, validity and faulty measurements is an important part of automation. BME680, for example, may also provide raw values on its own; a finished "air quality index" should not be built from them without verification.

Technologies

  • MQTT
  • BH1750
  • LD2410C
  • BME680
  • Home Assistant
  • ESP-based devices