Driver Type
Categories
- Recent Updates
- Access Control
- Amplifier
- A/V Receiver
- Climate and Pool Control
- Disc Player / Changer
- Display
- DSP
- DVR
- Irrigation / Sprinklers
- Lighting Control
- Matrix Switch
- Media Server and Player
- Multi-Room A/V
- Networking
- Power and Rack Management
- Security
- Surveillance
- Teleconferencing
- Training
- Tuner
- Utility
- Video Projector
Driver Type
Categories
- Recent Updates
- Access Control
- Amplifier
- A/V Receiver
- Climate and Pool Control
- Disc Player / Changer
- Display
- DSP
- DVR
- Irrigation / Sprinklers
- Lighting Control
- Matrix Switch
- Media Server and Player
- Multi-Room A/V
- Networking
- Power and Rack Management
- Security
- Surveillance
- Teleconferencing
- Training
- Tuner
- Utility
- Video Projector
HTTP Toolkit
By: David Bowdler
Updated: Oct. 29, 2026
HTTP Toolkit
A general-purpose HTTP/HTTPS utility driver for RTI. Talk to any REST API or HTTP-controllable device - cloud bridges, IoT gateways, Wi-Fi smart switches, media servers, weather and automation APIs - without waiting for a custom driver. The same proven engine as our RS-232 and TCP Toolkits, talking HTTP instead of a serial port or raw socket.
Key Features
- 50 Commands: Pre-define up to 50 named requests fired from any macro as SendSlot1-SendSlot50, each with its own Method (GET/POST/PUT/PATCH/DELETE/HEAD/OPTIONS), URL Path, Body and Content-Type.
- 80 Live Feedbacks: 20 each of Boolean, Integer, String and Enum - match patterns against every HTTP response body and write live values straight into system variables.
- Authentication: Built-in Authorization header for OAuth/JWT (Bearer ...) and HTTP Basic (Basic ...). Set once, sent on every request.
- HTTPS / TLS: Automatic SSL handshake for https:// APIs; flip to plain HTTP for LAN devices without certificates.
- Browser Control Page: A control + authoring page on the processor (port 9033) fires any command and captures feedback patterns live from the real device with Send & Capture.
- Per-Command Events: SLOT[N]_SENT on every send, plus MATCHED / CHANGED events on every feedback for clean macro logic.
- Worked Example Included: A ready-to-import live-weather .driverconfig ships in the driver's examples folder - pulls temperature, humidity and wind into system variables in minutes, and you can verify it in a browser.
Requirements
- An HTTP/HTTPS-controllable device or REST API reachable from the processor
- RTI XP processor (runtime 24+, Integration Designer 11.4+)
- The device's API details (endpoint paths, any auth token) - from its documentation or a packet capture
How It Works
You author each request - Method, Path, Body, Content-Type - in the driver's properties (or import a ready-made .driverconfig), and set the target Host, port and any Authorization header. Macros fire requests as SendSlot1 through SendSlot50. The driver watches every response body and updates Boolean, Integer, String and Enum system variables from the patterns you define, so a touch panel button can reflect the device's real state. A browser page on port 9033 lets you fire commands and capture feedback patterns from the live device, no API documentation required.
HTTP Toolkit | Version 1.17
Introduction
A general-purpose HTTP/HTTPS utility driver. Talk to any REST API or HTTP-controllable device (cloud bridges, IoT gateways, smart switches, media servers, weather APIs) by pre-defining up to 50 HTTP requests your macros can fire as "Send Slot N". Each command has its own Method, Path, Body and Content-Type. Up to 80 feedbacks (20 Boolean + 20 Integer + 20 String + 20 Enum) match against response bodies. Browser test page on port 9033.
Version History
- 1.17 (2026-10-29) - Documentation update.
- 1.16 (2026-10-29) - The debug console's status command now works on every Toolkit, and a console command that fails reports the error instead of going silent. Verified on an XP-6s.
- 1.15 (2026-10-29) - The web page now sends one request at a time and retries any request that gets no answer, so it keeps updating and button presses get through on processors that answer only one web connection at a time (seen on the ICP-2). The page also no longer asks for a browser tab icon. The 15-minute trial is now timed by the processor's own one-minute counter, never the clock. On an ICP-class processor the clock reads UTC for about a minute after boot and then jumps to local time, which could show the trial as expired straight away. A licence key pasted with spaces or line breaks is now accepted, a key that reaches the processor a little after start-up is picked up automatically, and a blocked send is logged. Added the RTI-standard License Status and Connection State variables, and the Connection Failed, Custom ASCII Sent, Custom Hex Sent and Trial Warning events (they were sent but not listed). Log lines carry the server address and port, so several HTTP Toolkits on one processor can be told apart in TraceView. Connection settings are now the first category in Driver Properties. Settings are read safely while Integration Designer is still sending configuration. All existing variable, function and event names are unchanged.
- 1.14 (2026-05-31) - Release before 1.15.
- 1.00 - 1.13 (May 2026) - First releases, sharing the Toolkit engine with the RS-232, TCP and UDP Toolkits: 50 HTTP requests with their own method, path, body and content type, 80 feedbacks matched against response bodies, Authorization and User-Agent headers, HTTPS. Settings and the server address are re-read automatically if they arrive after start-up.
Driver Features
Commands (TX)
Set "Number of Commands" (0-50). Each command exposes its own settings category:
- Display Name: friendly label
- HTTP Method: GET / POST / PUT / PATCH / DELETE / HEAD / OPTIONS
- Path: the URL path starting with / (e.g. /api/v1/status). The host comes from the HTTP Connection section.
- Body: request payload for POST/PUT/PATCH. Leave blank for GET/HEAD/DELETE.
- Content-Type: applied to the body. Defaults to application/json.
Macros call commands by export name "SendSlot1" through "SendSlot50". Each fires a "SLOTN_SENT" event when used.
Feedbacks (RX)
Four feedback types, 20 of each. Match patterns against the RESPONSE BODY of every command and write to sysvars. Boolean (ON + OFF), Integer (prefix extracts first int), String (prefix captures full body), Enum (pattern-to-label list, first match wins).
HTTP Specifics
- One request at a time. If a SendSlotN is fired while another request is still in flight, the new request is refused.
- 15-second timeout per request.
- Per-request connections (Connection: close). No keep-alive.
- TLS is handled by the RTI HTTP object's StartSSLHandshake(). For self-signed certs you may need to set HTTPS off and use plain HTTP on the device's LAN port.
Multiple Toolkit drivers on one processor
HTTP Toolkit can run alongside RS-232 Toolkit, TCP Toolkit, and UDP Toolkit. Each driver:
- Has its own unique driver GUID
- Defaults to a different Web Interface port (9030 = RS-232, 9031 = TCP, 9032 = UDP, 9033 = HTTP)
- Uses its own licence seed (separate keys per driver)
- Has its own sysvars, events, and macro picks in IDesign
Supported Devices
Any REST API or HTTP-controllable device that accepts a single request and answers with a text body - cloud bridges, IoT gateways, smart switches, media servers and web APIs. No particular device is certified. Tested by Smart Home Programming against a local HTTP test server. Test the trial against your own device before buying a key.
System Requirements
- Integration Designer - 11.4 or above
- RTI processor - XP-8 class (XP-3 / XP-6 / XP-6s / XP-8 / XP-8s / XP-8v)
- Processor script runtime - 24 or above
Device Setup
In Driver Properties:
- Host: hostname or IP of the API server. Example: api.example.com or 192.168.1.50. Do NOT include http:// or https://.
- HTTPS (TLS): on by default. Use TLS to talk to https:// servers. Turn off for plain http:// servers.
- Port: 443 default for HTTPS, change to 80 (or whatever) for plain HTTP.
- Authorization Header: sent on every request as the Authorization: HTTP header. Examples: "Bearer eyJhbGc..." for OAuth/JWT, "Basic dXNlcjpwYXNz" for HTTP basic auth.
- User-Agent: optional, sent on every request.
- Enable Web Interface: on by default, port 9033.
Driver Configuration
Connection Settings
- Host - Hostname or IP of the target server. Examples: api.example.com, 192.168.1.50. Do NOT include http:// or https:// — use the HTTPS setting below for that.
- HTTPS (TLS) - default
true- Use HTTPS (TLS). Defaults to true; set false to talk to plain HTTP servers (development boxes, IoT devices without certs). - Port - default
443- TCP port of the HTTP server. Defaults to 443 (HTTPS) / 80 (HTTP) — change only for non-standard servers. - Authorization Header - Sent as the Authorization: HTTP header on every request. Examples: 'Bearer eyJhbGc...' for OAuth/JWT, 'Basic dXNlcjpwYXNz' for HTTP basic. Leave blank for no auth.
- User-Agent - default
RTI-HTTP-Toolkit/1.00- User-Agent header sent with every request. Some APIs require a specific user-agent string.
Licence
- Licence Key - 32-character HMAC-MD5 hex key issued by Smart Home Programming. The driver displays its MAC address in the LicenceStatus / MACForKey sysvars and in the web UI - send that MAC to david@smarthomeprogramming.com.au to receive your key.
Web Interface
- Enable Web Interface - default
true- Hosts a control page on the processor. Disable for production if you do not want the port exposed. - Web Port - default
9033- TCP port the control page listens on. Default 9033 to avoid conflict with the other Toolkit drivers (9030 = RS-232, 9031 = TCP, 9032 = UDP, 9033 = HTTP) if multiple are on the same processor.
Command Library
- Number of Commands - default
5- 0-50. Each command exposes a Send function and event tag. Commands beyond the count are hidden.
Feedback Library
- Number of Boolean Feedbacks - default
5- 0-20. Each Boolean FB has an ON pattern and an OFF pattern. - Number of Integer Feedbacks - default
5- 0-20. Each Integer FB has a prefix; the first integer after the prefix is captured. - Number of String Feedbacks - default
5- 0-20. Each String FB has a prefix; the entire response body is captured when the prefix is found. - Number of Enum Feedbacks - default
5- 0-20. Each Enum FB has a pipe-separated list of pattern=>label pairs; the first matching label is captured.
Command N (N = 1-50, same for each)
- Display Name - default
Command 1- Friendly label shown in macro dropdowns and on the web page. - HTTP Method - default
GET- HTTP verb. GET/HEAD/DELETE typically have no body; POST/PUT/PATCH carry the body field below. - Path - default
/- Request URL path with leading slash. Examples: /api/v1/status, /devices/42/power, /search?q=foo&limit=10. Hostname comes from the HTTP Connection section above. - Body - Request body for POST/PUT/PATCH. Leave blank for GET/HEAD/DELETE. Example JSON: {"volume":50,"mute":false}.
- Content-Type - default
application/json- Content-Type header for the request body. Picked automatically based on the body format you use.
Boolean Feedback N (N = 1-20, same for each)
- Display Name - default
Bool Feedback 1- Friendly label for this feedback. - Category - default
General- Group label for the web UI. - ON Pattern - Substring (or full response) the matcher looks for to set this feedback ON. Empty = disabled.
- OFF Pattern - Substring (or full response) the matcher looks for to set this feedback OFF. Empty = disabled.
Integer Feedback N (N = 1-20, same for each)
- Display Name - default
Int Feedback 1- Friendly label. - Category - default
General- Group label. - Prefix - When the response body contains this prefix string, the FIRST integer that appears AFTER the prefix is written to the feedback's Int sysvar.
String Feedback N (N = 1-20, same for each)
- Display Name - default
Str Feedback 1- Friendly label. - Category - default
General- Group label. - Prefix - When the response contains this prefix, the FULL response is captured to the feedback's Str sysvar.
Enum Feedback N (N = 1-20, same for each)
- Display Name - default
Enum Feedback 1- Friendly label. - Category - default
General- Group label. - Patterns (pipe-list) - Pipe-delimited 'pattern=>label' pairs. First match wins. Example: PWR=01=>On|PWR=00=>Off. Author via web UI for best UX.
Licensing
15-minute trial on every driver load. After 15 minutes, send operations refuse until a valid licence key is entered.
To obtain a licence key:
- Install the driver. The MAC For Key sysvar (or the web UI banner) shows your processor's MAC address.
- Email that MAC to david@smarthomeprogramming.com.au.
- Paste the 32-character key into the "Licence Key" field.
Licence keys are per-processor AND per-driver. An HTTP Toolkit key won't unlock the TCP Toolkit.
Functions
Send Custom Command
- Send ASCII Text - Text
- Send Hex Bytes - Hex
Connection
- Reconnect
Send Slot
- Send Command N: {cfgstrSlotNName} (N = 1-50)
Variables
Licence
- Licence Status - string
- Licence Valid - boolean
- MAC For Key - string
- Trial Active - boolean
- Trial Expired - boolean
- Trial Time Remaining - string
- License Status - string
- License Status - Licensed - boolean
- License Status - Trial - boolean
- License Status - Unlicensed - boolean
Connection
- Port - string
- Connected - boolean
- Connection State - integer (0=Disconnected, 1=Connected)
- Connection State - Disconnected - boolean
- Status - string
Traffic
- Last TX (ASCII) - string
- Last TX (Hex) - string
- Last RX (ASCII) - string
- Last RX (Hex) - string
- Last RX Time - string
- TX Count - integer
- RX Count - integer
- Error Count - integer
Web Interface
- Web UI URL - string
- Web UI Listening - boolean
Command N: {cfgstrSlotNName} (N = 1-50, same for each)
- {cfgstrSlot1Name} Name - string
Boolean Feedback N: {cfgstrBoolFbNName} (N = 1-20, same for each)
- {cfgstrBoolFb1Name} Name - string
- {cfgstrBoolFb1Name} Category - string
- {cfgstrBoolFb1Name} State - boolean
- {cfgstrBoolFb1Name} Last Response - string
Integer Feedback N: {cfgstrIntFbNName} (N = 1-20, same for each)
- {cfgstrIntFb1Name} Name - string
- {cfgstrIntFb1Name} Category - string
- {cfgstrIntFb1Name} Value - integer
- {cfgstrIntFb1Name} Last Response - string
String Feedback N: {cfgstrStrFbNName} (N = 1-20, same for each)
- {cfgstrStrFb1Name} Name - string
- {cfgstrStrFb1Name} Category - string
- {cfgstrStrFb1Name} Value - string
- {cfgstrStrFb1Name} Last Response - string
Enum Feedback N: {cfgstrEnumFbNName} (N = 1-20, same for each)
- {cfgstrEnumFb1Name} Name - string
- {cfgstrEnumFb1Name} Category - string
- {cfgstrEnumFb1Name} Index - integer
- {cfgstrEnumFb1Name} Label - string
- {cfgstrEnumFb1Name} Last Response - string
Events
Connection
- Connected
- Disconnected
- Connection Failed
Traffic
- TX Sent
- RX Received
- Custom ASCII Sent
- Custom Hex Sent
Licence
- Trial Started
- Trial Warning (3 minutes left)
- Trial Expired
- Licence Activated
Commands
- {cfgstrSlotNName} Sent (N = 1-50)
Boolean Feedback Matches
- {cfgstrBoolFbNName} Matched (N = 1-20)
- {cfgstrBoolFbNName} Changed (N = 1-20)
Integer Feedback Matches
- {cfgstrIntFbNName} Matched (N = 1-20)
- {cfgstrIntFbNName} Changed (N = 1-20)
String Feedback Matches
- {cfgstrStrFbNName} Matched (N = 1-20)
- {cfgstrStrFbNName} Changed (N = 1-20)
Enum Feedback Matches
- {cfgstrEnumFbNName} Matched (N = 1-20)
- {cfgstrEnumFbNName} Changed (N = 1-20)
Autoprogramming Support
Drop these tags on a button to wire it automatically (command = the press, feedback = the button state).
| Tag | Wires | |---|---| | BoolFb N (N = 1-20) | feedback | | Command N (N = 1-50) | feedback | | EnumFb N (N = 1-20) | feedback | | IntFb N (N = 1-20) | feedback | | StrFb N (N = 1-20) | feedback |
Limitations
- One request at a time. A request fired while another is still waiting for its answer is refused.
- Each request times out after 15 seconds.
- Every request opens a new connection (Connection: close); keep-alive is not used.
- Feedbacks match the response body text; JSON is not parsed into separate fields.
- One server (host and port) per driver instance.
- Enum pattern lists longer than about 250 characters may not survive a reboot. Keep lists short.
- Settings cannot be changed while the driver is running: edit Driver Properties and send the project again.
- The trial restarts each time the driver is loaded.
Support Contact
- Smart Home Programming and Automation - David Bowdler
- Email - david@smarthomeprogramming.com.au
- Web - https://smarthomeprogramming.com.au
This driver requires a licence key tied to your RTI processor's MAC address.
- Trial: 15-minute fully functional trial on every driver load - no key required
- Purchase: Visit https://smarthomeprogramming.com.au/store/ to buy a licence
- Licence is per-processor AND per-driver - one key per XP processor; an HTTP Toolkit key won't unlock the TCP Toolkit
- The "MAC For Key" system variable (and the web UI banner) shows the MAC to send at checkout