mmakaay / esphome-xiaomi_bslamp2

ESPHome integration for the Xiaomi Mijia Bedside Lamp v2.
Other
218 stars 51 forks source link

[FEATURE] Support for Bluetooth Proxy #107

Closed holefrog closed 1 year ago

holefrog commented 1 year ago

ESPHome supports Bluetooth Proxy now, by adding the follow:

esp32_ble_tracker:
  scan_parameters:
    interval: 1100ms
    window: 1100ms
    active: true

bluetooth_proxy:
  active: true

I tried it in Yaml, but after flash, the lamp cannot turn on. So, I have to remove those lines.

mmakaay commented 1 year ago

That's something that people tried before, but what will not work. Likely, this is way too much for the single core ESP32 that is used in this hardware. If there is a way to fix this, it is likely something to be fixed in ESPHome or ESP-IDF, and not in the firmware code, so I'll close this ticket based on that.