Dear nodered experts, I am having trouble with this, the concept is very simple, let say I have node-red random data (for simulation), and I want this data to be send to other web UI interface. The first thing we consider is to use the SocketIO, I am going to have a server IO in nodered and the 3rd party UI interface will just connect on it. However, I just don't know how to implement it in nodered in such that when a random integer comes, I will emit an event and pass that data. I used that node-red-contrib-socketio, but I got no luck on how to do it.
My question is.. Is there any other way to do what I want? Or can you give me some tips on how to do it using the socketio.