Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Yeelight Rotating Dimmer (YLKG07YL, YLKG08YL) support #13

Open
syssi opened this issue May 17, 2021 · 6 comments · May be fixed by #32
Open

Add Yeelight Rotating Dimmer (YLKG07YL, YLKG08YL) support #13

syssi opened this issue May 17, 2021 · 6 comments · May be fixed by #32
Labels
enhancement New feature or request

Comments

@syssi syssi added the enhancement New feature or request label May 17, 2021
@gudszent
Copy link

do you have plan to resolve the ble reboot issue?

@syssi
Copy link
Owner Author

syssi commented Dec 21, 2021

I've replaced the single core ESP32 of one of my lamps with a dual core ESP32. At dual core ESP32 the ble_monitor is stable. As soon BLE and WiFi runs on the same core the application crashs. I don't know how to fix it. It's above my skills. ;-)

@syssi
Copy link
Owner Author

syssi commented Dec 21, 2021

Oh there is some progress missing here. I've extended the ble_monitor of ESPHome to support the remote controls. You can find an example configuration here: https://github.com/syssi/esphome-yeelight-ceiling-light/blob/main/yeerc_ylyk01yl.yaml

The problem: If you enable the BLE stack on an single core ESP32 (used in all Yeelight devices) the application crashs on boot-up. To be able to listen to some BLE traffic you have to replace the ESP32 with a dual core version.

@gudszent
Copy link

Thank you, as I see the config, that not direct control the light, its send it to home assistant, than i guess the rule from HA control the esp. Am I right?

@gudszent
Copy link

As I see, the only chance to turn off and on the wifi and ble :-)
espressif/arduino-esp32#1756
So I think, this is the dead end :'(

@syssi
Copy link
Owner Author

syssi commented Dec 21, 2021

The Yaml is just an example. You could wire/cosume the events also in ESPHome directly.

@syssi syssi linked a pull request Dec 26, 2021 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants