Configure Node-RED flows for Amazon IoT SiteWise data integration - Amazon IoT SiteWise
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Configure Node-RED flows for Amazon IoT SiteWise data integration

With Node-RED®, you can implement two flows to manage data between your devices and Amazon IoT SiteWise. These flows work together to create a comprehensive data management solution that addresses both local and cloud data flow.

  • Data publish flow – Publishes to the cloud. The data publish flow sends data to Amazon IoT SiteWise. This flow simulates a turbine device by generating sensor data, translating it to Amazon IoT SiteWise format, and publishing to the SiteWise Edge MQTT broker. This enables you to leverage Amazon IoT SiteWise's cloud capabilities for storage, analytics, and integration with other Amazon services.

    For more information, see Configure the data publish flow.

  • Data retention flow – Stores data at the edge. The data retention flow subscribes to the SiteWise Edge MQTT broker to receive data, translate it into InfluxDB® format, and stores it locally for monitoring. This local storage provides immediate access to operational data, reduces latency for time-critical applications, and ensures continuity during network disruptions.

    For more information, see Configure the data retention flow.

These two flows work together to ensure data is both sent to Amazon IoT SiteWise and stored locally for immediate access.

To access your Node-RED console, go to http://127.0.0.1:1880. For information about enabling TLS, see Enable TLS encryption.