added E-LOG pin on PCB version 2.1 (#903)

Using it with PIR myself, but it is possible to add any type of sensor. The information of the E-LOG pin being GPIO 2, was a guess based on other type of Sonoff devices. I was unable to find information about the pinout of the Sonoff S20 E-LOG pin. This seems like a usefull place to store this information to help others.
This commit is contained in:
bvansambeek 2021-05-25 16:07:05 +02:00 committed by GitHub
parent 68b6c8f28f
commit d26f8740a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -200,6 +200,8 @@ of the basic functions.
``GPIO1`` ``RX`` pin (for external sensors)
---------------------------------------- ----------------------------------------
``GPIO3`` ``TX`` pin (for external sensors)
---------------------------------------- ----------------------------------------
``GPIO2`` ``E-LOG`` pin (From PCB V2.1; for external sensors)
======================================== ========================================
.. code-block:: yaml
@ -207,8 +209,7 @@ of the basic functions.
esphome:
name: <NAME_OF_NODE>
platform: ESP8266
board: esp8285
arduino_version: 2.4.2
board: esp01_1m
wifi:
ssid: <YOUR_SSID>
@ -229,6 +230,9 @@ of the basic functions.
name: "Sonoff S20 Button"
- platform: status
name: "Sonoff S20 Status"
- platform: gpio
pin: GPIO2
name: "Sonoff S20 Sensor"
switch: