node-red/nodes/core/hardware/nrgpio ver 0
Should return 0.5.11 or higher. If not, run:
sudo apt-get update && sudo apt-get install python-dev python-rpi.gpio
Start:
node-red-pi --max-old-space-size=256 (max-old-space-size is the memory usage so if the Pi is more than a node-RED install use 128 here unless you are using a Pi2 then you can safely go to 768)
Start on boot:
http://nodered.org/docs/getting-started/running.html#starting-node-red-on-boot###############node-RED Install###############
###############MQTT Install###############
wget
http://repo.mosquitto.org/debian/mosquitto-repo.gpg.keysudo apt-key add mosquitto-repo.gpg.key
cd /etc/apt/sources.list.d/
sudo wget
http://repo.mosquitto.org/debian/mosquitto-repo.listsudo apt-get update
apt-get install mosquitto
I'm assuming this is kept up to date, but I honestly do not know. Should pick up updates when you do apt-get upgrade.
###############MQTT Install###############
###############Temp Sensor###############
sudo nano /boot/config.txt
>Add to bottom: dtoverlay=w1-gpio
cd /usr/local/lib/node_modules/node-red/
sudo npm install node-red-contrib-ds18b20
###############Temp Sensor###############