mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
Document hardware, pinout and I2C devices in a header comment of every device
Merge the old pinout comment blocks into the header and mark what each pin is used for.
This commit is contained in:
1 parent
882428e491
commit
1a2aec5d01
54 files changed
+727
-323
No files matched your search
@@ -1,4 +1,11 @@
|
||||
---
|
||||
# Hardware: Sonoff Basic R2
|
||||
# Pinout:
|
||||
# GPIO0 BUTTON -> Button (binary_sensor gpio) (inverted)
|
||||
# GPIO1 TX PIN
|
||||
# GPIO3 RX PIN
|
||||
# GPIO12 RELAY -> Relay (switch gpio)
|
||||
# GPIO13 LED1 -> led (output gpio)
|
||||
substitutions:
|
||||
device: waterproof-socket
|
||||
name: Waterproof Socket
|
||||
@@ -17,13 +24,6 @@ esp8266:
|
||||
packages:
|
||||
common: !include common/common_esp8266.yaml
|
||||
|
||||
# Sonoff Basic R2
|
||||
# GPIO00 - BUTTON
|
||||
# GPIO12 - RELAY
|
||||
# GPIO13 - LED1
|
||||
# GPIO03 - RX PIN
|
||||
# GPIO01 - TX PIN
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin:
|
||||
|
||||
Reference in new issue
Block a user