Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The SmartServer IoT IAP Input and Output nodes can be used with standard Node-RED nodes for cloud IoT connectivity. The following sections describe the SmartServer IoT and GCP application solution, which eliminates the need for extensive programming skills and many hard-coded lines of code.

...

  1. Open the SmartServer IoT Sequencing widget (you may need to /wiki/spaces/TEMP/pages/1479817 enable it first on the CMS dashboard).



  2. Click the Node-RED button (Image Modified).

    Image Modified

  3. Select the Manage Palette option. 



    The Nodes and Install tabs appear.

    Image Modified

  4. Click Install.

    Image Modified

  5. Enter node-red-contrib-google-cloud in the search field.

    Image Modified

  6. Click Install for the Google Cloud Platform Node-RED nodes.

    Image Modified

  7. Click Install at the confirmation prompt (click the Open node information to review node dependency information).

    Image Modified

    Allow a few minutes for the installation to complete.

  8. Once the node installation is finished, click Close.

    Image Modified

You can start using the following GCP nodes that appear at the bottom of the node list on the Sequencing widget. The pubsub node is used in the procedure that follows in the Integrating SmartServer IoT and GCP Nodes section. 

Image ModifiedImage ModifiedImage Modified

Integrating SmartServer IoT and GCP Nodes

...

The MQTT DP Filter function node allows you to specify which datapoints are sent to the cloud by setting up a list of datapoint path names and defining a specific datapoint or using wildcards (e.g., "Tstat-01/AV/7/Room Temperature" or "~.PulseGen/*sensor/*/nvolux*"). The DP Throttle function node reduces the sending of duplicate updates to the cloud. 

For large datapoint count integrations, perform the following steps using these function nodes:

...