How To's and Manuals

How to connect B&O TVs to a BLI

Introduction

The connection between a Bang & Olufsen TV and a BeoLiving Intelligence enables the user to access the Home Control Panel (similar to web interface) on the TV’s screen. It will also enable scene execution with a BeoRemote as explained in the How to control Your BLI with the One Controller.

This document gives connection instrucctions to the BeoVision Eclipse, the BeoVision Horizon and the BeoPlay V1.

All these B&O products can be added as NetworkLink Resources to your BeoLiving Intelligence or BeoLink Gateway through the setup page, enabling you to set sources for the TV but not necesarilly uncovering its full potential.

Adding your TV as a resource enables the possibility of controlling it through the BeoLiving App by selecting & controlling sources (Audio & video sources). But by setting up the connection through the TV, access to the HOME CONTROL panel is enabled along with the posibility to trigger macros through shortcuts on your control.

BeoVision Eclipse

Part 1: Connect your B&O smart TV to a BLI

  1. With the TV on any source, press MENU to access the main menu.
  2. Go to Settings and open by pressing the center button.
  3. Go down to Sound & BeoLink
  4. Go to the BeoLink option and enter the menu by pressing the right arrow.
  5. Select the BeoLink Gateway option and choose the BeoLiving Intelligence or BeoLink Gateway you wish to connect to from the available options.

Part 2: Access your BLI

  1. Press the LIST button on the BeoRemote.
  2. Go to HOME CONTROL and press the center circle.
  3. Input your BeoLiving Intelligence User and Password in the window that appears on your B&O TV’s screen.
  4. The BLI’s control panel will appear on your TV screen, from which you will be able to trigger macros, control individual equipment (lights, shades, etc) or watch your home’s cameras.

BeoVision Horizon

Part 1: Connect your B&O smart TV to a BLI

  1. With the TV on any source, press MENU to access the main menu.
  2. Go to Settings and open by pressing the center button.
  3. Go down to the Service Menu and before pressing the center button, press red, thus accessing a special menu where the Customer Service Menu option is available.
  4. In the Customer Service Menu go to Settings and press the centre button
  5. Select the BeoLink Gateway option and choose the BeoLiving Intelligence or BeoLink Gateway you wish to connect to from the available options.

Part 2: Access your BLI

  1. Press the LIST button on the BeoRemote.
  2. Go to HOME CONTROL and press the center circle.
  3. Input your BeoLiving Intelligence User and Password in the window that appears on your B&O TV’s screen.
  4. The BLI’s control panel will appear on your TV screen, from which you will be able to trigger macros, control individual equipment (lights, shades, etc) or watch your home’s cameras.

BeoPlay V1

Part 1: Connect your B&O smart TV to a BLI

  1. With the TV on any source, press MENU to access the main menu.
  2. Go down to SETUP and open by pressing the center button.
  3. As soon as you access the setup menu, before pressing anything else, keep the red button pressed for 3 seconds and then press the center button.
  4. Once in the customer service menu, go to SETTINGS and press the center button.
  5. Go to REROUTE LIGHT/CONTROL and access the menu by pressing the right arrow on your remote.
  6. This menu shows you B&O systems available (BeoLiving Intelligences, BeoLink Gateways, Music players, etc.). Select your BLI by pressing the center button and once back in the settings menu, press the center circle to save your new settings.
  7. Restart your TV (turn OFF and ON).

Part 2: Access your BLI

  1. Press the LIST button on the BeoRemote.
  2. Go to HOME CONTROL and press the center circle.

    If HOME CONTROL doesn’t appear on the LIST menu:

    • Go down the menu to Settings and press the center circle.
    • Select LIST for TV and then SHOW.
    • Find HOME CONTROL and select it by pressing the center circle, so that the option is ticked. You will now find the HOME CONTROL option in your LIST on the BeoRemote.
  3. Input your BeoLiving Intelligence User and Password in the window that appears on your B&O TV’s screen.
  4. The BLI’s control panel will appear on your TV screen, from which you will be able to trigger macros, control individual equipment (lights, shades, etc) or watch your home’s cameras.

How to Fire IFTTT applets through BLI commands

