Using Node-RED with ControlCom Connect
Node-RED is a browser-based, flow-driven editor for wiring devices and services together. This guide walks through connecting a Node-RED flow to ControlCom Connect over MQTT-TLS: create a Device, download the certificates, configure the MQTT out node, and send a test payload.
Overview
The integration uses MQTT over TLS. The platform issues a per-Device certificate bundle (device certificate, public key, private key, Amazon Root CA 1 2048). Node-RED's built-in MQTT out node connects to the platform's broker using those certificates and publishes payloads that the platform routes into the Device's Variables.
Prerequisites
- Node-RED 2.0.0 or higher. (installation guide)
- A ControlCom Connect account with an Organization you can add Devices to.
Create a Device
- Go to https://console.controlcomtech.com/ and log in.
- Navigate to Administration → Devices.
- Click [New Device].
- Select Generic Device.
- Enter a name and description.
- Click Create.


Add a Variable
The Device needs at least one Variable to receive data. For this walkthrough, create a temperature Variable:
- Open the Variables section of the newly created Device.
- Click Add Variable.
- Fill in:
- Variable Name —
temperature - Description — Temperature readings from the device
- Topic Property Path —
temperature(must match the key used in the MQTT payload) - Type —
Number - Unit —
°
- Variable Name —
- Click Add Variable.

Download Certificates
After Device creation, the platform displays the certificate bundle:
- Download the device certificate, public key, private key, and Amazon Root CA 1 2048.
- Tick "I agree that I've downloaded the files above".
- Click Continue.
Store these files securely — you cannot re-download them later.

Connection Details
The next screen shows the MQTT connection parameters. Copy them somewhere safe — you'll plug them into the Node-RED MQTT broker config.
- Endpoint — the MQTT broker URL.
- Client ID — the Device's unique identifier.
- Topic — the topic to publish and subscribe to.

Build the Node-RED Flow
Configure the MQTT broker
- In Node-RED, drag an MQTT out node onto the canvas.
- Double-click the node. Click the pencil icon next to Server to add a new broker.
- In the broker config:
- Server — the endpoint from the connection details.
- Port —
8883for secure MQTT. - Tick Use TLS.
- Click the pencil icon next to TLS Configuration to add a TLS config.
- In the TLS config:
- Upload the device certificate (
*certificate.pem.crt). - Upload the private key (
*private.pem.key). - Upload the CA certificate (
AmazonRootCA1.pem). - Click Add.
- Upload the device certificate (
- Back in the broker config:
- Set Client ID to the value from the connection details.
- Tick Use clean session.
- Click Add.
- In the MQTT out node:
- Set Topic to the value from the connection details.
- Click Done.



Send a test payload
- Drag an Inject node onto the canvas; wire it to the MQTT out node.
- Double-click the Inject node.
- Delete the
.topicproperty — the topic is already set on the MQTT out node. - Set the payload type to JSON and enter:
{
"dataArray": [
{
"key": "temperature",
"value": 24.5
}
]
}
- Click Done, then click Deploy.
- Click the small button on the left side of the Inject node to send the payload.

The platform routes the temperature key to the matching Variable on the Device. Check the Device detail page to
confirm the value 24.5 arrived.
For more information on payload formats and data transmission, see the Sending Data documentation.
Once configured, your Node-RED flow will be able to securely connect to the ControlCom Connect platform and send data.
Best Practices
This section will be developed soon with best practices for using Node-RED with ControlCom Connect.