chameleonbr / node-red-contrib-redis

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

Update redis.js to support non-local servers #51

Closed paulleroyza closed 3 years ago

paulleroyza commented 3 years ago

I'm unable to get this to connect to non-local Redis. I'm no NodeJS coder, but it seems from the IoRedis that the server options should be the ip and port and it looks like the get.node function would return NULL (as the n.server is not a valid node id) causing the Redis function to connect to local host always.

paulleroyza commented 3 years ago

Need to update documentation as the config is not directly apparent, system works