dmamontov / esphome-blekeyboard

ESPHome BLE Keyboard
https://community.home-assistant.io/t/esphome-ble-keyboard/
84 stars 16 forks source link

[FEATURE REQUEST] Expose RSSI #25

Open muxa opened 1 year ago

muxa commented 1 year ago

Is your feature request related to a problem? Please describe. I want to be able to know if the host device that the BLE keyboard is connected to is in close proximity or not. This is in a context of a portable projector, I want to control it differently based on it's location, and I'm hoping I can infer the location based on the BLE signal strength.

Describe the solution you'd like Expose RSSI of the connected host device as a sensor. NimBLE-Arduino has a method to get client RSSI.

Describe alternatives you've considered I've tried enabling esp32_ble_tracker but it crashes (https://github.com/dmamontov/esphome-blekeyboard/issues/23)