Arduino_HowTo_02-Install-JeeLab-NodeJsHouseMon

Arduino_HowTo_Install

1        SET UP NODE.JS.        

1.1        Sources        

1.2        Update system        

1.3        install nodejs.        

1.4        Git install        

1.5        Install redis-server        

1.6        HouseMon        

1.7        Mercurial        

1.8        Install Go langage.        

2        HOUSEMON        


  1. Set up Node.js.

  1. Sources

  1. Update system

sudo apt-get update && sudo apt-get upgrade

  1. install nodejs.

The nodejs available via apt-et is too old and a precompiled version will be used instead :

npm -v

1.3.11

  1. Git install

Verify first : git –version

git version 1.7.10.4

if not installed : apt-get install git

  1. Install redis-server

http://redis.io/topics/quickstart

  • apt-get install redis-server.
  1. HouseMon

Source :

Follow this step : http://jeelabs.org/2013/02/16/dijn-09-install-the-housemon-server/

  • git clone https://github.com/jcw/housemon.git
  • cd housemon
  • git checkout 0.7.x    # <== this is ESSENTIAL
  • npm install
  • npm start

It doesn’t work with new version 0.9.x → see below for another installation procedure.


  1. Mercurial

apt-get install mercurial

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following packages were automatically installed and are no longer required:

  javascript-common libblas3gf libc-ares-dev libc-ares2 libev-dev libev4 liblapack3gf libssl-dev libssl-doc

  libv8-3.8.9.20 libv8-dev node-node-uuid wwwconfig-common

Use ‘apt-get autoremove’ to remove them.

The following extra packages will be installed:

  mercurial-common

Suggested packages:

  qct vim emacs kdiff3 kdiff3-qt kompare meld xxdiff tkcvs mgdiff python-mysqldb python-pygments python-openssl

The following NEW packages will be installed:

  mercurial mercurial-common

0 upgraded, 2 newly installed, 0 to remove and 37 not upgraded.

Need to get 2,404 kB of archives.

After this operation, 8,022 kB of additional disk space will be used.

Do you want to continue [Y/n]? Y

Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main mercurial-common all 2.2.2-3 [2,320 kB]

Get:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main mercurial armhf 2.2.2-3 [83.7 kB]

Fetched 2,404 kB in 2s (1,179 kB/s)

Selecting previously unselected package mercurial-common.

(Reading database … 68965 files and directories currently installed.)

Unpacking mercurial-common (from …/mercurial-common_2.2.2-3_all.deb) …

Selecting previously unselected package mercurial.

Unpacking mercurial (from …/mercurial_2.2.2-3_armhf.deb) …

Processing triggers for man-db …

Setting up mercurial-common (2.2.2-3) …

Setting up mercurial (2.2.2-3) …

Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version


  1. Install Go langage.

  • hg clone -u default https://code.google.com/p/go $HOME/go

requesting all changes

adding changesets

adding manifests

adding file changes

added 19723 changesets with 67421 changes to 8739 files (+7 heads)

updating to branch default

4157 files updated, 0 files merged, 0 files removed, 0 files unresolved

  • cd $HOME/go/src
  • ./all.bash
  • add “export PATH=$PATH:$HOME/go/bin” in your .bashrc :

  • go version → go version devel +b3405f9c2e32 Sat Apr 12 14:56:17 2014 +1000 linux/arm

export GOARM=5

export GOOS=linux

export GOARCH=arm

export GOPATH=/opt/gopackage

Then, you will be able to use go : go get -u github.com/jcw/housemon


  1. HouseMon

Follow this procedure : http://jeelabs.net/issues/482#note-3

Print Friendly