comparison espNode/sonoff_light.yaml @ 773:bc3516d02762

old changes in espNode Ignore-this: cbdcaf859b465e76c2c98e0d4510a1d3
author drewp@bigasterisk.com
date Sun, 28 Jun 2020 14:05:12 -0700
parents
children c480732442ec
comparison
equal deleted inserted replaced
772:2500a3ee9102 773:bc3516d02762
1 esphome:
2 name: sonoff_4
3 platform: esp8266
4 board: esp01_1m
5 build_path: build
6
7 wifi:
8 ssid: !secret wifi_ssid
9 password: !secret wifi_password
10 # use_address: 10.2.0.96
11 # domain: '.bigasterisk.com'
12
13 mqtt:
14 broker: '10.2.0.1'
15 port: 1883
16 username: ''
17 password: ''
18
19 logger:
20 baud_rate: 115200
21 level: INFO
22
23 ota:
24
25
26 binary_sensor:
27 - platform: gpio
28 pin:
29 number: GPIO0
30 mode: INPUT_PULLUP
31 inverted: True
32 name: "Sonoff Basic Button"
33 on_press:
34 - switch.toggle: relay
35
36 switch:
37 - platform: gpio
38 name: "Sonoff Basic Relay"
39 pin: GPIO12
40 id: relay
41
42 status_led:
43 pin:
44 number: GPIO13
45 inverted: yes