Asus O!Play

evasmolders edited this page Jan 15, 2017 · 4 revisions
Clone this wiki locally

These instructions have been tested on Asus O!Play HD2 Media Player. The same instructions may also work on older models R1, R3, etc. This how-to document is work of OpenRemote community. We wish to thank all those who contribute.

Creating the commands in OpenRemote Online Designer

Create your account on OpenRemote Designer. Once logged in, follow the steps below:

Create New Device

Switch to the "Building Modeler" tab and create a new Asus O!Play device in your configuration as shown in the screenshot below:

Asus O!Play - Step1

Enter the device details into the dialog. You can use whatever names and model types you like here. See below:

Asus O!Play - Step2

Once done, click on the 'Next' button in the dialog to enter the device command information.

Enter Asus O!Play Commands

Next you will see a new device dialog with empty set of commands, switches, sensors, etc. Start by adding commands to your Asus O!Play HD2 device by clicking 'Add Command' button as shown below.

Asus O!Play - Step3

Choose HTTP as your command protocol. Give each command a descriptive name, such as 'Up', 'Down', 'Mute', 'Menu', 'Return', etc.

Asus O!Play - Step4

Once you choose HTTP as your command protocol, and additional URL attribute appears on the dialog which you need to fill in. Example URLs for your Asus O!Play HD2 Media Player are shown below. Match each of your command names (such as 'Up', 'Down', 'Mute', etc.) to the corresponding URL and change 'PLAYER_ADDRESS' to your media player IP address. You can copy and paste the URL strings from the table below.

Asus O!Play - Step5

TIP: When entering commands, you can make your job a little easier by using the 'Submit and continue' button in the dialog. This way you only need to re-enter the values that change between commands, i.e. the command name and the '&command=return' value. Don't forget to change 'PLAYER_ADDRESS' to your media player IP address (e.g. http://192.168.1.149/www/cgi-bin/IpodCGI.cgi?id=0&command=return).

Command Name and Command URL

Special notice about the power command: this command only shuts down the media player, it doesn't allow to wake up the device.

Once you've entered all the commands you intend to use, click on the 'Submit' button on the last command, and your list of commands will appear on the 'New Device' dialog.

Asus O!Play - Step6

Click on 'Finish' on this dialog if you want to continue to adding user interface elements for your commands.

Switches, sensors and sliders are not relevant for the Asus O!Play integration since at the moment only one-way write commands (and no read commands for device status) are available.

Design Your User Interface

Switch to the 'User Interface Designer' tab and create a new panel interface. You can drag and drop UI elements onto the screen and associate your newly created Asus O!Play commands to them.

With the one-way write commands, the button is the most relevant UI widget to use (there's no way to read the current status from the media player at the moment). You can use grids to help you align your button widgets.

Once you've placed the buttons, associate them with the Asus O!Play commands you created previosly, as shown in the image below:

Asus O!Play - Step7

You can further use the UI designer to upload your customized button faces into your design. Or use some of the default button images available in the designer.

Asus O!Play - Step8

Once done, follow the instructions on how to install your controller (if you haven't done so already) and how to synchronize your UI design and Asus O!Play commands with the controller and your iOS or Android device.

See Also