BeoLiving Intelligence is capable of firing IFTTT applets in a really simple way. This tutorial will show you the configuration process with an example that illustrates how to find your phone just by pressing a wall button.

Basically, BeoLiving Intelligence will trigger your Applet by sending a POST HTTP request to an specific URL. Depending on the trigger selected a body message with an specific format will be needed or not. To fire HTTP requests with BeoLiving Intelligence, Custom HTTP driver must be configured correctly to fire all Applets you want with multiple requests.

Creating your IFTTT applet with Webhooks as a service

To create your Applet follow the next instructions:

  1. Choose Webhooks as a service (the one that will trigger your Applet).
  2. Select “Receive a web request” as a trigger.
  3. Set an “Event name” that will identify your trigger.
  4. Select the action of your Applet. Depending on the action selected, a JSON body on the POST HTTP sent by BeoLiving Intelligence should be added. For the example showed in this document select the action “VoIP Calls” (IFTTT application must be installed in your phone).
  5. To know the URL that will fire your Applet its necessary to visit the IFTTT Webhook documentation and go to “Documentation”. The trigger URL will be shown. “{event}” value should be equal to the Event name you chose at point 3. Also the optional JSON body is mentioned at point 4.

Configuring Custom HTTP driver on BeoLiving Intelligence

Enter to the web-interface of BeoLiving Intelligence and follow the next steps:

  1. Add Custom HTTP system.
  2. At “Connection settings” of Custom HTTP driver insert constant prefix of your Applet trigger URL as the Base Url. For example, if the URL is https://maker.ifttt.com/trigger/myFabulousEvent/with/key/abcDFgHijK, insert just https://maker.ifttt.com/trigger/.

    Custom HTTP Connection Settings
  3. Go to Resources and add a “POST” resource with the rest of the URL at the resource address. For example, address equal “myFabulousEvent/with/key/abcDFgHijK”. Add as many resources as Applets you desire to fire. If it’s necessary (depending on your Applet) add the body of the request (check Custom HTTP system help for more information). In the case of the Applet that it’s being described in this tutorial, body request is not necessary.

    HTTP resources
  4. Create a Macro setting a SEND command on the Custom HTTP resource created at 4. Add the Event you prefer. In our example, this could be any physical button of your configuration. After pressing this button, the HTTP request will be fired and your phone will start ringing.

    HTTP macro

How to control Your BLI with the BeoRemote One

Introduction

Using your BeoRemote One, you may gain access to a BeoLiving Intelligence (BLI) through a Bang & Olufsen Smart TV.

The connection process between a BLI and a B&O TV is detailed in this tutorial.

You will be able to access the BLI’s webpanel to control all your home’s equipment (i.e. lights, shades, cameras, etc.) as well as trigger any macros you may have previously set up.

You will also be able to configure shortcuts to trigger Macros by pressing only a couple of buttons.

Adding your TV as a resource enables the possibility of controlling it through the BeoLiving App by selecting & controlling sources (Audio & video sources). But by setting up the connection through the TV, access to the HOME CONTROL panel is enabled along with the posibility to trigger macros through shortcuts on your control.

Configure and trigger shortcuts

As with the HOME CONTROL option on your BeoRemote’s LIST, you can find other options on the list: LIGHT and CONTROL.

To access any of these options menus, you have to enter the option (e.g. LIGHT) by pressing the right arrow so that the command functions are displayed (e.g. Morning, Home, Cinema, etc.).

By pressing any of these options (called Functions by the BLI), you are now able to fire events to the BLI that you can use to trigger Macros.

One may also fire events through LIGHT by simply highlighting LIGHT on the BeoRemote’s LIST and pressing numbers on the keypad which have been previously assigned to trigger macros.

By going to the Monitor tool on the web setup page, it is possible to view exactly the name of the events triggered with the functions.

Example

