Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

60 Commits

Repository files navigation

MultiSensor

An NodeMCU (esp8266) based multi sensor reporting temperature, humidity and luminance via MQTT topics. Perfect to be added to a HomeAutomation system

Features

To reduce network traffic and network load the multi sensor only report status after a predefined interval or when the configurable threshold is met.

ParameterDefault valueDescription
reportInterval600 000 msTime in milliseconds between reports (600 000ms = 10min)
thresholdTemperature0.5Threshold level in Celsius (*C) to send report to Homey
thresholdHumidity1Threshold level in Humidity (H) to send report to Homey
thresholdLuminance100Threshold level in Luminance (Lux) to send report to Homey

Installation

Needed Arduino Libraries to be included in IDE. Install them either from GitHub repositories directly or within the IDE application itself Sketch > Import Library

LibraryLink to GitHub
library for MQTThttps://github.com/knolleary/pubsubclient
Adafruit TSL2561 Luminance sensorhttps://github.com/adafruit/Adafruit_TSL2561
Adafruit Unified Sensorhttps://github.com/adafruit/Adafruit_Sensor
DHT22 sensor for esp8266https://github.com/beegee-tokyo/DHTesp

MQTT Topics

MQTT Topics to be sent to the Broker

TopicDescription
MultiSensor/Luminancesensor value in lux
MultiSensor/Temperaturesensor value in celsius
MultiSensor/Humiditysensor value in humidity

Wiring

Homeyduino_MultiSensor

Release Notes

  • version 1.0 - First release
  • version 1.1 - Minor updates | increased reportInterval and cleaned up some code

Future improvements

  • Sensor calibration configuration parameters
  • Minimum reportInterval configuration parameter to minimize reports when Luminance quickly change

References

About

Multisensor reporting temperature, humidity and luminance via MQTT topics

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages