agittins / bermuda

Bermuda Bluetooth/BLE Triangulation / Trilateration for HomeAssistant
MIT License
643 stars 18 forks source link

Side-loading with ESPHome Voice Assistant Image #318

Open zeieri opened 1 month ago

zeieri commented 1 month ago

Is your feature request related to a problem? Please describe. Looking to see if there is a way to accomplish an idea. I have this app already working with Atom Echo's (and it's working better then ESPresence did). My next step is to try using ESP32-S3-Box-3 units running the voice assistant but I also want them to handle the bluetooth proxy role.

Describe the solution you'd like ESP32-S3-Box-3 running the voice assistant with Bluetooth at the same time.

Describe alternatives you've considered Alternate devices but I'd prefer to reduce the number of devices per room.

Additional context Add any other context or screenshots about the feature request here.

Side note - amazing work - thank you for putting the time and effort into developing this!

tbrasser commented 1 month ago

Well you can try, but it's gonna be tough on resources, but maybe when using openwakeword and not mww it might work.

Also probably hardwired esps instead of wifi gives bluetooth all the airtime it needs, but havent seen a voice assistant sattelite yet with ethernet.

I might try enabling bluetooth proxy on one of my onju voices and see whether it is stable or not.

zeieri commented 1 month ago

So fortunately, I got it working. From an openwakeword perspective, I haven't noticed more lag then usual but it's only been a few hours!

agittins commented 1 month ago

That's great - if you think it's working well could you share your esphome yaml? I'd love to add it to the documentation so that others can have a known starting point.

zeieri commented 1 month ago

Hi @agittins !

Here is what I did:

1) Setup the S3 Box 3 as a voice assistant. 2) Added Bluetooth proxy to the YAML code by inserting the following lines:

bluetooth_proxy: active: True

(Full YAML attached) S3 Box 3 YAML.txt

It is working well as far as using voice and having the Bluetooth Proxy. That said - the range on the S3 Box 3 is far. I have a network of Atom Echo's arranged through the rest of the house. In each room, my phone bounces between the room that I'm in and the Office S3 Box 3 (in the basement). Even in my bedroom, 2 floors up and diagonally across the house - it's still bouncing back and forth. Haven't figured that part out yet...

Is there a way to modify those settings from the Bermuda side? I don't see the standard settings choices and I think it's because I'm using the voice assistant image.

Cheers!