Sign in   |  Join   |  Help

Masterlink Gateway and Beolink Gateway integration Home Assistant

rated by 0 users
Not Answered This post has 0 verified answers | 82 Replies | 2 Followers

Giovanni
Not Ranked
San Francisco Bay Area
54 Posts
OFFLINE
Bronze Member
Giovanni posted on Tue, Jan 5 2021 4:36 PM

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.

 

https://github.com/giachello/mlgw

 

All Replies

Giovanni
Not Ranked
San Francisco Bay Area
54 Posts
OFFLINE
Bronze Member

So Baaz is the sequence working for you?

 

The logs show that the turn on / turn off commands are sent correctly and that they activate the N.RADIO source.

 

Let me know!

 

Abakus2007
Not Ranked
68 Posts
OFFLINE
Bronze Member

 

 

Hi Giovanni,

no, default card only turns on once, second time no response.

So I'm enclosing a new log with four commands - default card on / off / on and then mini-media-player on.

On the third command (default card) no response on the fourth command radio button on the mini-media-player

the radio goes on.

 

Presume it makes no difference but I've installed the home assistant on a Raspberry PI instead of the virtual machine on my MAC.

 

Baaz

Giovanni
Not Ranked
San Francisco Bay Area
54 Posts
OFFLINE
Bronze Member

Hi there

I think I found the issue. You configured Radio and CD as sources. But in reality, when the device turns on with Radio, the actual source turned on is N.Radio. The second time, when the plugin tries to turn on, it looks for N.Radio which was the previously reported source, but it does not find it in the source list configured (which is only Radio and CD) so it doesn't do anything.

Try to fix the configuration in the yaml by replacing "Radio" with "N.Radio" and see if it works.

Also I made a few bug fixes so try re-installing from the mlgw repository.

 

Giovanni

 

Abakus2007
Not Ranked
68 Posts
OFFLINE
Bronze Member

 

 

Hi Giovanni,

 

I'm afraid no success. When I put N.Radio as default source and as a source it does send a command.

I narrowed it down even further and removed radio, leaving only cd left, same issue start at first but not the second

time the MMP still works through it's drop down list with sources. The MMP did not add N.Radio when changed in the yaml-file.

I think I understand the problem in solving this issue, the error when nothing happens doesn't give any records in the log.

Could it have something to do with the source menu under roles in the BM5? I've got:

NMUSIC set to CD

N.RADIO set to  RADIO

 

Baaz

 

Giovanni
Not Ranked
San Francisco Bay Area
54 Posts
OFFLINE
Bronze Member

Hi Baaz.

Ok, I added some more logging and let's see if we can get to the bottom of it. Do you mind re-installing from github and then running through the source selection again?

Thank you for the help in debugging this!

Giovanni

Abakus2007
Not Ranked
68 Posts
OFFLINE
Bronze Member

 

 

Giovanni,

 

no problem, my pleasure:) Installed new version, same fault. Enclosing new log

with only BM5 and CD on the BLGW.

 

 

/Baaz

Giovanni
Not Ranked
San Francisco Bay Area
54 Posts
OFFLINE
Bronze Member

Yeah, here is the problem: your 'CD' selection actually activates N.MUSIC on the BS5. The BS5 tells the plugin NMusic is on. The second time when you try to turn on the device, it remembers that the last source was N.MUSIC. But, because N.MUSIC is not included in the sources in your configuration file, it throws an error saying that it is not an available source.

Try adding N.MUSIC as a source in the configuration file.

Alternatively, use the automatic configuration (not configuration.yaml) from the integrations panel and see if that works better.

G.

Abakus2007
Not Ranked
68 Posts
OFFLINE
Bronze Member

 

 

Giovanni,

 

I think You're close now, It did not succeed totally but I get a  log entry on each command.

I've added N.MUSIC in the BLGW sources and added the same in the yaml-file.

automatic configuration: speakers turns on but not BM5

Yaml-file: 1st on CD starts, 2nd time same as above, speakers turns on but not BM5

All these were using the default card, using the MMP source CD, music starts,

using source N.MUSIC again same as above - speakers turns on BM5 not.

 

Baaz

 

Zeus_72
Not Ranked
35 Posts
OFFLINE
Bronze Member

Hi,

@ Abakus2007.

I modified Giovanni's plug-in. it is optimized for my setup (you can see it in previous posts).

If you want to try it, you can download it here: https://github.com/Lele-72/mlgw

 


Abakus2007
Not Ranked
68 Posts
OFFLINE
Bronze Member

 

 

Zeus_72 & Giovanni,

 

this one works!!!

Thank You!!!

Giovanni I'm enclosing the log from Zeus_72s version, maybe that could be helpful.

I'll start adding new products and sources and keep my fingers crossed it will work.

 

Thanks again all

 

Baaz

Abakus2007
Not Ranked
68 Posts
OFFLINE
Bronze Member

 

 

and the log...

Zeus_72
Not Ranked
35 Posts
OFFLINE
Bronze Member

I'm glad my version works for you.

Can you tell me if lovelace reports the status (play-pause etc.) and the info of the source being played?

Let me know if there are any delays or bugs.

If everything works I will ask Giovanni to implement the functions in the official plugin.

Thanks

Abakus2007
Not Ranked
68 Posts
OFFLINE
Bronze Member

 

 

Certainly!

 

I'll check this, I did see the actual radio station at one point but I don't know in which setup. I'm testing a lot of different setups as the BM5 is supposed

to take a role as  a cd source and the radio replaced by the Core.

 

I'll revert

 

Baaz

Abakus2007
Not Ranked
68 Posts
OFFLINE
Bronze Member

 

Back again.

Made some notes;  Radio source will not show unless BM5 already on or link room turned on after M5 activated by default card.

Enclosing log.

All commands work from the the card, no errors.

Radio recognize when I change channel from the remote. CD does not register any commands from the remote, pausing, next / previous track etc and does not show the actual track, no entries in the log.

 

Baaz

Zeus_72
Not Ranked
35 Posts
OFFLINE
Bronze Member

Hi,

I'm glad the plug is working

Before answering I would like to know with which configuration you tested the plug-in.
Could you tell me which devices you connected.
In the log I saw that you have an audiomaster, a videomaster and a bl3500.
I assume that the audiomaster is a BeoMaster 5 connected with a Beosound5?
Is the cd that of the BeoMaster5?
What VideoMaster do you have? is it a Beovision? I notice strange behavior in the log.
Is the VideoMaster in the same room as the AudioMaster,  how are they configured? (VideoMaster = 0 Audiomaster = 2 ....)
I'm sorry to ask you more questions than to give you the answers, but I would like to understand what audio / video system you have.

In general, we listen to the flow of information that the devices exchange. As you rightly observed if this stream does not exist for the cd source we cannot report anything on the cards. For example: If I listen to a cd on a BS - BM5 with the Beolabs connected, the info will not pass on the ML-bus and we cannot listen to them, the case is different if I have a system in the main room composed of a Beovision with Beolabs and a BeoSound5. In this case the TV and the stereo exchange the info, which we need. For the cd these info are only for the status (play / pause) while for the N.Radio/Radio and for N.Music/A.men we also have the metadata.

Last remark, the plugin does not work well with NL devices, for these devices there is another plug written by Giovanni, which I should try. (@Giovanni ...sorry I haven't installed it yet).

After you describe your system to me, maybe I can understand the notes better.

Lele

Page 5 of 6 (83 items) « First ... < Previous 2 3 4 5 6 Next > | RSS
Beoworld Security Certificate

SSL