Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphome:
- name: disk_light
- platform: ESP8266
- board: esp01_1m
- # WiFi connection, correct these
- # with values for your WiFi.
- wifi:
- ssid: !secret ssid
- password: !secret wifi_password
- # Enable logging.
- logger:
- # Enable Home Assistant API.
- api:
- # Enable over-the-air updates.
- ota:
- # Enable Web server.
- # web_server:
- # port: 80
- # Sync time with Home Assistant.
- time:
- - platform: homeassistant
- id: homeassistant_time
- web_server:
- port: 80
- # Text sensors with general information.
- text_sensor:
- # Expose ESPHome version as sensor.
- - platform: version
- name: ESPHome Version
- # Expose WiFi information as sensors.
- - platform: wifi_info
- ip_address:
- name: IP
- ssid:
- name: SSID
- bssid:
- name: BSSID
- # Sensors with general information.
- sensor:
- # Uptime sensor.
- - platform: uptime
- name: Uptime
- # WiFi Signal sensor.
- - platform: wifi_signal
- name: WiFi Signal
- update_interval: 60s
- binary_sensor:
- - platform: status
- name: Status
- light:
- - platform: fastled_clockless
- chipset: WS2812B
- pin: GPIO1
- num_leds: 16
- rgb_order: GRB
- id: light_1
- effects:
- - strobe:
- - flicker:
- - addressable_color_wipe:
- - addressable_scan:
- switch:
- - platform: template
- name: "Strobe"
- optimistic: True
- turn_on_action:
- - light.turn_on:
- id: light_1
- turn_off_action:
- - light.turn_off:
- id: light_1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement