Bluetooth integration of speaker lamps

Hello,
We are looking to integrate Bluetooth speaker lamps “Sengled Pulse Solo”.

  1. We have read about Bluetooth bindings ( Bluetooth - Bindings | openHAB ). By using the Bluez binding, we manage to automatically discover the lamp in the inbox.

  2. The lamp is visible in OpenHab, the only information we get is the RSSI and we have no other channels.

Do you know if it is possible to control the lamp from OpenHab (change the intensity of the lamp and send music)? And how?

Thank you !

Hello,

I don’t know if someone reverse engineered the protocol to send light command to this lamp, but even if it is the case, it seems unlikely that the implementation made its way to openHAB.

For the sound part : there is no “audio sink” within the bluetooth binding, so it is not directly possible.

But, if you are on linux, and manage to play something on your bluetooth speaker with pulseaudio (an internet search for pulseaudio bluetooth can put you on the way), you can then send openHAB’s sound to your bluetooth speaker, as there is an “audio sink” within the pulseaudio binding for openHAB.
openHAB → pulseaudio binding → pulseaudio server → bluetooth speaker

But, be aware that openHAB is not a music player. It can play some MP3/WAV if they are put in a special directory and if you create some rule to trigger it, or it can use some text-to-speech to say something, but you cannot browse music in a user friendly way.

If you want something more user friendly, you can install a music server like “logitech media server” or “mpd”, and set them up to use the pulseaudio bluetooth sink for you speaker. (again, if you are on linux, but I suppose it should also be possible on Windows or Mac).
You will then be able to manage your music through their dedicated app on your phone, or a browser, or even with openHAB with the appropriate binding (we have a Squeezebox binding and a mpd binding for that)

1 Like

Integration into openHAB should be possible to some extent, but it won’t be ‘plug and play’: Controlling a Bluetooth LED strip with HA - #17 by workingmanrob - Configuration - Home Assistant Community

1 Like