I’m planning to use home assistant to help my house be a bit cooler this year for Halloween, and one of the ideas I had involved playing a sound effect when a sensor is triggered.
The sensor is a vibration sensor from Govee, linked through IFTTT. The bit I’m struggling with through is playing the sound.
As far as I can tell from a bit of research, Home Assistant doesn’t really work with Bluetooth speakers. This is a shame, as that would probably be the ideal solution. I’m not really sure what else I could do, maybe somehow triggering my phone to play it then linking that to a BT speaker? Or outputting through the 3.5mm jack? Are either of these possible? Or is there a better solution I’m missing?
I’m running the latest version of HA on a Pi 3B if that matters.
Thanks!
Edit: I have a Pi zero W lying around if that helps
Actually, I do have a google home mini, looks like kind of a pain to set it up though to get it to play your own file. Still, might be an option if nothing else works.
So for anyone curious, I eventually got this working in an extremely janky way, but it’s only temporary so it’s fine. Basically, had an old phone lying around so I put the HA companion app on there, then uploaded the different sound effects as notification sounds. Using the HA notify service, I could call a notification using the different sounds, which then play through a bluetooth speaker linked to the phone.
Probably could have set this up a little more elegantly, but if it works it works.
If it’s on the same network, it should just show up (be auto discovered) as a Google Cast device. Then it’s as simple as playing whatever media you want on it.