chameleonbr / node-red-contrib-redis

Node RED client for Redis with pub/sub, list, lua scripting and other commands support.
MIT License
46 stars 42 forks source link

MGET return null #62

Open Rysakov1986 opened 1 year ago

Rysakov1986 commented 1 year ago

MGET return null, when i ask temperatura0 temperatura1 return [ null ], but when i ask one temperatura0 or temperatura1 return value.

[
  {
    "id": "bc6f98cf75ee7db0",
    "type": "inject",
    "z": "c2902cb98142d12f",
    "name": "",
    "props": [
      {
        "p": "payload"
      },
      {
        "p": "topic",
        "vt": "str"
      }
    ],
    "repeat": "",
    "crontab": "",
    "once": false,
    "onceDelay": 0.1,
    "topic": "temperatura0 temperatura1",
    "payload": "",
    "payloadType": "date",
    "x": 660,
    "y": 400,
    "wires": [
      [
        "07aabcf76b6d56ef"
      ]
    ]
  },
  {
    "id": "07aabcf76b6d56ef",
    "type": "redis-command",
    "z": "c2902cb98142d12f",
    "server": "a2a2ba537f680e0f",
    "command": "MGET",
    "name": "",
    "topic": "",
    "params": "[]",
    "paramsType": "json",
    "payloadType": "json",
    "block": false,
    "x": 830,
    "y": 400,
    "wires": [
      [
        "b4507273d03c64b2"
      ]
    ]
  },
  {
    "id": "a2a2ba537f680e0f",
    "type": "redis-config",
    "name": "Local",
    "options": "{\"port\":6379,\"host\":\"127.0.0.1\",\"username\":\"default\",\"password\":\"my-top-secret\",\"db\":1}",
    "cluster": false,
    "optionsType": "json"
  }
]

MONITOR

1690483138.795595 [1 127.0.0.1:56528] "MGET" "temperatura0 temperatura1"
redis-server -v
Redis server v=7.0.12 sha=00000000:0 malloc=jemalloc-5.2.1 bits=64 build=b56540d7933227fd

Please help me =)

image