Updated Sensor Configuration (markdown)

blakadder 2019-05-16 10:05:45 +02:00
parent 038547bd7a
commit 268fcc2546
1 changed files with 5 additions and 5 deletions

@ -2,9 +2,9 @@ Pre-work:
* [Device Configuration](https://github.com/arendst/Sonoff-Tasmota/wiki/Initial-Configuration) * [Device Configuration](https://github.com/arendst/Sonoff-Tasmota/wiki/Initial-Configuration)
* [How To Connect a Sensor](https://github.com/arendst/Sonoff-Tasmota/wiki/Expanding-Sonoffs) * [How To Connect a Sensor](https://github.com/arendst/Sonoff-Tasmota/wiki/Expanding-Sonoffs)
The software allows for dynamically configuration of sensors and devices to selected GPIO pins. Depending on the type of Template/Module, certain GPIO pins are easily accessible. Sensor configuration is possible by either the web pages OR using the commands [`Template`](Commands#template), [`Module`](Commands#module), and [`GPIO`](Commands#gpio). The software allows for easy configuration of sensors and devices to selected GPIO pins. Depending on the type of Template/Module, certain GPIO pins are user configurable. Sensor configuration is possible by either the WebUI or using the commands [`Template`](Commands#template), [`Module`](Commands#module) or [`GPIO`](Commands#gpio).
The software supports: Tasmota supports:
- [Single wire sensors](#single-wire-sensor) - [Single wire sensors](#single-wire-sensor)
- [Dual wire or I<sup>2</sup>C sensors](#i2c-sensor) - [Dual wire or I<sup>2</sup>C sensors](#i2c-sensor)
- [Single wire devices](#device) - [Single wire devices](#device)
@ -32,9 +32,9 @@ You can add a sensor using the following commands:
* [`Modules`](Commands#modules) - show supported modules * [`Modules`](Commands#modules) - show supported modules
* [`Module`](Commands#module) - select desired module functionality for the device (Wait for the restart) * [`Module`](Commands#module) - select desired module functionality for the device (Wait for the restart)
* [`Gpios`](Commands#gpios) - show supported sensor types. (e.g. DHT21 = AM2301) * [`Gpios`](Commands#gpios) - show supported sensor types. (e.g. DHT21 = AM2301)
* [`GPIO`](Commands#gpio) - show current defined sensors on supported GPIO pins or assign a GPIO function, - e.g., ``gpio14 2`` select sensor AM2301 (Wait for the restart) * [`GPIO`](Commands#gpio) - show current defined sensors on supported GPIO pins or assign a GPIO function, - e.g., ``gpio14 2`` configures sensor AM2301 to GPIO14 (Wait for the restart)
For some sensors to show up you may need to cycle power to reset the device just configured. For some sensors to show up you may need to cycle power to reset the device you just configured.
## I<sup>2</sup>C sensor ## I<sup>2</sup>C sensor
The following I<sup>2</sup>C sensors are supported using I<sup>2</sup>C SCL (5) and I<sup>2</sup>C SDA (6) in group 3: The following I<sup>2</sup>C sensors are supported using I<sup>2</sup>C SCL (5) and I<sup>2</sup>C SDA (6) in group 3:
@ -67,7 +67,7 @@ The software will auto-detect the connected I<sup>2</sup>C devices. For some sen
## Device ## Device
The following additional device(s) are supported: The following additional device(s) are supported:
- WS2812 led string - ``WS2812 (7)`` in group 4<br/>Using NeoPixelBus library and external 5V power supply - WS2812/WS2813 led string - ``WS2812 (7)`` in group 4<br/>Using NeoPixelBus library and external 5V power supply
- IR Remote - ``IRremote (8)`` in group 5<br/>Using IRremoteESP8266 library and additional IR led hardware as documented [here](https://github.com/altelch/SonoffIR) - IR Remote - ``IRremote (8)`` in group 5<br/>Using IRremoteESP8266 library and additional IR led hardware as documented [here](https://github.com/altelch/SonoffIR)
You can add a device using the following commands: You can add a device using the following commands: