Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tomgidden/node-red-contrib-initialstate

Push data to Initial State within Node-RED
https://github.com/tomgidden/node-red-contrib-initialstate

Last synced: about 2 months ago
JSON representation

Push data to Initial State within Node-RED

Awesome Lists containing this project

README

        

# node-red-contrib-initialstate

This [Node-RED](https://nodered.org/) node may be used for passing data
points to [Initial State](https://initialstate.com) for graphing and
analysis.

The node pushes an event to an Initial State bucket.

Simply, `msg.topic` is passed as the data event _key_, while `msg.payload`
is passed as the data event _value_ if it is a string or number.

Alternatively, `msg.payload` may be an object containing at least `value`,
and optionally `key`, and/or `date` to override the topic and the current
timestamp.

Error handling is rudimentary at this time. The successful connection of
the node to Initial State should be handled, but failed data event pushes
are not detected.

# Installation

Change directory to your node red installation:
```
npm install node-red-contrib-initialstate
```
or alternatively, use the Palette Manager in Node-RED.

# Configuration

Each node should be configured with a Bucket Key and an Access Key as
supplied by Initial State during the setup procedure for a Bucket.

There is no shared configuration node at this time.