1

First, I have : - An autonomous arduino (battery + wifi shield) - A nodejs server + socket.io module

I want to connect my Arduino to the nodejs server and add real time possibilities. I don't know if is possible to use websocket on arduino's side (client side) like in a browser like chrome to allow the server side to call a method on client side with something like :

socket.on(myMethod,...)

I saw libraries like noduino of jhonny-five but always using serial port (with usb).

1 Answer 1

5

Using Socket.IO Arduino Client, yes you can. https://github.com/billroy/socket.io-arduino-client

Sign up to request clarification or add additional context in comments.

2 Comments

oh seems to be fine, but the example are not compiling and explainations are not correct (Example used seems to not be present in package).
I too get build errors, saying that "error: bitlash.h: No such file or directory" ... when I try all examples.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.