It is actually five channels: RGB, warm white and cold white.
I have flashed it with Esphome and it works great.
It is actually five channels: RGB, warm white and cold white.
I have flashed it with Esphome and it works great.
Great thanks for that. I now just need to look into nabu cassa and if it can be controlled via voice. Before I go flashing them I currently have 12 around the house and garden.
Thanks to this guide I have flashed one of my controllers as shown in the 1st pictures. I can change colour, brightness , on/off with the colour wheel but how do I change the colour or even get an effect like flash with an automation, the only thing I can see is turn on , off or toggle. This device controls the colour of my alarm keypad, and I would like it to be red in a fault condition and flash between red and blue in alarm, and also dim at night, ect. any pointers would be greatly welcomed.
I only have RGB led connected to this one, and it works with flux_led…no flash needed:
light:
- platform: flux_led
devices:
192.168.1.104:
name: flux_poolled
mode: rgb
..But i do need help in configuring a 230V switch!(https://ae01.alicdn.com/kf/H3527e55900ed4868b7923ae054e37d1dT.jpg)
Is this the one you purchased?
It’s the only one from that seller that is RGB, I don’t have a need for the white channel.
I suppose the RGBW controller would work for RGB LEDs, would just not use the white channel pin?
Care to share a link to the ones you got? I need to order a few and would rather not have to deal with a non ESP82 device.
I got them from the Zinuo store on AliExpress. Turns out I ordered them a year ago. Took forever to receive them, and I just got around to flashing them last week. So, no guarantee it’s still the same. Mine had no remotes, not sure if that’s significant.
Also, the link in my order comes up unavailable.
This was also 1 year ago but the link is still valid. Ymmv…
€ 3,38 30% Off | Magic Home DC5V 12V 24V Bluetooth-compatible Wireless WiFi Controller,RGB/RGBW IR RF LED Controller for WS2811 WS2812 led strip
Does anyone have a good source for these that are flashable and has purchased in the last month on Amazon or Ali ?
Thanks
are you able to share your config.yaml?
Sure! Here it is!
esphome:
name: kok_bank
platform: ESP8266
board: esp8285
wifi:
ssid: "wifi_name"
password: "wifi_password"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "kok bank"
password: "ap_password"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
password: "api_password"
ota:
password: "ota_password"
light:
- platform: rgbww
name: "Kök Bänk"
red: pwm_r
green: pwm_g
blue: pwm_b
cold_white: pwm_cw
warm_white: pwm_ww
cold_white_color_temperature: 6536 K
warm_white_color_temperature: 2000 K
output:
- platform: esp8266_pwm
pin: GPIO12
frequency: 1000 Hz
id: pwm_r
max_power: 100%
- platform: esp8266_pwm
pin: GPIO5
frequency: 1000 Hz
id: pwm_g
max_power: 100%
- platform: esp8266_pwm
pin: GPIO13
frequency: 1000 Hz
id: pwm_b
max_power: 100%
- platform: esp8266_pwm
pin: GPIO15
frequency: 1000 Hz
id: pwm_ww
max_power: 100%
- platform: esp8266_pwm
pin: GPIO5
frequency: 1000 Hz
id: pwm_cw
max_power: 100%
I see that both pwm_g and pwm_cw are on GPIO5, is this correct?
…
Good catch! I only used RGB so never noticed the error.
I might have time to look at this later this week.
So there were three errors in the code, wrong pins for R, G and CW. New code:
output:
- platform: esp8266_pwm
pin: GPIO14
frequency: 1000 Hz
id: pwm_r
max_power: 100%
- platform: esp8266_pwm
pin: GPIO12
frequency: 1000 Hz
id: pwm_g
max_power: 100%
- platform: esp8266_pwm
pin: GPIO13
frequency: 1000 Hz
id: pwm_b
max_power: 100%
- platform: esp8266_pwm
pin: GPIO15
frequency: 1000 Hz
id: pwm_ww
max_power: 100%
- platform: esp8266_pwm
pin: GPIO5
frequency: 1000 Hz
id: pwm_cw
max_power: 100%
I havn’t used this in quite a while.