1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/storage/redis
2015-07-15 10:24:44 +01:00
..
locales/en-US Add i18n content for moved core nodes 2015-06-16 10:36:19 +01:00
65-redisout.html Update core nodes to pull common msgs from node-red ns 2015-06-16 11:16:29 +01:00
65-redisout.js Send status message id to be nls'd in editor 2015-07-07 21:31:28 +01:00
LICENSE Add redis to node-red-nodes, fix lint etc 2015-06-13 18:53:03 +01:00
package.json Update Note(s) in READMEs for all moved out nodes. 2015-06-16 21:37:22 +01:00
README.md Update Note(s) in READMEs for all moved out nodes. 2015-06-16 21:37:22 +01:00

node-red-node-redis

A Node-RED node to save data in a Redis database.

Note : This is the same node as was in the core of Node-RED. As of v0.10.8 you will need to install it from here if still required.

Pre-requisite

To run this you need a local Redis server running. For details see the Redis site.

Install

Run the following command in the root directory of your Node-RED install. Usually this is ~/.node-red .

    npm install node-red-node-redis

Usage

Simple node to save data in a local Redis instance

###Output

A Redis output node. Options include Hash, Set, List and String.

If key is blank, the msg.topic will be used as the key.

If type is hash, msg.payload should be an object or field=value string.