# Node-red with Redis

**URL:** <https://discourse.nodered.org/t/node-red-with-redis/15685>\
**Category:** General\
**Created:** [19 September 2019 06:51 UTC](https://discourse.nodered.org/t/node-red-with-redis/15685 "2019-09-19T06:51:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanjaycoder-r](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sanjaycoder-r/32/12281_2.png) [@Sanjaycoder-r](https://discourse.nodered.org/u/Sanjaycoder-r)\
**Post date:** [19 September 2019 06:51 UTC](https://discourse.nodered.org/t/node-red-with-redis/15685/1 "2019-09-19T06:51:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [19 September 2019 06:56 UTC](https://discourse.nodered.org/t/node-red-with-redis/15685/2 "2019-09-19T06:56:28Z")

</div>

Did you search for it ?

> **[node-red-contrib-redis](https://flows.nodered.org/node/node-red-contrib-redis)**
>
> Node Red client for Redis with pub/sub, list, lua scripting and other commands support.

  
[https://discourse.nodered.org/search?q=redis](https://discourse.nodered.org/search?q=redis)

---

<div class="post-metadata">

**Author:** ![Sanjaycoder-r](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sanjaycoder-r/32/12281_2.png) [@Sanjaycoder-r](https://discourse.nodered.org/u/Sanjaycoder-r)\
**Post date:** [19 September 2019 10:13 UTC](https://discourse.nodered.org/t/node-red-with-redis/15685/4 "2019-09-19T10:13:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [20 September 2019 07:26 UTC](https://discourse.nodered.org/t/node-red-with-redis/15685/5 "2019-09-20T07:26:09Z")

</div>

Topic moved again, [Node-js with Redis](https://discourse.nodered.org/t/node-js-with-redis/15708) apparently. Please keep questions about the same thing in a single topic.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [20 September 2019 08:24 UTC](https://discourse.nodered.org/t/node-red-with-redis/15685/6 "2019-09-20T08:24:07Z")

</div>


