Skip to content
firepick1 (localhost) edited this page Oct 27, 2015 · 17 revisions

Prerequisites

You must have:

Install

Open up a console window (your home directory is fine).

cd ~
git clone https://github.com/firepick1/firenodejs
cd firenodejs
scripts/install.sh

Play

Open up a console window in the firenodejs directory and let's launch firenodejs:

node js/server.js

Open up a browser to see the firenodejs web page. Here we assume that you have installed on a Raspberry Pi:

The firenodejs server automatically maintains a model of the FireStep controller state that you can view quickly:

The firenodejs server provides access to your Raspberry Pi camera:

Congratulations! You're DONE.

See Also

  • [Raspberry Pi instructions](Raspbery Pi)

FAQ

  • Why port 8080? The standard HTTP port 80 is below 1024 and normally off-limits to normal users. There are many solutions to this problem. The ugliest solution (because root should never run a web server) is to do this:
sudo node js/server.js

Clone this wiki locally