IoTFlows
  • Welcome to IoTFlows Docs
  • IoTFlows
  • Console
  • REST API
  • Device Management & Secure Remote Access
    • 1. Connect a device to the cloud or create a virtual device
    • 2. SSH to your device over the internet
    • 3. Transfer files to your device over the internet
    • 4. Remotely access Node-RED on your device
    • 5. Create public links for local web-apps
  • Real-Time Data Streams, Alerts, and Actions
    • Create a Device API Key
    • Publish and subscribe to real-time messages with Node-RED
    • Creating an Alert Channel
    • Publish an Alert with Node-RED
    • Define and execute an Action in Node-RED
    • Python real-time SDK
    • Javascript real-time SDK
  • Cloud Node-RED Servers
    • Create a secure Cloud Node-RED Server in five minutes
    • Subscribe to data streams with a Cloud Node-RED Server
    • Integrate data streams to Node-RED dashboard
    • Integrate data streams to Slack
  • IOTFLOWS OVERVIEW
    • IoTFlows Roles and Permissions
    • Adding Team Members
  • Example Projects
    • Raspberry Pi as Gateway
      • Arduino to Raspberry Pi Serial Communication for Ultrasonic Sensor
    • Getting Started with Node-Red Dashboard
      • Installing Node-Red Dashboard
      • Accessing Node-Red Dashboard
      • 1. Creating a Page
      • 2. Adding Gauge Nodes
      • 3. Changing Dashboard Themes
      • 4. Adding Data to Gauge Nodes
      • 5. Adding a Chart Node
      • 6. Adding Data to Chart Node
      • 7. Adding a Template Node
      • 8. Adding Data to Template Node
      • 9. Adding Switch Node
      • 10. Adding Logic to Switch Node
      • 11. Adding a Slider Node
      • 12. Adding a Color Picker Node
      • 13. Adding a Numeric Node
      • 14. Adding a Button Node
      • 15. Adding Logic to a Button Node
      • Node-Red Dashboard Code
    • Publishing Data Streams from Python
    • Ultrasonic Sensor on Raspberry Pi Node-Red
  • General
    • Downloading IoTFlows Node-Red Nodes
    • Publishing Alert from Node-Red Manual
    • Publishing Data Stream from Node-Red Manual
Powered by GitBook
On this page
  • Prerequisites
  • Connect to Cloud Node-RED Server
  • Subscribe to Data Streams
  • Create an IoT API Key
  • Configure the IoTFlows Nodes with the API Key

Was this helpful?

  1. Cloud Node-RED Servers

Subscribe to data streams with a Cloud Node-RED Server

Integrate the real-time data published by your order devices and clients to the cloud Node-RED Dashboard

PreviousCreate a secure Cloud Node-RED Server in five minutesNextIntegrate data streams to Node-RED dashboard

Last updated 3 years ago

Was this helpful?

Prerequisites

You need to have a Cloud Node-RED server set up. If you haven't already, learn .

Also, if you currently don't have a device or client publishing data to a data stream, learn , , or .

Connect to Cloud Node-RED Server

From the left side navigation in the , navigate to the Cloud Node-RED Servers tab and select Node-RED Connect for the desired cloud server. Please note that only those team members with Organization Owner or Admin role can access the cloud servers.

Subscribe to Data Streams

Create an IoT API Key

Your API Key will be created and displayed. Take a note of the generated username and password or download them as a CSV file as these credentials won't be shown again. You'll need this API Key to subscribe to the real-time data streams from all your projects.

Configure the IoTFlows Nodes with the API Key

From the left palette in the Cloud Node-RED, drag and drop a datastream in node. Double click on the node, and tap on the edit button for the server.

Copy-paste the IoT API Key username and password that you generated in the last step and click Add.

If the credentials are correct, you should see IoTFlows Cloud as the server. Click on refresh button to fetch the list of the data streams from your organization. Pick the desired data stream and hit Done.

Connect this node to a debug node and hit Deploy. You should see the data stream is connected to the server, receiving real-time messages that your other device/client is publishing, and showing them in the debug page.

Congratulations! You successfully subscribed to your real-time data stream in a cloud Node-RED server.

To subscribe to real-time data streams with your Cloud Node-RED Server, you'll need to first create an IoT API Key. Only one API Key is sufficient to subscribe to multiple resources. From the left side navigation in the , navigate to API Keys tab and select CREATE IOT API KEY. Choose a proper name, description, and permission level and hit SUBMIT.

console
how to spin up a secure Cloud Node-RED server
how to publish real-time messages to the cloud with Node-RED
Javascript
Python
console