| Parameter | Description |
|---|
| Name | Optional name for the MQTT broker configuration (for internal reference). |
| Server | The hostname or IP address of the MQTT broker (e.g., localhost or broker.hivemq.com). |
| Port | The port used to connect to the MQTT broker (default is 1883 for non-TLS, 8883 for TLS). |
| Connect automatically | If enabled, Node-RED will try to connect to the broker automatically when the flow starts. |
| Use TLS | Enable this option if the broker requires a secure TLS/SSL connection. |
| Protocol | The MQTT protocol version to use for connection (e.g., MQTT v3.1.1 or v5.0). |
| Client ID | Optional client ID. If blank, a unique one will be auto-generated. Must be unique per client. |
| Keep Alive | The maximum period (in seconds) between communications with the broker. Helps detect dropped connections. |
| Use clean session | If enabled, no persistent session is maintained with the broker; otherwise, session state (like subscriptions) is retained. |
| Username (Security tab) | Username for authenticating with the MQTT broker, if required. |
| Password (Security tab) | Password corresponding to the username for broker authentication. Stored securely. |