forked from esphome/esphome
-
Notifications
You must be signed in to change notification settings - Fork 0
lc_tech
krahabb edited this page Aug 30, 2021
·
3 revisions
substitutions:
device_name: lc-tech-4ch
esphome:
name: $device_name
platform: ESP8266
board: esp01_1m
logger:
baud_rate: 0 # Free up uart from logging
wifi:
# any wifi config
api:
# any api config
ota:
# any ota config
uart:
id: uart0
baud_rate: 115200 # speed to STC15L101EW
tx_pin: GPIO1
rx_pin: GPIO3
switch:
- platform: lc_tech
name: '$device_name.relay 1'
id: relay1
channel: 1
uart_id: uart0
- platform: lc_tech
name: '$device_name.relay 2'
id: relay2
channel: 2
uart_id: uart0
- platform: lc_tech
name: '$device_name.relay 3'
id: relay3
channel: 3
uart_id: uart0
- platform: lc_tech
name: '$device_name.relay 4'
id: relay4
channel: 4
uart_id: uart0