This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
raspberrypi [2013/08/28 20:56] jap [HA Software] |
raspberrypi [2014/01/12 22:39] jap |
||
---|---|---|---|
Line 18: | Line 18: | ||
===== HA Software ===== | ===== HA Software ===== | ||
+ | === Node.js === | ||
+ | |||
+ | Installation instructions: [[http://blog.rueedlinger.ch/2013/03/raspberry-pi-and-nodejs-basic-setup/]]. Notice, the instruction is referring to version 0.10.2. Check for the latest one. I did installed 0.10.22. | ||
+ | |||
+ | Notice also this: | ||
+ | //When you want to use ‘npm’ or ‘node’ as root with sudo you have to add the ‘-i’ option, so that the root user’s environment is acquired. For example when you want to install the package ‘forever’ globally with ‘npm’.// | ||
+ | |||
+ | sudo -i npm install forever -g | ||
+ | |||
+ | ==== Modbus ==== | ||
+ | |||
+ | Dependencies | ||
+ | |||
+ | sudo apt-get install build-essential autoreconf | ||
+ | | ||
+ | Node.js module | ||
+ | |||
+ | npm install modbus | ||
=== Database === | === Database === |