myhomeiot / esphome-components

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

extend bluetooth coverage to transmit packets?! #14

Closed 50494554524F closed 2 years ago

50494554524F commented 2 years ago

(sorry for the dumb question, i started studying esphome few days ago)

now i can extend the bluetooth coverage to receive data from sensors far away very easily but...

what if i want to send a command form home assistant to a bluetooth bot that is far away too?! is it possible using something similar?!

thanks

myhomeiot commented 2 years ago

For sending command to Bluetooth device you should use ESPHome BLE Client at specific ESPHome device, sure will be better if this device will be close to BT device which you want to control.

As a command trigger from HA you can use any suitable entities like button, switch or even ESPHome User-defined Services.

Here you can find the example which send commands to Delonghi Coffee machine and expose this to HA as a buttons.

Hope this helps.