Select Light->Home function to turn on all lights on

  1. In the setup web page go to: Tools –> Monitor
  2. On the BeoRemote, press LIST, go to LIGHT, enter the menu by pressing the right arrow and select the HOME function.
  3. The monitor will show a message like: yy-mm-dd hh:mm:ss Event fired Test/local/AV renderer/BeoPlay-V1/Light?Action=Press&Command=FUNCTION_11 you now know that the HOME function is recieved by the BLI as FUNCTION_11.
  4. Go to Macros and create a Macro whos commands turn on all lights
  5. Add an event to trigger the macro
  6. Configure the event as follows:
    • Zone: Zone where the TV is located
    • Resource: TV
    • Event: Light
    • Action: Press
    • Command: FUNCTION_11

Press Light->0 to turn off all lights

  1. Repeat step 4 to 6 of the first example with two changes:
    1. Macro’s commands must turn off all lights
    2. Select Command: CIFFER_0_Digit_0

Business reception setup for TVs and doorbell

This guide shows an interesting Macro setup, inspired by a client who had various B&O TVs in the reception room of their business.

The client wanted the BLI to respond to somebody ringing the doorbell by turning on (if on standby) the TVs and showing the doorbell’s camera. After the receptionist has opened the door through any of the TVs, these should return to their previous state (before anybody rang).

This is easily set up through a LuaMacros code and implemented with the functions shown in the help section of the Macro writing page.

Installation configuration

Let us explain our fictitious installation, we have configured an Area called “Reception” and a Zone where all the television resources will be (which we called “TVs”).

The amount and name of the TVs are not relevant but the idea would be that no other B&O Audio equipment be assigned to this Zone.

We will also work with a DoorBird smart door station, these stations don’t send an Event notification when the OPEN_DOOR command is sent through a gateway, this event is needed to know when to close the Home Control panel again.

The workaround is to Hide the direct access to the OPEN_DOOR button on the Interfaces panel, add a Virtual Device button and create a Macro that does PRESS on both the OPEN_DOOR button and the virtual “StateButton” which will send an Event when saying that it has been pressed.

Our Lua code waits for this PRESS on the code line:

engine.wait_until("Reception/TVs/BUTTON/DoorState/PRESS", 80, 0)

If nobody opens or the door is opened phisically, after 80 seconds the programe advances to the next line.

DoorBird open door macro

The Macro for the DoorBird should simply execute two commands. One should send the command to the doorbell to open the door, the other should select PRESS on a virtual resource BUTTON.

DoorBird Macro

Lua Macro code

As well as the Lua code that goes in the commands section, an event has to be added that executes the Macro when the DoorBird’s button is pressed.

Event to execute the Macro

Next, we will explain the main three block that form our Lua code:

A query is done on AV renderers in TVs and the televisions that are turned off are set to a source to turn them on (we choose the source to be TV):

  init_tvs = engine.query("Reception/TVs/AV renderer/*")
  for i=1,#init_tvs do
    init_state=tostring(init_tvs[i].get("state"))
    if init_state=="Stop" or init_state=="None" then
      offname=tostring(init_tvs[i].name())
      Error(offname)
      engine.fire("Reception/TVs/AV renderer/"..tostring(init_tvs[i].name()).."/Select source?Connector=&Origin=local&Source Type=TV")
    end
  end

Once all the televisions are on, a HOME CONTROL command is sent. The door camera will now appear on the TVs alongside a button to fire the Open Door Macro:

  if tostring(init_tvs[1].get("state"))~="Play" then
    engine.wait_until("Main/Home Theater/AV renderer/"..tostring(init_tvs[1].name()).."/STATE_UPDATE?state=Play",15,0)
  end
 
  engine.fire("Reception/TVs/AV renderer/*/Send command?Command=HOME CONTROL&Continue type=short_press")
  engine.wait_until("Reception/TVs/BUTTON/DoorState/PRESS", 80, 0)

Once the door is open we leave the camera on for five seconds to see the visitor come in and then return all the televisions to their initial state:

  engine.delay(5,0)
  engine.fire("Reception/TVs/AV renderer/*/Send command?Command=BACK&Continue type=short_press")
 
  for i=1,#init_tvs do
    init_state=tostring(init_tvs[i].get("state"))
    if init_state=="Stop" or init_state=="None" then
      engine.fire("Reception/TVs/AV renderer/"..tostring(init_tvs[i].name()).."/Standby")
    end
  end
 
end