Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tomgidden/node-red-contrib-initialstate
- Owner: tomgidden
- Created: 2017-04-17T22:36:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-17T22:45:54.000Z (over 7 years ago)
- Last Synced: 2024-10-30T08:51:47.206Z (about 2 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.