@ndustrial/node-red-contrib-ndustrialio

0.0.4 • Public • Published

node-red-contrib-ndustrialio

A collection of nodes to send data to/from ndustrialio's Contxt Platform

nGest Formatter

Converts an array of dictionaries into nGest format that can be sent directly to a nGest feed. Timestamp will be set at current time.

Msg.payload in:

msg.payload : array[2]
array[2]
0: object
  name: "switch1"
  value: "true"
1: object
  name: "switch2"
  value: "true"

msg.payload out:

msg.payload : Object
object
type: "timeseries"
data: array[2]
  0: object
    timestamp: "1571748448099"
    data: object
      switch1: object
        value: "false"
  1: object
    timestamp: "1571748448099"
    data: object
      switch2: object
        value: "true"

Readme

Keywords

Package Sidebar

Install

npm i @ndustrial/node-red-contrib-ndustrialio

Weekly Downloads

1

Version

0.0.4

License

ISC

Unpacked Size

7.03 kB

Total Files

6

Last publish

Collaborators

  • akclark03
  • peterglas
  • ndustriousrob
  • connor-geer
  • alanndustrial
  • andreica-paul-ndustrial
  • dahjson
  • jskubic-ndustrial
  • zbehringer
  • andreimoustache
  • seanmannion
  • nio-devops
  • kkikendall
  • aleks-ndustrial
  • mihairo
  • victor-panaite
  • bwenzinger-ndustrial
  • jrcrawfo
  • esiason14
  • ndustrialio
  • melting
  • mike_ndustrial
  • poe_ndustrial
  • gwinchesters