Skip to content
This repository has been archived by the owner on Oct 31, 2020. It is now read-only.

The original solution linked to a 404 page #140

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,44 @@ As per the [Arlec Grid Connect Smart LED Globe RGB](https://esphome-configs.io/d

However unlike the RGB version these appear to use a BP5926 chip to drive the LED's and this chip uses a PWM signal so set the colour temperature rather than a PWM signal for each colour channel.

To get these globes to work I needed to write a Custom Light Component in ESPHome due to the BP5926 chip that they have used to drive the LED's.
The custom component is available at <https://github.com/cdmonk/esphome_ArlecSmartGlobe.>
To get these globes to work, a Custom Component is required due to the BP5926 chip that they have used to drive the LED's.

Copy the 4 files from ssieb's repo [here](https://github.com/ssieb/custom_components/tree/master/cwww2) and place them in the cwww2 folder you just created.

```
esphome:
name: arlec_white_1
platform: ESP8266
board: esp01_1m

wifi:
ssid: "your ssid"
password: "password"
manual_ip:
static_ip: xxx.xxx.xxx.xxx
gateway: xxx.xxx.xxx.xxx
subnet: xxx.xxx.xxx.xxx

ap:
ssid: "your fallback ssid"
password: "password"

output:
- platform: esp8266_pwm
id: output1
pin: GPIO5
- platform: esp8266_pwm
id: output2
pin: GPIO13

light:
- platform: cwww2
id: lightid
name: "Light CWWW"
color_temperature: output2
brightness: output1
cold_white_color_temperature: 6500 K
warm_white_color_temperature: 3000 K

restore_mode: ALWAYS_OFF
```