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

BLE Gateway and BLE Client stopped working after ESPHome update #26

Open
czesiu20 opened this issue Nov 18, 2023 · 6 comments
Open

BLE Gateway and BLE Client stopped working after ESPHome update #26

czesiu20 opened this issue Nov 18, 2023 · 6 comments

Comments

@czesiu20
Copy link

After update my ESP32 device from 2023.10.6 to 2023.11.2 both ble_gateway and myhomeiot_ble_client stopped working.
The compilation process was successful, without any errors.
The log shows neither received packets nor client connections. It shows nothing... silence...

I'm using the device to read Mi Flora (HHCCJCY01) and Hygro thermometer clock (LYWSD02).
Ble client is used to read the battery status of Mi Flora.

@myhomeiot
Copy link
Owner

Looks like ESPHome 2023.11.x version has something wrong with new BLE enable/disable changes.
Let's wait for next version like 2023.11.3 and if problem persist, I will take a close look.

@myhomeiot
Copy link
Owner

@czesiu20 The origins of the problem this fix. Please try new release and let's me know.
PS: The new release will work for older ESPHome as well.

@czesiu20
Copy link
Author

Thank you for the fix. Ble Gateway is working great, but the client is not.
I had to remove the client, cos the device seems to be dead.

@myhomeiot
Copy link
Owner

BLE Gateway works without any changes, the problem was in BLE Host and this problem kill ESP BLE stack.
I doesn't check it with framework: arduino but with esp-idf everything should works. esp-idf framework save a lot of memory so BLE works much stable. If you configuration allow to use esp-idf framework please try it and let's me know.

@czesiu20
Copy link
Author

Nope. Doesn't work...

@orzechszek
Copy link

orzechszek commented Jan 7, 2025

Hello,
Any updates with myhomeiot_ble_client? It still doesn't work..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants