| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- substitutions:
- devicename: ff-ala-rgb-01
- low_devicename: ff_ala_rgb_01
- friendly_devicename: FF Ala RGB Light 01
- esphome:
- name: $devicename
- friendly_name: ${friendly_devicename}
- bk72xx:
- board: generic-bk7231n-qfn32-tuya
- # Enable logging
- logger:
- web_server:
- port: 80
-
- # Enable Home Assistant API
- api:
- encryption:
- key: "ejeMnlF5M60w/yuYwAWn/kIBz701xLwVkUGf9iN8uLA="
- ota:
- password: "2c27af3ab81f992e23745c20ab5dfc02"
- wifi:
- ssid: !secret iot_ssid
- password: !secret iot_password
- domain: .int.mmax.cloud
- text_sensor:
- # - platform: debug
- # reset_reason:
- # name: Reset Reason
- - platform: libretiny
- version:
- name: LibreTiny Version
- packages:
- diag: !include common/diag.yaml
- bp5758d:
- clock_pin: P26
- data_pin: P24
- output:
- - platform: bp5758d
- id: output_red
- channel: 3
- current: 14
- - platform: bp5758d
- id: output_green
- channel: 2
- current: 14
- - platform: bp5758d
- id: output_blue
- channel: 1
- current: 14
- - platform: bp5758d
- id: output_cold
- channel: 5
- current: 29
- - platform: bp5758d
- id: output_warm
- channel: 4
- current: 29
- light:
- - platform: rgbww
- id: light_rgbww
- name: "light"
- color_interlock: true
- cold_white_color_temperature: 6500 K
- warm_white_color_temperature: 2700 K
- red: output_red
- green: output_green
- blue: output_blue
- cold_white: output_cold
- warm_white: output_warm
- restore_mode: RESTORE_AND_ON
- effects:
- - random:
- - strobe:
- - flicker:
- 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%.
- intensity: 50%
|