Skip to content

Commit

Permalink
add Tuya AP-Future-RGBCCT LED Controller (#532)
Browse files Browse the repository at this point in the history
* 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
lorenzspenger and tekmaven authored Oct 12, 2023
1 parent bdc1784 commit ec837cd
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 78 additions & 0 deletions src/docs/devices/Tuya-RGBCCT-LED-Controller/index.md
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
```

0 comments on commit ec837cd

Please sign in to comment.