Skip to content

Instantly share code, notes, and snippets.

@frog32

frog32/loop.yaml

Created Jan 25, 2020
Embed
What would you like to do?
ESPhome configuration for the prober loop https://frog32.ch/blackbox-probing-home-assistant.html
esphome:
name: loop
platform: ESP8266
board: d1_mini
wifi:
ssid: 'WLAN SSID'
password: 'wlan password'
domain: .lan
# Enable logging
logger:
api:
password: '12345678'
ota:
password: '12345678'
switch:
- platform: template
name: "ping"
lambda: 'return false;'
turn_on_action:
- output.turn_on: out_pin
- delay: 1000ms
- output.turn_off: out_pin
- platform: template
name: "ping_zha"
lambda: 'return false;'
turn_on_action:
- output.turn_on: out_pin_zha
- delay: 1000ms
- output.turn_off: out_pin_zha
binary_sensor:
- platform: gpio
pin: D6
name: "pong"
output:
- platform: gpio
pin: D5
id: out_pin
- platform: gpio
pin: D7
id: out_pin_zha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.