SHARE
TWEET

Untitled

a guest Oct 14th, 2019 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. esphome:
  2.   name: disk_light
  3.   platform: ESP8266
  4.   board: esp01_1m
  5.  
  6. # WiFi connection, correct these
  7. # with values for your WiFi.
  8. wifi:
  9.   ssid: !secret ssid
  10.   password: !secret wifi_password
  11.  
  12. # Enable logging.
  13. logger:
  14. # Enable Home Assistant API.
  15. api:
  16. # Enable over-the-air updates.
  17. ota:
  18. # Enable Web server.
  19. # web_server:
  20. #   port: 80
  21.  
  22. # Sync time with Home Assistant.
  23. time:
  24.   - platform: homeassistant
  25.     id: homeassistant_time
  26.    
  27. web_server:
  28.   port: 80
  29.  
  30. # Text sensors with general information.
  31. text_sensor:
  32.  # Expose ESPHome version as sensor.
  33.   - platform: version
  34.     name: ESPHome Version
  35.   # Expose WiFi information as sensors.
  36.   - platform: wifi_info
  37.     ip_address:
  38.       name: IP
  39.     ssid:
  40.       name: SSID
  41.     bssid:
  42.       name: BSSID
  43.  
  44. # Sensors with general information.
  45. sensor:
  46.  # Uptime sensor.
  47.   - platform: uptime
  48.     name: Uptime
  49.  
  50.   # WiFi Signal sensor.
  51.   - platform: wifi_signal
  52.     name: WiFi Signal
  53.     update_interval: 60s
  54.    
  55. binary_sensor:
  56.   - platform: status
  57.     name: Status
  58.  
  59. light:
  60.   - platform: fastled_clockless
  61.     chipset: WS2812B
  62.     pin: GPIO1
  63.     num_leds: 16
  64.     rgb_order: GRB
  65.     id: light_1
  66.     effects:
  67.       - strobe:
  68.       - flicker:
  69.       - addressable_color_wipe:
  70.       - addressable_scan:
  71.    
  72. switch:
  73.   - platform: template
  74.     name: "Strobe"
  75.     optimistic: True
  76.     turn_on_action:
  77.         - light.turn_on:
  78.             id: light_1
  79.     turn_off_action:
  80.         - light.turn_off:
  81.             id: light_1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top