-
Notifications
You must be signed in to change notification settings - Fork 576
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Tuya AP-Future-RGBCCT LED Controller (#532)
* inital config for RGBWW light * Add files via upload * added image and purchase link * adapted md styles * corrected board to BK72xx since this is the correct one to use * Remove spaces from folder name --------- Co-authored-by: Ryan Hoffman <rhoffman@extended64.com>
- Loading branch information
1 parent
bdc1784
commit ec837cd
Showing
2 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
--- | ||
title: Tuya AP-Future-RGBCCT LED Controller (AP-02-5CH-V2) | ||
date-published: 2023-10-04 | ||
type: light | ||
standard: global | ||
board: BK72xx | ||
--- | ||
|
||
Available on AliExpress: [WIFI RGBCCT](https://aliexpress.com/item/1005005724297417.html) | ||
|
||
This controller is a RGB CCT PWM Controller baed on the WB3S chipset by TUYA. | ||
Since LibreTiny is supported by ESPHome since 2023.09 it is possible to use this chipset. | ||
|
||
It is possible to convert this device with [Tuya-Cloudcutter](https://github.com/tuya-cloudcutter/tuya-cloudcutter) with the following profile: | ||
[TY-02-1CH LED Strip](https://github.com/tuya-cloudcutter/tuya-cloudcutter.github.io/blob/master/devices/tuya-generic-ty-02-1ch-led-strip.json) | ||
|
||
![Product Image](image.png "Product Image") | ||
|
||
## Sample configuration | ||
|
||
``` yaml | ||
esphome: | ||
name: tuya-rgbcct-5ch-controller | ||
friendly_name: Tuya RGBCCT 5ch Controller | ||
|
||
bk72xx: | ||
board: generic-bk7231t-qfn32-tuya | ||
|
||
web_server: | ||
|
||
captive_portal: | ||
|
||
wifi: | ||
ssid: !secret wifi_ssid | ||
password: !secret wifi_password | ||
|
||
logger: | ||
api: | ||
ota: | ||
|
||
text_sensor: | ||
- platform: debug | ||
reset_reason: | ||
name: Reset Reason | ||
- platform: libretiny | ||
version: | ||
name: LibreTiny Version | ||
|
||
output: | ||
- platform: libretiny_pwm | ||
id: output_red | ||
pin: P9 | ||
- platform: libretiny_pwm | ||
id: output_green | ||
pin: PWM5 | ||
- platform: libretiny_pwm | ||
id: output_blue | ||
pin: PWM4 | ||
- platform: libretiny_pwm | ||
id: output_cold | ||
pin: PWM2 | ||
- platform: libretiny_pwm | ||
id: output_warm | ||
pin: PWM0 | ||
|
||
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 | ||
``` |