This is the source code for a simple example using Nodejs and Socket.io  for activate relé from a Arduino