typo in links

blakadder 2019-10-30 20:36:57 +01:00
parent 142b301922
commit 779aafc01c
4 changed files with 13 additions and 7 deletions

@ -12,8 +12,8 @@ In _Configuration -> Configure Module_ menu change `GPIO15` to `Switch1`:
A configured PIR will not appear in the web UI in any form. To make it report like a sensor we need a rule that will send movement triggers to an MQTT topic.
```
Switchmode1 1
Switchtopic 0
SwitchMode1 1
SwitchTopic 0
Rule1 on switch1#state=1 do publish stat/%topic%/PIR1 ON endon on switch1#state=0 do publish stat/%topic%/PIR1 OFF endon
Rule1 1
```
@ -36,6 +36,12 @@ A more [advanced example](Rule-Cookbook#Auto-off-Motion-Sense-Switch) of rules w
Pin marked VOUT is connected to a free GPIO pin on the device.
This PIR goes to off state after a few seconds so we need to use this rule *instead* of the one in the example.
```
Rule1 on switch1#state=1 do backlog publish stat/%topic%/PIR1 ON; RuleTimer1 30 endon on Rules#Timer=1 do publish stat/%topic%/PIR1 OFF endon`
With this it will stay ON for 30 seconds then send OFF message and the timer restarts every time there's an ON trigger.
```
## HC-SR501
<img src="https://user-images.githubusercontent.com/5904370/67890781-a32bf300-fb51-11e9-8f84-1413fccc4e78.png" width=200>

@ -5,7 +5,7 @@ More about [sensor configuration.](https://github.com/arendst/Sonoff-Tasmota/wik
*Some of the articles were written originally for D1 mini but the information still applies except the wiring instructions*
- **ADS1x15** A/D Converter (I<sup>2</sup>C)
- [**AM312**](PIR-Motions-Sensors#AM312) PIR Motion Sensor
- [**AM312**](PIR-Motion-Sensors#AM312) PIR Motion Sensor
- [**APDS-9960**](APDS-9960) Ambient Light, RGB Color and Proximity Sensor with Gesture Detection
- [**AZ-7798**](Wemos-D1-Mini-and-AZ-Instrument-7798-CO2-Meter-Datalogger) CO<sub>2</sub> Meter Datalogger
- [**BH1750**](Wemos-D1-Mini-and-BH1750-Luminosity-Sensor) Luminosity Sensor
@ -22,7 +22,7 @@ More about [sensor configuration.](https://github.com/arendst/Sonoff-Tasmota/wik
- [**HM16/HM17**](iBeacon-driver) Bluetooth iBeacon reader (Serial)
- **HR-E** Water Meter Encoder interface (Serial)
- [**HC-SR04 (SR04+, SR04T)**](Wemos-D1-Mini-and-HC-SR04-Ultrasonic-Sensor) Ultrasonic Sensor
- [**HC-SR501**](PIR-Motions-Sensors#HC-SR501) PIR Motion Sensor<img src="https://user-images.githubusercontent.com/5904370/53279530-8c571600-3711-11e9-85c0-27d35be2df48.png" width="250" align="right" />
- [**HC-SR501**](PIR-Motion-Sensors#HC-SR501) PIR Motion Sensor<img src="https://user-images.githubusercontent.com/5904370/53279530-8c571600-3711-11e9-85c0-27d35be2df48.png" width="250" align="right" />
- **HTU21** Temperature and Humidity sensor (I<sup>2</sup>C)
- **HX711** Load Cell sensor (GPIO)
- **INA219** High-Side DC Current and Voltage sensor (I<sup>2</sup>C)

@ -19,7 +19,7 @@
- [Make sure light is on at night](#make-sure-light-is-on-at-night)
- [Turn On Light Before Dawn and At Dusk](#Turn-On-Light-Before-Dawn-and-At-Dusk)
- [Enable a PIR Switch only at night](#enable-a-pir-switch-only-at-night)
- [PIR Configuration](PIR-Motions-Sensors#HC-SR501#alternative-tasmota-configuration-with-rules-recommended-method)
- [PIR Configuration](PIR-Motion-Sensors#HC-SR501#alternative-tasmota-configuration-with-rules-recommended-method)
- [Using clock timer to control a luminance-triggered switch only in mornings](#using-clock-timer-to-control-a-luminance-triggered-switch-only-in-mornings)
- [Button with single press, double press, and hold](#button-with-single-press-double-press-and-hold)
- [Perform any action on single/double press (for switches AND buttons)](#perform-any-action-on-singledouble-press-for-switches-and-buttons)

@ -1,7 +1,7 @@
### [List of supported sensors](https://docs.google.com/spreadsheets/d/e/2PACX-1vRBFqaP5QAFmT8iIYBxrn-EQp7-SrkxL6tb0OjpqtBxDEsmkiWCFei3sFyA_UXoqlbs3CqtEdOfC6Pa/pubhtml?gid=1029939700&single=true)
- **ADS1x15** A/D Converter (I<sup>2</sup>C)
- [**AM312**](PIR-Motions-Sensors#AM312) PIR Motion Sensor
- [**AM312**](PIR-Motion-Sensors#AM312) PIR Motion Sensor
- [**APDS-9960**](APDS-9960) Ambient Light, RGB Color and Proximity Sensor with Gesture Detection
- [**AZ-7798**](Wemos-D1-Mini-and-AZ-Instrument-7798-CO2-Meter-Datalogger) CO<sub>2</sub> Meter Datalogger
- [**BH1750**](Wemos-D1-Mini-and-BH1750-Luminosity-Sensor) Luminosity Sensor
@ -18,7 +18,7 @@
- [**HM16/HM17**](iBeacon-driver) Bluetooth iBeacon reader (Serial)
- **HR-E** Water Meter Encoder interface (Serial)
- [**HC-SR04 (SR04+, SR04T)**](Wemos-D1-Mini-and-HC-SR04-Ultrasonic-Sensor) Ultrasonic Sensor
- [**HC-SR501**](PIR-Motions-Sensors#HC-SR501) PIR Motion Sensor<img src="https://user-images.githubusercontent.com/5904370/53279530-8c571600-3711-11e9-85c0-27d35be2df48.png" width="250" align="right" />
- [**HC-SR501**](PIR-Motion-Sensors#HC-SR501) PIR Motion Sensor<img src="https://user-images.githubusercontent.com/5904370/53279530-8c571600-3711-11e9-85c0-27d35be2df48.png" width="250" align="right" />
- **HTU21** Temperature and Humidity sensor (I<sup>2</sup>C)
- **HX711** Load Cell sensor (GPIO)
- **INA219** High-Side DC Current and Voltage sensor (I<sup>2</sup>C)