This simple Node.js project demonstrates how you can use the Socket.IO library to push images from the Raspberry Pi Camera Module to clients.
- Werner Vesterås [email protected]
To run this project, you need Node.js installed. Installing it is very simple:
$ wget http://node-arm.herokuapp.com/node_latest_armhf.deb
$ sudo dpkg -i node_latest_armhf.deb
To verify the installation run node -v
. It should return the current version.
To install the socketcam project on your Raspberry Pi, type the following:
$ git clone https://github.com/vesteraas/socketcam.git
$ cd socketcam
$ npm install
In the socketcam directory, type:
$ npm start
Then, point your browser to:
http://<IP_ADDRESS_OF_YOUR_PI>:3000