Welcome to the ninth instalment of Dive Into JeeNodes. We’re going to install HouseMon!
If you’ve followed all the steps up to this point, then getting HouseMon running will be a piece of cake. We need to do exactly three things:
- Download the HouseMon source code
- Install the packages used by HouseMon
- Launch the HouseMon server
All of this can be accomplished by typing just a few commands, as described here:
git clone https://github.com/jcw/housemon.git cd housemon git checkout 0.7.x # <== this is ESSENTIAL npm install npm start
Here’s what the above will look like in the terminal:
I haven’t typed the final return yet, as this will generate lots of gibberish while npm does its thing. There is some package compilation involved, which means that the “npm install” step will in fact take
a couple of about 10 minutes to complete.
The real fun begins when we enter that final command to start the server: “npm start”. Here’s what you’ll see after a few seconds, while the system initialises itself:
Now we can use the web browser to connect to HouseMon. In my case, the RPi is running as IP address 192.168.1.127, so I can point my browser to http://192.168.1.127:3333/, and something like this will appear:
You’ll need to replace the IP address by the one assigned to your own RPi setup, but apart from that it should all work in exactly the same way. HouseMon is now up and running.
(This series of posts is also available from the Dive Into JeeNodes page on the Café wiki.)
PS. Note that HouseMon is still evolving a lot (read: things change and things do break, sometimes). So be prepared to update it often, with:
cd ~/housemon && git pull