Skip to content

A NodeRed node built to integrate with Cumulocity to fetch device measurements

Notifications You must be signed in to change notification settings

computerFriend/node-red-contrib-c8y-measuremts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-red-contrib-c8y-measuremts

This is a node-red node that smoothly integrates with the Cumulocity platform to fetch device measurement data.

Installation

run npm -g install node-red-contrib-c8y-measuremts

Features

Fetches measurement data & can limit the data based on deviceId & dateRange

Usage

Required inputs:

  • cumulocity instance name
  • tenant name

Optional inputs:

  • deviceId: limits measurement data to 1 specific device
  • startDate, endDate: returns measurement data for only a target date range
  • pageSize: Defines maximum number of records to return

Why this module?

This node is the first in a series of nodes designed to integrate with the Cumulocity IoT platform. The long-term goal is to create a complete library of node-red nodes that can pair with Cumulocity (analogous to the AWS & Salesforce node-red libraries).

What's next?

Optional pagination of results is coming next: This will give users to option to have the node run continuously until all measurements are returned. This will also include the ability to add a max timeout.

I also want to make it easier to have environment variables stored easily in your NodeRed flow. Parameters like tenant name, usernames, & credentials should all be stored in one location (vs. hard-coded into each node), so that they can be changed, managed, & protected more easily. Once I have that figured out, I'll update this node to be compatible with that.

About

A NodeRed node built to integrate with Cumulocity to fetch device measurements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published