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

31 lines
747 B
Markdown
Raw Permalink Normal View History

node-red-node-redis
===================
A <a href="http://nodered.org" target="_new">Node-RED</a> node to save data in a Redis database.
Pre-requisite
-------------
To run this you need a local Redis server running. For details see <a href="http://redis.io/" target="_new">the Redis site</a>.
Install
-------
2016-03-02 14:27:22 +01:00
Run the following command in your Node-RED user directory - typically `~/.node-red`
npm install node-red-node-redis
Usage
-----
Simple node to save data in a local Redis instance
2016-03-02 14:27:22 +01:00
### Output
A Redis output node. Options include **Hash**, **Set**, **List** and **String**.
2016-03-02 14:27:22 +01:00
If **key** is blank, the `msg.topic` will be used as the key.
2016-03-02 14:27:22 +01:00
If **type** is *hash*, `msg.payload` should be an *object* or *field=value* string.