This is without solar cell input, right?
What are the main advantage to this over your board on ebay in terms of battery life?
( I want a long battery life for a ultrasonic snow depth sensor, a DS18B20 and maybe a BMP180 located outside)
This is without solar cell input, right?
What are the main advantage to this over your board on ebay in terms of battery life?
( I want a long battery life for a ultrasonic snow depth sensor, a DS18B20 and maybe a BMP180 located outside)
I think a typo in the edit of /etc/profile led me to believe that npm was missing, and installed npm with apt-get, and that is NOT the correct way...
Now npm install is in progress, and no errors yet.
connection error - trying to reconnect, I think that is a good error!
node -v gives me
v0.10.28
which node gives me
/opt/node/bin/node, so far soo good.
/opt/mongo/bin/mongo starts.
npm --version
1.1.4
I can not see where in the instructions npm is installed?
(https://github.com/mysensors/Arduino/tree/master/NodeJsController)
And I still don't get why the error message from "npm install" (still) gives me
With two almost assembled nodes (ultrasonic distance+ temperature and humidity+temperature+relay) and an almost assembled ethernet gateway I wanted to start with some kind of controller. For me mysensors is still kind of experimental so a separate controller is best.
Setting up a new RPi following the instructions on
https://github.com/mysensors/Arduino/tree/development/NodeJsController
The instructions are straight forward, until the very last step.
npm is missing but that can be solved very quickly with
"sudo apt-get install npm"
pi@raspberrypi ~/Arduino/NodeJsController $ npm install
npm http GET https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/net
npm http GET https://registry.npmjs.org/requestify
npm http GET https://registry.npmjs.org/serialport
npm ERR! Error: failed to fetch from registry: net
npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR! at Request.<anonymous> (/usr/lib/nodejs/request/main.js:212:58)
npm ERR! at Request.emit (events.js:88:20)
npm ERR! at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:412:12)
npm ERR! at ClientRequest.g (events.js:156:14)
npm ERR! at ClientRequest.emit (events.js:67:17)
npm ERR! at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1256:7)
npm ERR! You may report this log at:
npm ERR! http://bugs.debian.org/npm
npm ERR! or use
npm ERR! reportbug --attach /home/pi/Arduino/NodeJsController/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.12.28+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/pi/Arduino/NodeJsController
npm ERR! node -v v0.6.19
npm ERR! npm -v 1.1.4
npm ERR! message failed to fetch from registry: net
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/Arduino/NodeJsController/npm-debug.log
npm not ok
With no experience with npm or mongodb I am kind of stuck...