From a9dd200d7eba984a9fe2532c85ceeacd8775a40d Mon Sep 17 00:00:00 2001 From: arendst Date: Wed, 8 Feb 2017 10:19:44 +0100 Subject: [PATCH] updates --- Sensor-Configuration.md | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/Sensor-Configuration.md b/Sensor-Configuration.md index 70a6f8f1..bb041ca9 100644 --- a/Sensor-Configuration.md +++ b/Sensor-Configuration.md @@ -1,15 +1,20 @@ -## Add a single wire sensor -The software supports the following single wire sensors: -- DHT11 Temperature and Humidity -- DHT21 Temperature and Humidity -- DHT22 Temperature and Humidity -- AM2301 Temperature and Humidity -- AM2302 Temperature and Humidity -- AM2321 Temperature and Humidity -- DS18B20 Temperature (multiple sensors with optional OneWire library enabled in ``user_config.h``) -- DS18S20 Temperature (with optional OneWire library enabled in ``user_config.h``) -- External switch -- HC-SR501 PIR Motion Detection (configured as Switch) +The software supports: +- [single wire sensors](#single-wire-sensor) +- [dual wire or I2C sensors](#i2c-sensor) +- [single wire devices](#devices) + +## Single wire sensor +The following single wire sensors are supported: +- ``DHT11 (1)`` - DHT11 Temperature and Humidity +- ``AM2301 (2)`` - DHT21 Temperature and Humidity +- ``AM2301 (2)`` - AM2301 Temperature and Humidity +- ``DHT22 (3)`` - DHT22 Temperature and Humidity +- ``DHT22 (3)`` - AM2302 Temperature and Humidity +- ``DHT22 (3)`` - AM2321 Temperature and Humidity +- ``DS18x20 (4)`` - DS18B20 Temperature (multiple sensors with optional OneWire library enabled in ``user_config.h``) +- ``DS18x20 (4)`` - DS18S20 Temperature (with optional OneWire library enabled in ``user_config.h``) +- ``Switch (8)`` - External switch +- ``Switch (8)`` - HC-SR501 PIR Motion Detection (configured as Switch) You can dynamically add a sensor using the following (MQTT) commands: @@ -21,8 +26,8 @@ You can dynamically add a sensor using the following (MQTT) commands: For some sensors to show up a power cycle of Sonoff is needed to reset the devices just configured. -## Add an I2C sensor -The software supports the following I2C sensors: +## I2C sensor +The following I2C sensors are supported using ``I2C SCL (5)`` and ``I2C SDA (6)``: - BH1750 Ambient Light Intensity - BMP180 Pressure and Temperature - BMP280 Pressure and Temperature @@ -40,9 +45,9 @@ You can dynamically add I2C sensors using the following (MQTT) commands: The software will autodetect the connected I2C devices. For some sensors to show up a power cycle of Sonoff is needed to reset the devices just configured. -## Add a device -The software supports the following additional device(s): -- WS2812 led string using NeoPixelBus library and external 5V power supply +## Device +The following additional device(s) are supported: +- ``WS2812 (7)`` - WS2812 led string using NeoPixelBus library and external 5V power supply You can dynamically add a device using the following (MQTT) commands: