Advertisement
Guest User

Untitled

a guest
Jul 9th, 2019
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.67 KB | None | 0 0
  1. esphome:
  2.   name: downlight01
  3.   platform: ESP8266
  4.   board: esp01_1m
  5.  
  6. wifi:
  7.   ssid: "YOUR SSID"
  8.   password: "YOUR WIFI PASSWORD"
  9.  
  10. # Enable logging
  11. logger:
  12. # Enable Home Assistant API
  13. api:
  14. ota:
  15. my9231:
  16.  data_pin: GPIO13
  17.  clock_pin: GPIO15
  18.  num_channels: 4
  19.  num_chips: 1
  20.  
  21. output:
  22.   - platform: my9231
  23.     id: output_blue
  24.     channel: 1
  25.   - platform: my9231
  26.     id: output_red
  27.     channel: 3
  28.   - platform: my9231
  29.     id: output_green
  30.     channel: 2
  31.   - platform: my9231
  32.     id: output_white
  33.     channel: 0
  34.  
  35. light:
  36.   - platform: rgbw
  37.     name: Downlight01
  38.     red: output_red
  39.     green: output_green
  40.     blue: output_blue
  41.     white: output_white
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement