HTMLRemote Logo

Simple Demo Page


The demonstration below shows some simple operations, and uses simple javascript to obtain the result.
The javascript is therefore only for demonstration purposes.

1- GlobalCaché Communication

A GlobalCaché extender has three different types of communication

  • ir
  • serial
  • raw

General GC parameters

Global Caché IP :

Global Caché initial port :

Raw command


Ir command

Serial command

This command allows to set the volume of a Bose Lifestyle up to 48, and V20 and V30 series
The Set Volume button reads the value of the first text box, sends it to the Bose system (using a GlobalCaché extender on the specified serial port).
Note that the Global Cache initial port is used, but it is incremented by 1 for ser1 (i.e. port 4999) and 2 for ser2 (i.e. port 5000)

ser1 ser2

Bose V30 Volume :

The next 3 demo show 3 examples of how to send an arbitrary serial command to the ser1 or ser2 port (see radio buttons above).

  • The first is a simple string
  • The second is a string containing hex characters, using the \xNN format
  • The third is a string containing hex characters, using the %NN format
The response is printed below the button

General serial command 1 :
General serial command 2 :
General serial command 3 :

General serial command 4 : \x0B\x00\x01\x04\xA0\x01\x64\x00\x00\x00\xCB

Some hex conversion help

Hexadecimal commands need to be interpreted correctly. The fields below allow te experiment with the applied conversion.

Using myuremoteContext

We can also send the command using the myuremoteContext

2- Rest request

Direct Rest request

This part shows how to communicate to a Philips television using the Rest protocol.
Here you can specify your television's ip address and port (default 1925), and from the drop down box, select a command

Using myuremoteContext

Or do the same using the client configuration (file clientconfig.js).
This file defines two objects :

  • extenders : a list of custom extenders (GlobalCaché, Rest)
  • client_devices : the list of devices specific to you, and it's configuration
    For each client device, one must specify :
    • label : the name of the device (e.g. "TV living room", "Blu-ray", ...)
    • type : the type of device, as defined in the devices.js file
    • extender : the name of the extender as defined in the extenders object
    • extenderParams : an object containing additional parameters for the extender.
      For a GlobalCaché extender, the extenderParams object contains the module to which your device is attached
    • aliases : a map of custom aliases for the standard button names. It's up to your html application to use the alias or the standard name

Log History