Skip to main content

Actuators

Overview​

The TBox exposes its physical outputs as MQTT entities for Home Assistant.

Depending on the actuator type, an output is represented as a:

  • switch
  • fan
  • light

Every actuator has an individual command topic and state topic.

Supported Actuators​

Hardware No.IdentifierMQTT ComponentFunction
1socket01switchSocket 1
2socket02switchSocket 2
3socket03switchSocket 3
4socket04switchSocket 4
5socket05switchSocket 5
6socket06switchSocket 6
7socket07fanPhase-controlled socket
8pump01switchPump 1
9pump02switchPump 2
10pump03switchPump 3
11pump04switchPump 4
12pump05switchPump 5
13dimmer01lightDimmer 1
14dimmer02lightDimmer 2
15dimmer03lightDimmer 3
16dimmer04lightDimmer 4
17valve01switchValve 1
18valve02switchValve 2
19valve03switchValve 3
20valve04switchValve 4
21valve05switchValve 5

The firmware assigns sockets, pumps and valves to the MQTT switch component. Socket 7 uses the fan component, while the four 0–10 V dimmers use the light component.

oaicite:0

Topic Structure​

The actuator topics follow this structure:

homeassistant/<component>/<device>/<identifier>/<type>

Example for Socket 1:

homeassistant/switch/tboxAABBCCDDEEFF/socket01/set
homeassistant/switch/tboxAABBCCDDEEFF/socket01/state
homeassistant/switch/tboxAABBCCDDEEFF/socket01/config

Command Topics​

Switches​

Sockets 1–6, pumps and valves use:

homeassistant/switch/<device>/<identifier>/set

Example:

homeassistant/switch/tboxAABBCCDDEEFF/pump01/set

Phase-Controlled Socket​

Socket 7 uses:

homeassistant/fan/<device>/socket07/set

Dimmers​

Dimmers 1–4 use:

homeassistant/light/<device>/<identifier>/set

Example:

homeassistant/light/tboxAABBCCDDEEFF/dimmer01/set

The TBox subscribes to the corresponding /set topics after establishing the MQTT connection.

oaicite:1

Command Payloads​

The firmware accepts the following command payloads:

PayloadResult
ONEnables the actuator
OFFDisables the actuator and sets the setpoint to 0
0...100Enables the actuator and applies the transmitted setpoint

Switch On​

ON

When ON is received, the output is enabled. The previously stored setpoint remains active.

Switch Off​

OFF

When OFF is received:

  • The output is disabled.
  • The setpoint is changed to 0.

Set Output Value​

75

A numeric payload from 0 to 100 enables the actuator and applies the value as its new setpoint.

Payloads outside the supported range or payloads containing non-numeric characters are not accepted as valid setpoints.

oaicite:2

Switch Entities​

Switch entities are used for outputs that only require an on/off command.

Discovery Topic​

homeassistant/switch/<device>/<identifier>/config

Command Topic​

homeassistant/switch/<device>/<identifier>/set

State Topic​

homeassistant/switch/<device>/<identifier>/state

Supported State Payloads​

PayloadState
ONOutput enabled
OFFOutput disabled

Switch discovery messages contain the command topic, state topic, ON/OFF payload definitions and common TBox device information.

oaicite:3

Phase-Controlled Socket​

Socket 7 is represented as a Home Assistant fan entity because it supports both an on/off state and an adjustable output percentage.

Discovery Topic​

homeassistant/fan/<device>/socket07/config

Command Topic​

homeassistant/fan/<device>/socket07/set

State Topic​

homeassistant/fan/<device>/socket07/state

Supported Values​

ValueFunction
OFFOutput disabled
ONOutput enabled with the previous setpoint
0...100Output percentage

The percentage scale is configured from 0 to 100.

oaicite:4

Dimmer Entities​

The four 0–10 V dimmers are represented as Home Assistant light entities.

Discovery Topic​

homeassistant/light/<device>/<identifier>/config

Command Topic​

homeassistant/light/<device>/<identifier>/set

State Topic​

homeassistant/light/<device>/<identifier>/state

Supported Values​

ValueFunction
OFFDimmer disabled
ONDimmer enabled with the previous setpoint
0...100Brightness setpoint

The Home Assistant brightness scale is configured to use values from 0 to 100.

oaicite:5

State Publication​

The TBox periodically publishes the current state of every configured actuator.

Switch state example:

ON

or:

OFF

For adjustable outputs, the firmware publishes both the output state and the current setpoint to the actuator state topic.

oaicite:6

Home Assistant Discovery​

Each actuator discovery message contains:

PropertyDescription
nameDisplayed entity name
object_idHome Assistant entity object ID
unique_idGlobally unique actuator identifier
command_topicTopic used to control the output
state_topicTopic containing the current state
payload_onPayload used to enable the output
payload_offPayload used to disable the output
device.identifiersCommon identifier of the TBox
device.nameTBox device name
device.manufacturerDevice manufacturer
device.modelTBox model
device.hw_versionHardware version
device.sw_versionFirmware version
device.configuration_urlLink to the TBox configuration page

Discovery messages are retained so that Home Assistant can restore the entities after restarting.

Example​

Switch Pump 1 on:

Topic:
homeassistant/switch/tboxAABBCCDDEEFF/pump01/set

Payload:
ON

Switch Pump 1 off:

Topic:
homeassistant/switch/tboxAABBCCDDEEFF/pump01/set

Payload:
OFF

Set Dimmer 1 to 60%:

Topic:
homeassistant/light/tboxAABBCCDDEEFF/dimmer01/set

Payload:
60

Set Socket 7 to 75%:

Topic:
homeassistant/fan/tboxAABBCCDDEEFF/socket07/set

Payload:
75