Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # esphome config/test8266.yaml config
- INFO Reading configuration...
- INFO Configuration is valid!
- esphome:
- name: front_door_relay
- platform: ESP8266
- board: nodemcuv2
- build_path: front_door_relay
- arduino_version: espressif8266@1.8.0
- esphome_core_version:
- branch: dev
- repository: https://github.com/esphome/esphome-core.git
- use_custom_code: false
- board_flash_mode: dout
- wifi:
- fast_connect: true
- manual_ip:
- static_ip: 10.11.0.22
- gateway: 10.11.0.1
- subnet: 255.255.0.0
- dns1: 192.168.1.72
- dns2: 192.168.1.1
- domain: .local
- networks:
- - password: basdfasdfbb
- ssid: aaaasdf
- use_address: 10.11.0.22
- logger:
- baud_rate: 115200
- hardware_uart: UART0
- tx_buffer_size: 512
- api:
- password: bbb
- port: 6053
- ota:
- password: bbb
- safe_mode: true
- binary_sensor:
- - platform: gpio
- name: Front Door switch
- pin:
- number: 12
- mode: INPUT_PULLUP
- inverted: true
- on_press:
- - then:
- - switch.turn_on:
- id: relay
- on_release:
- - then:
- - switch.turn_off:
- id: relay
- switch:
- - platform: gpio
- name: Front Door Relay
- pin:
- number: 14
- inverted: true
- id: relay
- restore_mode: ALWAYS_OFF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement