The project helps to connect any electric device like LED to the internet. Connection is performed via Raspberry Pi and node.js.
Usage
- Connect RPi to the internet via ethernet cable.
- Connect LED to GPIO pins 7 and GRND of Raspberry Pi.
- Install node.js and npm packet: socket-io.client to Raspberry Pi
- Install node.js and socket-io to your server
- Launch
node rpi.js
at your server - Add script to a page of your site.
- Launch
node led.js
at RPi. - Go to your website and manage the led.