Access Keys:
Skip to content (Access Key - 0)

Integrate Asus O!Play HD2 Media Player with OpenRemote

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 Online 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:

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

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.

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

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.

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 NameCommand URL
OK http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=select
Return http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=return
Left http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=left
Right http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=right
Up http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=up
Down http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=down
Fast forward http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=ffwd
Fast rewind http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=frwd
Setup http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=setup
Power http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=power
Mute http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=mute
Pause http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=pause
Play http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=play
Stop http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=stop
Display http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=display
Option http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=option
Next http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=next
Previous http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=prev
Repeat http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=repeat
Caption http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=subtitle
Language http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=audio
Zoom http://PLAYER_ADDRESS/www/cgi-bin/IpodCGI.cgi?id=0&command=zoom

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.

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:

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.

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.

Further Reading

Added by Juha Lindfors , last edit by RPM on Jul 23, 2011 00:39

  1. Jul 22, 2011

    RPM says:

    I wish to thank Juha for adding this how-to page based on my implementation. Th...

    I wish to thank Juha for adding this how-to page based on my implementation.

    There's a new media player from Asus out there (the Asus O!Play Gallery), but I think it has the same basis from the HD2. It brings new features so maybe it has new cgi commands. I will try to find out and keep this page updated.

    Still searching for the volume up/down commands...

    If someone has the new O!Play Gallery and would like to test the above available commands with OpenRemote, please share your adventure with us.

    Ricardo Pinto
© 2008-2011 OpenRemote Inc. OpenRemote is a trademark of OpenRemote, Inc.
Adaptavist Theme Builder (3.3.3-conf210) Powered by Atlassian Confluence 2.10.3, the Enterprise Wiki.
Free theme builder license