Select ubuntu as the OS for BBG. Download node-red from the website (http://nodered.org/), install this into your BBG and test it is working by issuing the command 'node-red-pi' at command shell, open an interface to it on any Chrome or similar browser on your PC. Back to the ubuntu shell, download & install the SONOS node-red drivers from nodered.org. Connect your wiolink computer to the same network as your SONOS sound system and your BBG. Draw on a diagram the components of the software and transfer these to our node-red tab on the browser. These are: handling the events from Wiolink IR receiver, handling the presets (your favourite albums,internet radio channels and if desired alarms), the devices handlers for Wiolink - Grove IR receiver, LED Bar and 2 line LCD displays. The software will use websockets on BBG for events, GET to retrieve the sound track data from the SONOS library and POST to display the album and song titles on the LCD display. Select the colour codes for the Grove LCD display: Green for music, Blue for Internet Radio, Red for alarms and White for announcements - you get audible and visual message for each sound!
Use your Android Smart or IoS smart phone to configure the ports on Wiolink. These are shown on the following diagram:
Here I have included some extra components the Grove I2C hub and gyro - you dont need these on this project. Download the APIs from the Wiolink International server and record the access token. On the node-red hosted on BBG you only need to insert this into a single configuration node despite the node-red program making 14 RESTful calls to handle all events. On the API tab on your smart phone test the links to your Wiolink computer and Grove modules.