This example showcases the integration of BaSyx with Node-RED for seamless data flow and management in industrial IoT applications. Here, an example MQTT client for an environmental sensor is used to send data via Node-RED to the BaSyx AAS Environment.
- Open a terminal in this folder
- Run the following command to start the BaSyx containers:
docker-compose up -dTo run the example containers, you need to have Docker installed on your device.
To see the working example, open the BaSyx AAS Web UI and navigate to the SensorExampleAAS. You can see the data coming from the MQTT client in the SensorData submodel.
To see updates in real-time, active the Auto-Sync feature in the AAS Web UI (see top right corner of the UI).
You can visit the Node-RED Editor to view and edit the flows.
The preconfigured Node-RED flow can be found in the
noderedfolder. The flow is defined in theflows.jsonfile.
The configuration for the MQTT client can be found in the mqtt-client folder. It is a small Python script that publishes data to the MQTT broker.
The MQTT brokers configuration can be found in the mosquitto folder. The configuration is defined in the config/mosquitto.conf file.
The configuration for the BaSyx components can be found in the basyx folder.
The AAS used in this example is located in the aas folder.

