Driver Details

New Community

UDP Toolkit

By: David Bowdler
Updated: Oct. 29, 2026
Download Driver Purchase License
Rating: 0.0 (0 ratings)
Log in to rate this driver

UDP Toolkit

Plenty of AV and automation gear is controlled over UDP rather than a connection-based socket - broadcast scene triggers, Wake-on-LAN, discovery beacons and a long tail of projectors, matrix switchers and gateways that simply listen for datagrams. The UDP Toolkit turns an RTI XP processor into a two-way controller for any of them. Pre-define up to 50 commands your macros fire by name, and independently watch incoming datagrams with up to 80 feedback patterns that drop live values straight into RTI system variables. A built-in browser page lets you author and capture the protocol from the live device - no Integration Designer restart.

Key Features

  • 50 command slots: each fires from any macro as SendSlot1 through SendSlot50, with its own name, ASCII or hex payload and terminator.
  • 80 feedback slots: 20 each of Boolean, Integer, String and Enum, matching incoming datagrams and writing live values to system variables.
  • Both UDP styles: fire-and-forget (Wake-on-LAN, broadcast scene/zone triggers - no reply expected) and two-way (the device replies on a known port).
  • Send & Capture web UI: a browser page on port 9032 to fire commands, watch the live traffic log, and author feedback patterns by clicking buttons on the real device.
  • Local Port control: set the exact port the driver listens on for replies, so two-way UDP protocols (SSDP, mDNS, and most commercial AV UDP control) deliver feedback reliably.
  • Flexible framing: split incoming datagrams on CR, LF, CR+LF, a custom hex delimiter, or take raw bytes for binary protocols.
  • Import/export .driverconfig: save an authored command-and-feedback surface and reuse it across projects. A ready-made generic two-way UDP device example ships in the driver's examples folder, validated against a bundled test server.
  • Events for everything: a SENT event per command, plus MATCHED and CHANGED events per feedback.

Requirements

  • RTI XP processor (XP-8 or compatible) running Integration Designer 11.4+ (runtime 24+).
  • A target device reachable over UDP/IP on the same network. For two-way control, know the port the device replies on (its "Local Port").
  • For the web authoring UI: any browser on the same LAN (default port 9032, configurable).

How It Works

Point the driver at your device's IP (or a broadcast address) and UDP port, then build your control surface either in Integration Designer Driver Properties or in the browser UI - both edit the same storage. Commands transmit on demand from macros. For two-way devices, set the Local Port to the port the device sends its replies to; the driver parses each incoming datagram against your feedback patterns and keeps the matching system variables current, so touch panels show real device state. When a response varies by model or firmware, the web UI's Send & Capture button re-authors the pattern from the live device in seconds. It is the same proven engine as our RS-232 and TCP Toolkits, switched to UDP/IP transport.

UDP Toolkit | Version 1.08

Introduction

A general-purpose UDP/IP utility driver. Same architecture as the RS-232 and TCP Toolkit - just talks UDP datagrams instead. Pre-define up to 50 UDP commands your macros can fire as "Send Slot N", and independently pre-define up to 80 feedback patterns (20 Boolean + 20 Integer + 20 String + 20 Enum) that watch incoming UDP traffic and write to sysvars. Browser test page on port 9032 for ad-hoc command entry, live capture, and per-feedback authoring.

Version History

  • 1.08 (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.07 (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 device address and port, so several UDP 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.06 (2026-06-25) - Release before 1.07.
  • 1.00 - 1.05 (May - June 2026) - First releases, sharing the Toolkit engine with the RS-232 and TCP Toolkits. The receive socket is opened shortly after start-up (a socket opened during script load never receives). Listener Bind setting for processors with more than one network interface.

Driver Features

Commands (TX)

Set "Number of Commands" (0-50). Each command exposes its own settings category: Display Name, Data Format (ASCII or Hex), Command Data, Terminator.

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 incoming RX patterns, write to sysvars. Boolean (ON + OFF), Integer (prefix extracts first int), String (prefix captures full RX), Enum (pattern-to-label list, first match wins).

Author via IDesign Driver Properties OR the web UI's per-tile gear icon. Web UI Send + Capture authors patterns from live device replies.

Multiple Toolkit drivers on one processor

UDP Toolkit can run alongside RS-232 Toolkit, TCP Toolkit, and HTTP Toolkit on the same RTI processor. 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 device controlled with UDP datagrams in ASCII text or binary bytes, including broadcast triggers and Wake-on-LAN style packets, where replies (if any) come back to a fixed, known port. No particular device is certified. Tested by Smart Home Programming against a UDP echo server that replies to a fixed port. 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: target IP address or hostname (where to send datagrams). Example: 192.168.1.50 or 255.255.255.255 for broadcast.
  • Port: target UDP port. Common AV defaults: 53 (DNS-style), 161 (SNMP-style), 9 (Wake-on-LAN), 5353 (mDNS).
  • Local Port: where to bind locally to receive replies. Leave 0 to use the same port as the target.
  • Listener Bind: leave on "All Interfaces" for normal use. Switch to "Processor IP only" only if the processor has more than one network interface (e.g. a VPN/Tailscale adapter) or a firewall is blocking the all-interfaces bind and replies are not arriving.
  • Receive Framing: how to split incoming bytes into messages.
  • Enable Web Interface: on by default, port 9032.

UDP is connectionless. The driver shows "Connected" once the local socket is bound; there is nothing to reconnect if a device goes offline (no link to drop).

Important: how UDP replies are routed. Each outgoing datagram from this driver uses a fresh ephemeral source port (this is the RTI platform's UDP behaviour). The driver receives replies on the Local Port set above, NOT on the ephemeral source port. This works perfectly for protocols where the device replies to a well-known port (SSDP=1900, mDNS=5353, most commercial AV UDP protocols) and for fire-and-forget sends (Wake-on-LAN, broadcast triggers). It does NOT work for protocols where the device echoes back to the sender's source port. Check the device's UDP reply behaviour and set Local Port to match where it sends replies.

Driver Configuration

Connection Settings

  • Host - Target IP address or hostname. Examples: 192.168.1.50 (unicast), 192.168.1.255 (subnet broadcast), 255.255.255.255 (global broadcast).
  • Port - default 5000 - Target UDP port. Common AV uses: 9 (Wake-on-LAN), 1900 (SSDP/UPnP), 5353 (mDNS). Project-specific values are usually documented by the device.
  • Local Port - default 0 - Local UDP port to bind for receiving replies. Leave 0 to bind to the same port as the target (matches what most devices expect). Set explicitly if the device replies to a different port.
  • Listener Bind - default All - Which interface to bind the receive socket to. Leave on 'All Interfaces' for normal use. Switch to 'Processor IP' only if the processor has multiple network interfaces (e.g. a VPN/Tailscale adapter) or a firewall is blocking the all-interfaces bind and replies are not arriving.

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.

Receive Framing

  • RX Framing Mode - default LF - None = raw bytes streamed as they arrive. Other options split the stream on a delimiter so each message arrives intact in the RX log.
  • Custom RX Delimiter (hex) - One or more bytes in hex. Only used when RX Framing = Custom Hex. Example: 03 for ETX, or 0D 0A for CRLF.

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 9032 - TCP port the control page listens on. Default 9032 to avoid conflict with the other Toolkit drivers (9030 = RS-232, 9031 = TCP, 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.

Command N (N = 1-50, same for each)

  • Display Name - default Command 1 - Friendly label shown in macro dropdowns and on the web page.
  • Data Format - default ASCII - How to interpret the Command Data field below.
  • Command Data - ASCII: type the text. Hex: type bytes like 1B 02 0D or 0x1B,0x02,0x0D (spaces/commas/0x are ignored).
  • Terminator - default CR - Bytes appended after the command data.
  • Custom Terminator (hex) - Hex bytes appended when Terminator = Custom Hex. Example: 03 for ETX.

Boolean Feedback Library

  • Number of Boolean Feedbacks - default 5 - 0-20.

Boolean Feedback N (N = 1-20, same for each)

  • Display Name - default Bool Feedback 1 - Friendly label shown on the web UI and bound to BoolFb1Name sysvar.
  • Category - default General - Organisational label (e.g. Power / Audio / Picture). Groups feedbacks on the web UI.
  • ON Pattern - Substring searched in incoming RX. When found, BoolFb1Bool := true. Example: ':PWR=01'
  • OFF Pattern - Substring searched in incoming RX. When found, BoolFb1Bool := false. Example: ':PWR=00'

Integer Feedback Library

  • Number of Integer Feedbacks - default 5 - 0-20.

Integer Feedback N (N = 1-20, same for each)

  • Display Name - default Int Feedback 1 - Friendly label.
  • Category - default General - Organisational label.
  • Prefix Pattern - Substring searched in incoming RX. When found, the first integer in the RX is extracted and written to IntFb1Int. Example: ':VOL=' matches ':VOL=15' and stores 15.

String Feedback Library

  • Number of String Feedbacks - default 5 - 0-20.

String Feedback N (N = 1-20, same for each)

  • Display Name - default Str Feedback 1 - Friendly label.
  • Category - default General - Organisational label.
  • Prefix Pattern - Substring searched in incoming RX. When found, the entire RX text is written to StrFb1. Example: ':SOURCE=' matches ':SOURCE=A0' so StrFb1 = ':SOURCE=A0'.

Enum Feedback Library

  • Number of Enum Feedbacks - default 5 - 0-20.

Enum Feedback N (N = 1-20, same for each)

  • Display Name - default Enum Feedback 1 - Friendly label.
  • Category - default General - Organisational label.
  • Patterns - Pipe-separated pattern|label pairs, semicolons between entries. Example: ':SOURCE=30|HDMI 1;:SOURCE=A0|HDMI 2;:SOURCE=11|Computer'. The first matching pattern's label is written to EnumFb1Str and its 1-based position to EnumFb1Int. Author via the web UI table editor for sanity.

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:

  1. Install the driver. The MAC For Key sysvar (or the web UI banner) shows your processor's MAC address.
  2. Email that MAC to david@smarthomeprogramming.com.au.
  3. Paste the 32-character key into the "Licence Key" field.

Licence keys are per-processor AND per-driver. A UDP 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

  • Each send leaves from a different temporary source port (RTI platform behaviour). Replies are only received on the Local Port, so devices that answer to the sender's source port cannot be read back.
  • UDP has no connection: Connection State shows whether the local socket is open, not whether the device is present. Use a feedback to confirm the device answers.
  • One target 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

The UDP Toolkit runs as a fully functional 15-minute trial every time it loads - long enough to prove it controls your device before you buy. A licence key removes the trial limit.

Licensing is per RTI processor: each key is bound to that processor's MAC address. Find your MAC in the driver's MAC For Key system variable (or the banner across the top of the built-in web UI), purchase a key at the link below, and paste the 32-character key into the Licence Key field in Integration Designer Driver Properties. The key arrives by email within seconds of purchase.

Price: AUD $49 ex GST. One licence per processor; sites with multiple XP processors need one key each.

Please log in to leave a comment.
Loading comments...