Masterlink Gateway and Beolink Gateway integration Home Assistant

83 replies
...

Hi there

Just to let you know that I created an integration between Masterlink Gateway and Beolink Gateway with Home Assistant with some really cool functionality to tap directly into the Masterlink bus and enable all kinds of fun integrations like controlling your digital streaming from your old school Beolink devices.

 

link

My B&O Icons:

Beovision-Avant.png Beovision-Avant.png
Beosound.png Beosound.png
giac

WOW!!! 

This integration really opens up lot of new possibilities to interact with IP controlled products/systems via your local BEO remote as well integrate other home assistant integration with B&O such as my security alarm.

Have been searching for a long time a solution to be able to control via a BEO remote my chrome cast connected to my TV, now I think this solution will solve that issue in a elegant way.

Location: Sweden

My B&O Icons:

BeoCenter-9500.png BeoCenter-9500.png
Beoremote-Beo4.png Beoremote-Beo4.png
Beovox.png Beovox.png
Beotime.png Beotime.png
Beosound.png Beosound.png
Beosound-9000.png Beosound-9000.png
Beosound-5.png Beosound-5.png
Beoplay-H4.png Beoplay-H4.png
Beocenter-2.png Beocenter-2.png
Located in Sweden and have passion for B&O since my years in school. Had the pleasure to be employed by the local B&O dealer in town in the 90th and got an education on the B&O product range at that time (the last fully 2-way integrated products).

Now fascinated about how far ahead B&O was with their Link integrations that you can still use to control and integrate 40 years old products in your smart home.

Prefer the older products since I feel those had a different classic to them and also they were priced/aimed more to the market so that normal people still had a chance to realize their dream and own a B&O product.

Great!

 

Let me know how it works for you and any feedback!

 

My B&O Icons:

Beovision-Avant.png Beovision-Avant.png
Beosound.png Beosound.png
giac

Hi 

is this smoothing that would help with connectivity between my Beomaster /sound 5 and a new eclipse tv 

for playing sound over tv speakers 

And how do you install it 

No this is for older equipment connected to a MasterLink Gateway device.

 

For newer equipment there is a Home Assistant integration called beoplay

 

https://github.com/giachello/ha-beoplay

 

You need Home Assistant for this to work. Home Assistant is the leading open source Home Automaton system: https://www.home-assistant.io

My B&O Icons:

Beovision-Avant.png Beovision-Avant.png
Beosound.png Beosound.png
giac

Ciao Giovanni... gran bel lavoro

Hi Giovanni great job,

if you remember I asked you for help on how to solve the problems I had with the simonkamronn plug-in and you, in addition to helping me, provided me with the frog code.
In recent months I have tried to understand how it works and consequently improve the plug-in but I only realized that I do not have the knowledge and tools necessary to do so. When I saw that you had started developing a new plug-in I immediately installed it, replacing it with simon's. I found improvements in reporting the on/off status of B&O devices and communication in general, nice thing to have also integrated the coding of the ml protocol in addition to that of the mlgw. So far I have noticed these anomalies:


a) When the source is changed, the telegram of the default source is not sent by the homeassistant. I try to explain, let's assume we have configured A.MEM as the default source (default_source: A.MEM), when we go to ask the home assistant to turn-on the B&O device this will turn on the audio master and set the source to A.MEM. When changing source (eg Radio) everything works as it should, a further change will work with all sources except the default source. In other words, once the source has been changed, there is no way to go back to A.MEM.
I tried not to configure the default source or by setting other sources including video (DTV, TV, DVD etc) but the problem remains.


b) If I ask to switch on a slave device (Beolab 2000) all the slave devices switch on (Beovision 10). Looking at the logs I seem to have noticed that home assistant sends a command to all devices.

Finally I would like to discuss the various masterlink configurations.As far as I know, an audio/video masterlink system can be composed of:

Video master (Eg Beovison 7)
Audio master (Beosound 9000)
Source center (Beosound 5 / Beomaster5)
and various Audio and Video slaves.

Slaves can also have local sources (e.g. Beovision 10 or beolink active) It would be interesting to understand if the local information on switching on and changing the source of the various slave-devices is sent on the masterlink protocol.
If this were the case we would have the possibility to know which device is on and on which source it is positioned and use this info as a trigger. What do you think about it?

Thanks

Hi thank you for the feedback!

I did reproduce a) ... and will look into it on the weekend. The source updates in the component data but the UI for some reason does not sync with that

b) I could not reproduce. can you send me the exact sequence of actions and a cut and paste of the home-assistant.log file (enable debugging of the mlgw component as specified in the instructions).

 

Thank you

Giovanni

My B&O Icons:

Beovision-Avant.png Beovision-Avant.png
Beosound.png Beosound.png
giac

on the third comment, Local source for sub- components is interesting but I didn't handle these cases. We'd have to understand the protocol better when these are activated. Cut and past of the protocol traffic would be helpful here.

 

My B&O Icons:

Beovision-Avant.png Beovision-Avant.png
Beosound.png Beosound.png
giac

Ciao Giovanni

I made further tests.

When I turn on the beolab 2000 (mln 4) from homeassistant only the speacker switch-on but the interface shows on the mln 4 (beolab 2000) and the mln 3 (Beovision 10).

In this situation, if I physically switch off the beolab 2000, lovelace shows mln 3 deactivated and mln 4 active. Everything seems misaligned by 1 (mln - 1).

In fact, if I turn on mnl 3 in the interface, mnl 2 (BeoLink Converter) and mnl 3 are turned on.

Another consideration if a slave device has a double source (eg beoplay A6/Radio and AudioMaster/Radio) then the command on lovelace makes the local source play. I assume that to listen to the source from the Audio-master the command "link+source" mast be implemented.

Over the weekend I will do further tests and let you know. I am attaching an extract from the log and the configuration of the plug-in

 

as for the sub components, let me know how I can help you.

 

 

Thank you

Emanuele

...
or
BeoWorld Gold Membership card
Join BeoWorld

Register to access the forums, reference material, and exclusive member benefits — including our monthly prize draw.

Become a Member

December 2026 Prize Draw

Gold Members Only

As a Gold member you're automatically entered into our exclusive prize draw — your chance to win iconic Bang & Olufsen products. A unique benefit of BeoWorld Gold membership, every draw brings a new opportunity to win something special.