I was wondering if integration for the Sennheiser AMBEO Soundbar into media_player was in the plans.
As of now, its volume is only controllable via google cast, but that causes it to switch sources!
i would love support for that tech. Google products are not an option.
Me as wellā¦
Iād absolutely love that feature, too.
From what I can see there is a third party control4 driver, which can be downloaded for free:
As well as some support for the nymea IoT stack:
http://repository.nymea.io/pool/rpi-non-free/n/nymea-plugin-streamunlimited/
Maybe something can be reversed engineered from these as I couldnāt find any public API documentation from Sennheiser.
Upvote! Would love to be able to control sources and power too!
Was hoping that this thread might get some traction with the launch of the cheaper Plus model.
Would love to see this support too!!!
I have recently purchased one of these and would also love to see a plugin - primarily to include it in my media buttons for setting things up to watch a movie, plus xbox, etc.
The ambeo.local web server that the max stands up is unauthenticated and I can see that it fires simple URLs to get and set data. When I fire them in curl they work and change or return the state:
For example, setting the ambeo mode to on:
http://ambeo.local/api/setData?path=espresso%3AambeoModeUi&role=value&value=%7B%22type%22%3A%22bool_%22%2C%22bool_%22%3Atrue%7D&_nocache=1702278643155
It also sends getData requests which get a Response with some simple json:
{
"type": "value",
"value": {
"type": "powerTarget",
"powerTarget": {
"nextReason": "none",
"nextTarget": "none",
"reason": "userActivity",
"target": "online"
}
},
"path": "powermanager:target",
"timestamp": 1702276792373
}
As such it seems trivial to interact with - Iām happy to have a look at writing a plugin but can anyone point me in the direction of what entity type it should be or any examples? It has a huge number of settings such as the input, brightness of the ambeo logo, etc, that would be nice to expose so wondering if there is an appropriate foundation I should start from / look at for examples.
Thanks,
Brett
@brettmichael that sounds awesome!
I had a look at Bose and Sonos components and they are using the media_player entity. See example Sonos: Sonos - Home Assistant
Media Player entity:
I hope this helps!
Maybe the code from another media player plugin (this is for an actual hardware media player) will help you as well:
Thanks - will have a play and see if I can get all the features working.
Regards,
Brett
I just started development. Iāll keep you informed.
I didnāt find this conversation before. We can collaborate on this if you want. I will put it on github soon.
Awesome guys!
Itās still an early version (pre beta) but if you want to try it, feel free to do it:
https://github.com/faizpuru/ha-ambeo_soundbar
Still a lot to do for code clarity, testing, exception management etcā¦ but the main features are here.
Awesome!
It seems to only work with lovelace, is that correct?
When trying to āadd to dashboardā it get this:
How did you setup the integration ?
After adding the repository to hacs as integration, download it, restart home assistant.
Go to settings, device and services, add integration, ambeo soundbar, type the ip address of your soundbar. You can find it on the sennheiser app for example. Submit.
You should have 1 device / 8 entities created.
The screenshot you send seems to be the update entity created by HACS. Not the Integration entry created by you.
Sorry! Stupid meā¦forget what I wrote
I have 1 device and 8 entities now
However, the buttons do not have an effect on the soundbar.
The fact that āvoice enhancementā is not working should be okay as Iām using the Max, which sadly does not have that feature. But āAmbeo Logoā for example has no effect.
IP is correct and it shows the correct FW
Maybe the Max and Plus are using different APIs? At least the Control4 driver says that their driver is only working for Max but not for Plus version:
It seems that Ambeo Max has not the same API endpointā¦ I will look at it later. Iāll be booked until next week but maybe we can spend some time to find out what to adjust for Ambeo Max. I only have an AMBEO Soundbar Plus
Just let me know how I can help and Iām happy to
With your Ambeo MAX you too have a webserver exposed when you type your ip address in a browser, right ?
Yes, thatās correct.