Advertisement
Guest User

Untitled

a guest
Feb 12th, 2020
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.41 KB | None | 0 0
  1. esphome:
  2.   name: bindicator
  3.   platform: ESP8266
  4.   board: d1_mini
  5.  
  6. wifi:
  7.   ssid: ""
  8.   password: ""
  9.  
  10.   # Enable fallback hotspot (captive portal) in case wifi connection fails
  11.   ap:
  12.     ssid: "Bindicator Fallback Hotspot"
  13.     password: ""
  14.  
  15. captive_portal:
  16. # Enable logging
  17. logger:
  18. # Enable Home Assistant API
  19. api:
  20. ota:
  21. # Enable Web server.
  22. web_server:
  23.   port: 80
  24.  
  25. # Sync time with Home Assistant.
  26. time:
  27.   - platform: homeassistant
  28.     id: homeassistant_time
  29.  
  30. # Text sensors with general information.
  31. text_sensor:
  32.  # Expose ESPHome version as sensor.
  33.   - platform: version
  34.     name: bindicator ESPHome Version
  35.   # Expose WiFi information as sensors.
  36.   - platform: wifi_info
  37.     ip_address:
  38.       name: bindicator IP
  39.     ssid:
  40.       name: bindicator SSID
  41.     bssid:
  42.       name: bindicator BSSID
  43.  
  44. # Sensors with general information.
  45. sensor:
  46.  # Uptime sensor.
  47.   - platform: uptime
  48.     name: bindicator Uptime
  49.  
  50.   # WiFi Signal sensor.
  51.   - platform: wifi_signal
  52.     name: bindicator WiFi Signal
  53.     update_interval: 60s
  54.  
  55. # Example configuration entry
  56. light:
  57.   - platform: neopixelbus
  58.     type: GRB
  59.     pin: GPIO3
  60.     num_leds: 16
  61.     name: "NeoPixel Light"
  62.     effects:
  63.       - random:
  64.       - flicker:
  65.           name: Flicker
  66.           alpha: 95%
  67.           intensity: 1.5%
  68.       - addressable_scan:
  69.           name: Scan
  70.           move_interval: 150ms
  71.           scan_width: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement