Sign in   |  Join   |  Help

Interested in controlling your ML setup with a Raspberry Pi?

rated by 0 users
This post has 168 Replies | 17 Followers

PhilLondon
Top 25 Contributor
London
Posts 3,607
OFFLINE
Bronze Member
I wonder if, now that ML is old, there wouldn't be someone wanting to leak the protocol...?

I have partially decoded the protocol in the past... not the physical protocol, but the actual data... so if you do manage to get some data frames, pass them to me and I'll see if they match the message signatures I have.

Beoworld app with direct photo upload and emoticons. Other apps: ConsltThe Story Mouse

mczac
Not Ranked
Posts 49
OFFLINE
Bronze Member
mczac replied on Sun, Jan 14 2018 3:06 PM

Phil, it would help drastically you are willing to share what you have discovered so far.

I am just waiting for the last few bits of ML test setup to arrive, once I tuned up RS485-USB adapters with correct voltages, and data structure is identified. speed in bods, parity,  MSB/LSB and CRC, the rest is a reasonably simple with a potential caveat in learning how addressing to a particular device is made if BO is ever using Master to specific Slave device addressing.

I already have fully reverse-engineered NL protocol and have a working prototype of BO integration with HomeKit.

Also currently deep into completing  working prototypes of Datalink, MCL and IR controllers.

PhilLondon
Top 25 Contributor
London
Posts 3,607
OFFLINE
Bronze Member
Sounds exciting!

My ML messages were decoded using a beolink pc2 box. Which uses a protocol between the Mac/pc and the box, but some of the messages are just I’m sure some ML messages encapsulated inside another message.

As soon as you get some data out of it let me know, and I’ll dig my old code. If they look like the messages I have decided, I’ll let you know.

I did look at HomeKit integration, but there doesn’t seem to be any support for AV devices, what’s your plan?

Beoworld app with direct photo upload and emoticons. Other apps: ConsltThe Story Mouse

mczac
Not Ranked
Posts 49
OFFLINE
Bronze Member
mczac replied on Sun, Jan 14 2018 4:11 PM

PhilLondon:

I did look at HomeKit integration, but there doesn’t seem to be any support for AV devices, what’s your plan?

With regard to the HomeLink integration, you are right it offers indeed a very limited capability of a switch and speaker properties.I have implemented switches (TV, AppleTV, Xbox, <you name it>) to turn on/off different sources on a BV14. A designated switch will turn on the TV and selected source, it is also fully integrated should you turn on TV form the remote, homekit will have the proper status reading. Then depending on the source and time of the day I created automation workflows in homekit to adjust room lighting respectively. I can read and set most properties of the NL devices: source, volume, channel, sound/picture settings, etc. however figured that for existing homekit integration ability just to turn on/off is sufficent.

For BeoSound 1 I made few experimental HomeKit switches , I am only listening to TuneIN, so I have TuneIN(which turns on the latest played station) TuneIN+ (Turns on station according to my pre-scripted schedule: French ski-resort station in the morning, Radio Jackie mid-day and LoungeRadio in the evening, for instance) and TuneIN*  (plays random selection of the station from the list of favourites).

For a more refined level of control, my ultimate goal is to have a single page web dashboard to control NL/ML/MCL devices at the same time with a signle page and then probably load the page as a startup page on iPads which I essentially will mount  and blend into the walls in Kiosk mode. So basically the ultimate plan is for example to have the ability to choose what CD to play on BS9000, Adjust Volume, Stand position and Channel of the tele, mute all sounds instantly, Link sound sources to designated outputs... I started this project a few months ago so there is a lot to be done and hopefully it won't stall.

Bart
Not Ranked
Mallorca, Hamburg
Posts 14
OFFLINE
Bronze Member
Bart replied on Mon, Feb 12 2018 1:51 PM

Hi,

Is this little baby still available?

I wouldn't mind buying it from you.

 

Bart

BL8000, BL8002, BL4000, BL3, BL12.2, BS5, BS7000, BS9000, BS9500, BS2000, Ouverture

Bart
Not Ranked
Mallorca, Hamburg
Posts 14
OFFLINE
Bronze Member
Bart replied on Mon, Feb 12 2018 2:08 PM

Hi,

How is your HomeKit integration going?

If you're interested in sharing ideas give me a shout.

I've been playing lately with node-red and my GUI development platform of choice is iViewer from commandfusion.

Now I have only left B&O integration to finish (-:

 

Bart

BL8000, BL8002, BL4000, BL3, BL12.2, BS5, BS7000, BS9000, BS9500, BS2000, Ouverture

bjn
Not Ranked
Posts 7
OFFLINE
Bronze Member
bjn replied on Sun, Jun 24 2018 5:51 PM

very interesting that something is moving again.

I would like to help but my knowledge is limited. Sad

 

How do you pick up the ML logs ?? from the controller on board or over the ML cable?

My idea would also be to intercept ML commands via Atmega or Arduino Bords.

Ralf
Top 500 Contributor
Hamburg Germany
Posts 186
OFFLINE
Bronze Member
Ralf replied on Mon, Jul 23 2018 4:29 PM

Hi,

i made some projects with Arduino and Raspi, but I gave up reverse engineering the ML protocol. It took to much time.

If you try to understand and implement a fully master / slave concept it is just a bit more than just copying some messages.

So i made an arduino solution with IR connection (TSOP7000 and better: IReye) in conjunction with a ML gateway / BLGW. This works for me. I decode IR codes from  the BEO4 and send it via Wifi or Ethernet to the Gateway. ON the gateway I run a routine / script. I can control my NL Beosound 1 (start stop play louder and so on) and many light functions.

Or pressing TV send standby to the NL Beosound 1. The setup is a bit unflexible, since i took hardcoded id's.

But at least  this was more than sufficient for me.

As debugging device i used the debug console from the ML gateway, pressing buttons on the BEO4 or on an NL device caused an entry.

May be the Ml protocol will be sometimes free.

Ralf

 

Pearton_ante
Not Ranked
Posts 3
OFFLINE
Bronze Member

Hi

Will this make it possible to set up several different Beo to make it a multiroom solution? For example, I have two pieces of BS2500 at home. It would be great if you could plug in the RPi in ML and make it similar to for example Sonos. Or have I missunderstood this thread?

 

Cheers

Andreas

Page 5 of 5 (169 items) < Previous 1 2 3 4 5 | RSS
Beoworld Security Certificate

SSL