Wildcard HTTP(s) Post

$75.00

The CPLLC Wildcard HTTP(s) Post is a Crestron Home tile with a page of up to 10 commands, each of which sends an HTTP or HTTPS POST request with a body.

SKU: CPLLC.Wildcard.HTTPPost Category:

Description

Requires Crestron Home OS 4.12 or later.

The CPLLC Wildcard HTTP(s) Post is a Crestron Home tile with a page of up to 10 commands, each of which sends an HTTP or HTTPS POST request with a body. The installer enters a Base URL once, and each command in one installer setting as name|icon|rest of the URL|payload: the button’s name, its icon (from the Crestron Home icon library), the part of the URL that follows the Base URL, and the text sent as the request’s body, typically JSON. Pressing a command, on the page or from a sequence, sends a POST to the Base URL followed by that command’s rest of the URL, with its payload, and runs the command’s “Pressed <name>” event. It suits webhooks, alarm and automation triggers, and REST calls that take a body. Bearer Token, Basic Authentication and up to two custom headers (such as an X-API-KEY) are supported.

Drivers->Custom Device->Control Programming LLC->Wildcard – HTTP(s) Post (Latest OS3 Release Notes) (Download OS3 Latest Version)

Drivers->Custom Device->Control Programming LLC->Wildcard – HTTP(s) Post (Latest OS4 Release Notes) (Download OS4 Latest Version)

Windows utility that simplifies sideloading of drivers and extensions.

Valid Crestron Home icon names are listed here. All icon names begin with the letters “ic”, for example “icStop” or “icPlay”.

The extension’s own license key, a CPLLC Toolkit license key or a CPLLC site license key is entered in the extension’s Enter License Key option. The License Manager is not required, but it is the convenient place to enter a Toolkit or site license key once for every CPLLC driver it covers.

All license purchases are final and non-refundable. Every CPLLC driver works fully for two hours without a key: test it on your processor before you buy. See the Terms of Use.

Installer Options

  • Obtain License Key – Opens CPLLC.net, where license keys and site licenses can be purchased.
  • Enter License Key – The Wildcard HTTP(s) Post license key. Leave blank when the site has a CPLLC Toolkit or site license.
  • Show on Home Screen – Shows the tile on the Home screen (default off).
  • Show in Room Screen – Shows the tile in its room (default on).
  • Starting Pin Code – A numeric PIN that must be entered before the commands are shown. Blank means no PIN (the default). A new Starting Pin Code replaces a PIN changed from the keypad, so a forgotten PIN can be reset here.
  • Seconds Pin Active – How long the commands stay unlocked after the last touch (default 10 seconds; 0 also means 10).
  • Tile Icon – The tile’s icon until the first command is pressed (default icList).
  • Page Header Text – The control page’s title, and the tile’s status until the first command is pressed. Blank shows “HTTP Post”.
  • Command 01 – 10 – The command in one box, as Parameter 1|Parameter 2|Parameter 3|Parameter 4: parameter 1 is the command name, parameter 2 is the icon, by its name in the Crestron Home icon library, parameter 3 is the rest of the URL, added to the Base URL exactly as typed, and parameter 4 is the payload, sent as the body (for example Play|icPlay|?scene=Play|{“scene”:”Play”}). The name also names its event (“Pressed <name>”) and its entry in Select Command. Leave the box blank to hide the command; a command with no rest of the URL posts to the Base URL alone, and one with no payload sends an empty body. Give each command a different name: Select Command sends the first one with the name chosen.
  • Use HTTPS – Checked to send with https://, unchecked for http:// (default checked).
  • Base URL – Required. The start of every request, after the https://, such as www.example.com/api. A Base URL typed with http:// or https:// at its start is used as typed, whatever Use HTTPS says.
  • Bearer Token – If the server needs one, the token, sent as an Authorization: Bearer header. When entered, Basic Authentication is not used.
  • Basic Authentication Username / Password – If the server needs Basic Authentication, its username and password; used only when both are entered and there is no Bearer Token.
  • Header 1 / Header 2 – A header sent with every request, as name|value (for example X-API-KEY|abc123). Leave blank if not used; an entry without a name or a | is ignored.

Actions

  • Select Command – Sends the command chosen from the list of command names, as a touch on the page does: its POST is sent, its Pressed event runs and the tile shows it.
  • Extension Enable / Extension Disable – Enables or disables the tile. A disabled tile shows Disabled and ignores the commands.

Events

  • Pressed <name> – The command was pressed, from the page or by Select Command, and its POST was queued.
  • Extension Enabled / Extension Disabled – The tile was enabled or disabled.
  • Pin Locked / Pin UnLocked – The PIN keypad locked again, or the right PIN was entered.
  • Extension Is Enabled Changed – Crestron Home’s own event for each of the states a sequence can test, raised whenever that state changes.

States

  • Extension Is Enabled – True while the extension is enabled, False while it is disabled.

Crestron and Crestron Home are trademarks of Crestron Electronics, Inc.

Additional information

Crestron Home OS Version

OS3, OS4