myhomeiot / esphome-components

A collection of my ESPHome components
Other
257 stars 25 forks source link

BLE advertisements #19

Closed RobertSmart closed 1 year ago

RobertSmart commented 1 year ago

Hi,

Can this component be used to send out advertisement packets using BLE? I want to be able to read some sensor values and then broadcast them out as a standard BLE advertisement packet. It looks like it could do something like that, but I've very new to ESPHome.

Thanks,

Rob Smart

myhomeiot commented 1 year ago

This component works with esp32_ble_tracker which act as "BLE Client" and can receive BLE messages, if you want to send BLE advertisement packets you need the "BLE Server", here you can find some examples how to do it.

Hope this helps.