Send message from config node to other nodes?

I have multiple config nodes that start a server and listen for events, I would like to forward these events to a different (non config) node that subscribes to the events of a specific config node.

I tried to use node.send and node.emit but none worked, I never receive the event on the other node (node.addEventListener, node.on('input').

Could someone provide guidance please?

Ah! Answering myself.

I have to use RED.nodes.getNode to retrieve the config node, and then attach addListener to it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.