ff-ala-rgb-01.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. substitutions:
  2. devicename: ff-ala-rgb-01
  3. low_devicename: ff_ala_rgb_01
  4. friendly_devicename: FF Ala RGB Light 01
  5. esphome:
  6. name: $devicename
  7. friendly_name: ${friendly_devicename}
  8. bk72xx:
  9. board: generic-bk7231n-qfn32-tuya
  10. packages:
  11. # Enable Home Assistant API
  12. esphome: !include common/keys.yaml
  13. diag: !include common/diag.yaml
  14. # Enable logging
  15. logger:
  16. web_server:
  17. port: 80
  18. wifi:
  19. ssid: !secret iot_ssid
  20. password: !secret iot_password
  21. domain: .int.mmax.cloud
  22. text_sensor:
  23. # - platform: debug
  24. # reset_reason:
  25. # name: Reset Reason
  26. - platform: libretiny
  27. version:
  28. name: LibreTiny Version
  29. bp5758d:
  30. clock_pin: P26
  31. data_pin: P24
  32. output:
  33. - platform: bp5758d
  34. id: output_red
  35. channel: 3
  36. current: 14
  37. - platform: bp5758d
  38. id: output_green
  39. channel: 2
  40. current: 14
  41. - platform: bp5758d
  42. id: output_blue
  43. channel: 1
  44. current: 14
  45. - platform: bp5758d
  46. id: output_cold
  47. channel: 5
  48. current: 29
  49. - platform: bp5758d
  50. id: output_warm
  51. channel: 4
  52. current: 29
  53. light:
  54. - platform: rgbww
  55. id: light_rgbww
  56. name: "light"
  57. color_interlock: true
  58. cold_white_color_temperature: 6500 K
  59. warm_white_color_temperature: 2700 K
  60. red: output_red
  61. green: output_green
  62. blue: output_blue
  63. cold_white: output_cold
  64. warm_white: output_warm
  65. restore_mode: RESTORE_AND_ON
  66. effects:
  67. - random:
  68. - strobe:
  69. - flicker:
  70. alpha: 50% #The percentage that the last color value should affect the light. More or less the “forget-factor” of an exponential moving average. Defaults to 95%.
  71. intensity: 50%