rstrouse / ESPSomfy-RTS

A controller for Somfy RTS shades and blinds
The Unlicense
428 stars 32 forks source link

Use esp32 devkit also for BLE presence sensing #404

Closed hajar97 closed 1 week ago

hajar97 commented 1 week ago

Describe you new feature you'd like

Usually these devkits can be used through ESPHome for BLE based presence sensing. Given that they are now flashed with custom firmware, is there a possibility to enable this additional usage for the device?

rstrouse commented 1 week ago

Unfortunately, the BLE libraries are too big for the flash size. It isn't just a matter of turning on BLE, the library sizes of WiFi and BLE are very large and each consumes ~1Mb per library. If you do both you don't have room for anything else like OTA updates, a UI, or any custom firmware.

The other wart with BLE on the ESP32 is that it shares a radio with WiFi so when you have both enabled one or the other suffers. I guess this is a long way around to say that until ESPSomfy RTS will probably not be adding BLE capabilities anytime soon.

hajar97 commented 1 week ago

I see. All clear, thank you for the explanation. On 19 Jun 2024, at 18:05, rstrouse @.***> wrote: Unfortunately, the BLE libraries are too big for the flash size. It isn't just a matter of turning on BLE, the library sizes of WiFi and BLE are very large and each consumes ~1Mb per library. If you do both you don't have room for anything else like OTA updates, a UI, or any custom firmware. The other wart with BLE on the ESP32 is that it shares a radio with WiFi so when you have both enabled one or the other suffers. I guess this is a long way around to say that until ESPSomfy RTS will probably not be adding BLE capabilities anytime soon.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

rstrouse commented 1 week ago

I am going to close this out. I don't think BLE can be added to the current platform.