NodeJS server listening to the trains device