Created
April 18, 2020 16:24
-
-
Save gyengus/9f29ccd63f963af9e953ce310c4128dd to your computer and use it in GitHub Desktop.
Esphome config
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: lego_holder_light | |
platform: ESP8266 | |
board: nodemcuv2 | |
wifi: | |
ssid: !secret wifi_ssid | |
password: !secret wifi_passwd | |
fast_connect: true | |
power_save_mode: none | |
reboot_timeout: 5min | |
# Enable Home Assistant API | |
api: | |
reboot_timeout: 0s | |
ota: | |
web_server: !include common/web_server.yaml | |
logger: | |
level: DEBUG | |
switch: | |
- platform: restart | |
name: !secret lego_holder_light_switch_restart | |
sensor: | |
- platform: wifi_signal | |
name: !secret lego_holder_light_sensor_wifi_strength | |
update_interval: 60s | |
- platform: uptime | |
name: !secret lego_holder_light_sensor_uptime | |
text_sensor: | |
- platform: wifi_info | |
ip_address: | |
name: !secret lego_holder_light_text_sensor_ip | |
status_led: | |
pin: | |
number: D4 | |
inverted: true | |
output: | |
- platform: esp8266_pwm | |
id: d0_led | |
pin: D0 | |
inverted: true | |
light: | |
- platform: monochromatic | |
name: "Lego holder light" | |
output: d0_led |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment