MQTT Server Transport
Runs an MQTT broker inside CycBox. Devices and other clients connect to it as to any broker, and CycBox sees
every publish that matches the Observation Topic Filter (one filter per line; empty means #, all topics).
CycBox can also publish to any topic, from the MQTT message input or Lua.
Use it to debug MQTT devices without a cloud broker, or to bridge a device into a script: add an
MQTT client connection to 127.0.0.1 next to it.
- Credentials:
username:password, one pair per line. Leave empty to allow anonymous clients. - TLS: certificate and key paths, plus an optional CA certificate path.
- WebSocket: an extra listener on its own port for browser or
ws://clients.

Configuration reference
| Config ID | mqtt_server_transport |
| Selected by | app_transport = "mqtt_server_transport" |
| Platforms | Linux, Windows, Android |
| License | Premium |
Embedded MQTT broker for local debugging and service bridging
Start an embedded MQTT broker for local debugging and service bridging.
Use cases:
- Run an MQTT server, connect zigbee2mqtt and Home Assistant, observe their communication
- Local MQTT debugging, view all pub/sub messages
Authentication:
Enter credentials as username:password, one per line. Leave empty to allow all clients to connect anonymously.
Enable TLS by providing server certificate and key files.
The observation topic filter controls which messages appear in CycBox. Separate multiple filters with newlines. Default # means all messages.
| Setting | Key | Type | Default | Notes |
|---|---|---|---|---|
| Bind Address | mqtt_server_transport_bind_address | Text (with presets) | "0.0.0.0" | Required |
| Bind Port | mqtt_server_transport_bind_port | Integer | 1883 | Required |
| Enable TLS | mqtt_server_transport_use_tls | Boolean | false | |
| CA Certificate Path | mqtt_server_transport_tls_ca_path | File path | "" | Shown when Enable TLS (mqtt_server_transport_use_tls) = true |
| TLS Certificate Path | mqtt_server_transport_tls_cert_path | File path | "" | Shown when Enable TLS (mqtt_server_transport_use_tls) = true |
| TLS Private Key Path | mqtt_server_transport_tls_key_path | File path | "" | Shown when Enable TLS (mqtt_server_transport_use_tls) = true |
| Credentials (username:password, one per line) | mqtt_server_transport_credentials | Multiline text | "" | |
| Observation Topic Filter | mqtt_server_transport_topic_filter | Multiline text | "#" |
Setting details
Bind Address
Presets (any other value can be entered):
| Value | Label |
|---|---|
"0.0.0.0" | 0.0.0.0 |
"127.0.0.1" | 127.0.0.1 |
"::" | :: |
"::1" | ::1 |
Example config
Default values as they appear in a saved configuration (for example the JSON block at the end of a cycbox/examples/*.lua file). Settings detected at runtime are omitted.
{
"app": {
"app_transport": "mqtt_server_transport"
},
"mqtt_server_transport": {
"mqtt_server_transport_bind_address": "0.0.0.0",
"mqtt_server_transport_bind_port": 1883,
"mqtt_server_transport_use_tls": false,
"mqtt_server_transport_tls_ca_path": "",
"mqtt_server_transport_tls_cert_path": "",
"mqtt_server_transport_tls_key_path": "",
"mqtt_server_transport_credentials": "",
"mqtt_server_transport_topic_filter": "#"
}
}