E1cid
2
Not sure if i understand fully, but it sounds like you need to create a llok up table.
This can be done by creating a JSON with keys as device names and values as the information corresponding to the device. This can be stored in context storage as a global or in a database/textfile also.
Context would be easier and fairly simple.
https://nodered.org/docs/user-guide/context
Maybe this will help you with lookup table
https://www.reddit.com/r/nodered/comments/9q7v3n/how_to_create_a_lookup_table/