-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Anyone expirience with BL proxy from ESPHome on yeelight? #64
Comments
I just did. Lost connectivity to my lamp completely. Doesn't even go to the safe mode, need to disassemble and reflash :( Update: Getting the following assert
|
turns out if I disable encryption in my config, lamp even boots, and responds to pings, but refuses connection to 6053 port. |
thank you for testing! hope its not too much hustle to bring it down and up again. |
Will not work, since in Yeelights they use a stripped version of ESP32 - which uses only 1 core of the 2, so simply don't have enough resources to handle the ESPHome code, and the BT too. |
@ExPeacer You are right about the number of CPU cores but are you sure about the limitations? I'm aware of some people running a single core ESP32 with ESPHome and bluetooth in general. It's not as smooth/solid as having two cores but it's possible. |
it's also enough resources for the original yeelight firmware. Perhaps it is possible to tune FreeRtos to run both stacks. Also my board responds to pings, when it boots WITH bluetooth stack enabled. But it doesn't respond to api. Unfortunately I don't have tools to boot it properly with serial attached, to see what is going on. |
This is the workaround to avoid the boot loop ( An unresponsible native API and the |
As far as I'm aware Yeelight uses ESP32s with only 2MB of flash. This issue can be circumvented when using a correct partition table. ESPHome won't flash since the fw would be too big for the two app partitions with bt proxy enabled.
partition table csv:
When trying to flash with bt proxy and partition table:
|
Like the title already say, i was wondering if anybody already tried the new BL proxy feature from ESP home on one of this lights?
Since the Xiaomi BLE creates boot-loops i was wondering if the new Proxy is working better.
The text was updated successfully, but these errors were encountered: