The IO driver provides access to the physical inputs and outputs of the Weble gateway hardware. It exposes digital inputs, digital outputs, analog inputs, analog outputs, LEDs, and 1-Wire temperature sensors as routable gateway addresses.
All IO addresses are automatically discovered from the hardware — no manual address insertion is needed. The driver detects the available IO points and creates the corresponding addresses. The driver adapts automatically to the underlying hardware platform.
Create a new gateway and select the WBox IO driver. Once started, the driver automatically detects all available IO points on the gateway hardware and creates the addresses.
Through the API, the driver key is evok (use it for the driver field when you create the gateway); WBox IO is only the name shown in the interface.
Note: The IO driver is not available on Windows.
After startup, the following address types are automatically created depending on the hardware:
| Prefix | Type | Description | Writable |
|---|---|---|---|
%DI<n> |
Digital Input | Physical digital input (0 or 1). | No |
%DO<n> |
Digital Output | Digital (transistor) output, or relay on hardware that does not expose relays separately (0 or 1). | Yes |
%RO<n> |
Relay Output | Relay output (0 or 1). Present on hardware that separates relays from digital outputs. | Yes |
%AI<n> |
Analog Input | Analog input (voltage 0-10V or current 0-20mA). | No |
%AO<n> |
Analog Output | Analog output (voltage 0-10V, current 0-20mA, or resistance 0-2kΩ). | Yes |
%LED<n> |
LED | On-board LED indicator (0 or 1). | Yes |
%TEMP<n> |
Temperature | 1-Wire temperature sensor (°C), numbered in order of discovery; a known sensor keeps its number. | No |
%OW-<family>.<id> |
Temperature | 1-Wire temperature sensor (°C) named after its unique 1-Wire identifier, for example %OW-28.0123456789AB. |
No |
Note: the exact set of addresses depends on the hardware generation. Recent gateways create relays as
%RO<n>and 1-Wire sensors as%OW-<family>.<id>; older ones use%DO<n>for relays and%TEMP<n>for 1-Wire sensors. Always check the address tree of the WBox IO gateway after the first start.
IO addresses are routable like any other protocol address. Typical use cases:
%DO address from a route (e.g. triggered by a Modbus value or a Cron schedule).%TEMP or %OW-… 1-Wire sensor to CSV for historical logging.%LED address to visually indicate a status on the gateway. On some hardware the driver uses %LED4 as its own heartbeat (it toggles every 5 seconds): use another LED for your indications.
| Label | JSON Key | Description |
|---|---|---|
| Name | name | A descriptive name for this IO gateway instance. |
| Cluster ID | cluster | 0 (default): the driver runs in its own process. Any other number: the driver shares one process with the other gateways that use the same Cluster ID, which saves memory. |
| Description | description | Optional description. |
| Type | json.type | Hardware family. Keep the default WBox S10x. |
IO addresses use a prefix indicating the IO type followed by the channel number:
%DI1, %DI2, ... — digital inputs%DO1, %DO2, ... — digital outputs (relays on older hardware)%RO1, %RO2, ... — relay outputs (recent hardware)%AI1, %AI2, ... — analog inputs%AO1, %AO2, ... — analog outputs%LED1, %LED2, ... — LEDs%TEMP1, %TEMP2, ... — 1-Wire temperature sensors (older hardware)%OW-28.0123456789AB, ... — 1-Wire temperature sensors named after their 1-Wire identifier (recent hardware)Depending on the hardware, some IO points expose sub-addresses (they appear under the IO point in the address tree):
| Sub-address | Applies to | Description | Writable |
|---|---|---|---|
<address>/mode |
AI, AO | Measurement / output mode. Analog inputs: Voltage 0 – 10V, Voltage 0 – 2.5V, Current 0 – 20mA or Resistance 0 – 2kΩ (the list depends on the input type). Analog outputs: Voltage 0 – 10V, Current 0 – 20mA or Resistance 0 – 2kΩ. |
Yes |
<address>/debounce |
DI | Debounce time of the digital input. Filters out rapid switching noise. | Yes |
<address>/counter |
DI | Pulse counter of the digital input. Use it for fast pulses (energy or water meters) instead of the input state. | Read-only in the grid |
<address>/trigger |
LED | none (steady) or timer (blinking). |
Yes (route or API) |
<address>/delay_on, <address>/delay_off |
LED | On and off durations while the LED is blinking. | Yes (route or API) |
Gateways that do not show these sub-addresses do not support changing these settings from the address tree.
| Label | JSON Key | Description |
|---|---|---|
| Description | description | Optional description (auto-generated with board and channel info). |
| Log | log | Logging mode: never, on update, always, or a duration in milliseconds. |
Additional metadata is shown in the grid:
| Column | Description |
|---|---|
| Extension | Extension board identifier (for expandable hardware). |
| Device | Device type (di, do, ai, ao, led, temp). |
| Circuit | Circuit/channel identifier on the board. |
| Address type | Write behavior |
|---|---|
%DO<n>, %RO<n> |
Write 1 to activate the relay/output, 0 to deactivate. |
%AO<n> |
Write a numeric value (0-10 for voltage mode). |
%LED<n> |
Write 1 to turn on, 0 to turn off. |
%DI<n> |
Read-only — cannot be written. |
%AI<n> |
Read-only — cannot be written. |
%TEMP<n>, %OW-… |
Read-only — cannot be written. |
Changing the mode: in the address grid, edit the value of the
/modesub-address and pick the mode in the list. From a route or the API, write the label exactly as shown, including the spaces and the en dash (–), for exampleVoltage 0 – 10V. The mode is stored by the driver and applied again after a restart.An analog output set to
Resistance 0 – 2kΩbecomes a resistance measurement: its value can be read but no longer written.
| Property | Inputs (DI, AI, TEMP, OW) | Outputs (DO, RO, AO, LED) |
|---|---|---|
| Readable | Yes — a read returns the last value received from the hardware | Yes — a read returns the last known state of the output |
| Writable | No | Yes |
| Routable | Yes | Yes |
| Loggable | Yes | Yes |
| Auto-creation | Yes — all IO points are automatically discovered |
/counter sub-address of the input when it is available, not the input state.85 returned by a sensor that has just been powered is ignored.