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/README.md
2015-06-13 18:53:03 +01:00

901 B

node-red-node-redis

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

Note : This is the same node as is/was in the core of Node-RED. If you already have it installed you do NOT need this node.

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.