Connection to socket.io websocket for updates, how?

Good day,

I'm looking for a way to connect to a simple socket.io websocket to receive real time events, an example can be found here: https://ws.moodo.co:9090 (view-source).

How can I best achieve this in Node Red?

Did you search in flows?

https://flows.nodered.org/?term=socket.io&num_pages=1

I did, all of the nodes are focused on NR being the server - I need to connect as a client...

Did you look at

I don't believe this supports a socket.io connection, sadly.

So the node

doesn’t do what you want?

Nup, this node does not allow events to be sent for authentication for example, socket.io normally requires parameters to be sent to subscribe, in my case it's 2 simple parametres (authentication and box_id).

I'd be interested in understanding more about how this works because I've been struggling with security implementations on socket.io myself for uibuilder.

If I can understand how someone else has implemented this and how well it works, I might even be persuaded to write a node for you :wink: