Node-red with Redis

I am using the following command to get the data hget '0000f8f005f16885' 'InBound' from redis. In node-red node-red-contrib-redis node, I'm using for fetching data but it is returning null.

[{"id":"654f64e3.7875dc","type":"redis-command","z":"d506abaf.40e9c8","server":"2c3180c2.abed8","command":"hgetall","name":"","topic":"","params":"[\"0000f8f005f16885\"]","paramsType":"json","payloadType":"json","block":false,"x":506,"y":348,"wires":[["e4fbb5b9.e78588"]]},{"id":"5d528de9.f1c094","type":"inject","z":"d506abaf.40e9c8","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":266,"y":348,"wires":[["654f64e3.7875dc"]]},{"id":"e4fbb5b9.e78588","type":"debug","z":"d506abaf.40e9c8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":786,"y":348,"wires":[]},{"id":"2c3180c2.abed8","type":"redis-config","z":"","name":"192.168.8.216","options":"{}","cluster":false,"optionsType":"json"}]

The above is the flow that I'm using.

Did you search for it ?


https://discourse.nodered.org/search?q=redis

I am using the following command to get the data hget '0000f8f005f16885' 'InBound' from redis. In node-red node-red-contrib-redis node I'm using for fecthing data but it is returning null.

[{"id":"654f64e3.7875dc","type":"redis-command","z":"d506abaf.40e9c8","server":"2c3180c2.abed8","command":"hgetall","name":"","topic":"","params":"[\"0000f8f005f16885\"]","paramsType":"json","payloadType":"json","block":false,"x":506,"y":348,"wires":[["e4fbb5b9.e78588"]]},{"id":"5d528de9.f1c094","type":"inject","z":"d506abaf.40e9c8","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":266,"y":348,"wires":[["654f64e3.7875dc"]]},{"id":"e4fbb5b9.e78588","type":"debug","z":"d506abaf.40e9c8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":786,"y":348,"wires":[]},{"id":"2c3180c2.abed8","type":"redis-config","z":"","name":"192.168.8.216","options":"{}","cluster":false,"optionsType":"json"}]

The above is the flow that I'm using.

Topic moved again, Node-js with Redis apparently. Please keep questions about the same thing in a single topic.

2 Likes