You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/PIR-Motion-Sensors.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
PIR motion sensors, albeit called sensors, are configured as switches in Tasmota since they basically report _motion_ (`1`) or _no motion_ (`0`) to the device.
2
2
3
-
Most PIR's are single wire and they require connecting to VCC, GND and one GPIO. In this guide we will use `GPIO13` as the pin that the PIR output is connected to. See [PIN Restrictions](Peripherals.md#restrictions) on which pins not to use
3
+
Most PIR's are single wire and they require connecting to VCC, GND and one GPIO. In this guide we will use `GPIO13` as the pin that the PIR output is connected to. See [PIN Restrictions](Peripherals.md#restrictions) on which pins not to use.
4
+
5
+
In the simple case of wanting PIR activity to turn on a light/fan connected to the same device, you can use `SwitchMode 13` (push to on), along with a `PulseTime` for the minimum on-period. Then you can skip the more detailed options on this page.
4
6
5
7
### Tasmota Settings
6
8
In **_Configuration -> Configure Module_** menu change `GPIO13` to `Switch1`.
0 commit comments