Hello,
I am using https://flows.nodered.org/node/node-red-contrib-redis. I have some issues to find the right syntax when using the cmd node. As the documentation is pretty scarce I wonder if someone can help here.
I want, for example, to get alerted when a key expires.
The first thing to do is to run the following:
CONFIG SET notify-keyspace-events KEx
This syntax is for the CLI.
I therefore try to use the cmd node from the palette.
Put CONFIG as the Command and the I have tried many thing for the params:
{
"SET": [
"notify-keyspace-events",
"KEx"
]
}
or
[
"SET",
"notify-keyspace-events",
"KEx"
]
...
None is working.
I always have an error such as:
ReplyError: ERR wrong number of arguments for 'config' command
Any clue? Thanks.