User Manual

Pearl-2 User Guide Controlling Pearl-2 using HTTP/HTTPScommands
Third party applications like wget
If you’re using a third party application like wget to send commands to Pearl-2, always include the admin
username and password when viewing or setting configuration items.
Specify your Pearl-2’s IP address, password and the key(s) or value(s) you want to query using the following
syntax. Note that your system may require use of single quotes around the password to handle special
characters such as exclamation marks. You can substitute https for http in the urls.
get_param using wget:
wget --http-user=admin --http-passwd=<password> http://<address>/admin/channel<N>/get_
params.cgi?<key>[&<key>]
set_param using wget:
wget --http-user=admin --http-passwd=<password> http://<address>/admin/channel<N>/set_
params.cgi?<key>=<value>[&<key>=<value>]
Where <address> is the IP address of the Pearl-2, channel<N> is the channel number (i.e. channel2 for
channel number two), key is the configuration key for the item being checked or changed (see
Configurationkeys forthirdparty APIs ), and value is the value to set for the configuration item.
Global variable HTTP commands for custom layouts
Pearl-2 can create global variables using HTTP commands embedded in custom layout as responsive text
overlay elements. See Add a text overlay for information about adding a global variable into a custom layout.
You cannot substitute https for http in the global variable HTTP commands.
Important considerations for global custom layout variables
l Each system variable must have its own unique name
l System variable names and variable values are case sensitive
l Each variable name must start with a letter or underscore sign and is followed by any combination of
letters, digits and underscore characters [A-Za-z_0-9]{0,32} to a limit of 32 total characters (note that
saving an empty string to a variable will clear the variable value)
l There is a limit of 1024 total unique system variables per Pearl-2 system.
l System variables can be used in text labels across any number of channels.
432