Created
January 25, 2020 13:16
-
-
Save frog32/ebc2f9a3a0546c446e9ff08483efbaf6 to your computer and use it in GitHub Desktop.
ESPhome configuration for the prober loop https://frog32.ch/blackbox-probing-home-assistant.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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