Snippets

Peter Scargill "The Script"

Updated by Peter Scargill

File script.sh Modified

  • Ignore whitespace
  • Hide word diff
 ##
 ## We cannot answer questions on board/operating system combinations we have not tested. See notes below for tested combos and dates.
 ## 
+## 01/08/2021   It seems for nwo there's an issue of influxdb no longer being available for RPi (32 bit). While we're working on that I  suggest NOT installing Grafana from the script.
 ## 20/06/2020 - RPi added more useful NR contrib nodes
 ## 08/06/2020 - Changed the version of the Node-Red script as NR have made a change
 ## 24/05/2020 - Fix for extra tabs on PI Cockpit addition - thanks to Dominic
Updated by Peter Scargill

File script.sh Modified

  • Ignore whitespace
  • Hide word diff
 	printstatus "Installing Nodes (could take some time)"
 # TAKEN OUT  node-red-contrib-graphs - I dont use it, most likely defunct - no work done on it in 3 years
 	for addonnodes in moment node-red-contrib-config node-red-contrib-grove node-red-contrib-diode node-red-contrib-bigtimer \
-	node-red-contrib-esplogin node-red-contrib-timeout node-red-node-openweathermap node-red-node-google node-red-contrib-advanced-ping node-red-node-emoncms node-red-node-geofence node-red-contrib-moment node-red-contrib-particle \
+	node-red-contrib-esplogin node-red-contrib-timeout node-red-node-openweathermap node-red-node-google node-red-contrib-advanced-ping node-red-node-emoncms \
+	node-red-node-geofence node-red-contrib-moment node-red-contrib-particle \
 	node-red-contrib-web-worldmap node-red-contrib-ramp-thermostat node-red-contrib-fs-ops node-red-contrib-influxdb \
-	node-red-contrib-ewelink node-red-contrib-geonames 	node-red-contrib-ewelink node-red-contrib-geonames node-red-contrib-home-assistant-websocket node-red-contrib-ibm-watson-iot node-red-contrib-sun-position \
-	node-red-contrib-tuya-local node-red-contrib-ui-led node-red-contrib-yr \
+	node-red-contrib-home-assistant-websocket node-red-contrib-ibm-watson-iot node-red-contrib-sun-position \
+	node-red-contrib-tuya-local node-red-contrib-ui-led node-red-contrib-yr node-red-contrib-aedes \
 	node-red-contrib-isonline node-red-node-ping node-red-node-random node-red-node-smooth node-red-contrib-npm node-red-node-arduino \
 	node-red-contrib-file-function node-red-contrib-boolean-logic node-red-contrib-blynk-ws node-red-contrib-telegrambot node-red-contrib-dsm node-red-contrib-ftp \
 	node-red-dashboard node-red-contrib-owntracks node-red-contrib-alexa-local node-red-contrib-amazon-echo node-red-contrib-alexa-notifyme node-red-contrib-heater-controller ; do
Updated by Peter Scargill

File script.sh Modified

  • Ignore whitespace
  • Hide word diff
 ##
 ## We cannot answer questions on board/operating system combinations we have not tested. See notes below for tested combos and dates.
 ## 
+## 20/06/2020 - RPi added more useful NR contrib nodes
 ## 08/06/2020 - Changed the version of the Node-Red script as NR have made a change
 ## 24/05/2020 - Fix for extra tabs on PI Cockpit addition - thanks to Dominic
 ## 23/05/2020 - added cockpit as option in RPI
 	for addonnodes in moment node-red-contrib-config node-red-contrib-grove node-red-contrib-diode node-red-contrib-bigtimer \
 	node-red-contrib-esplogin node-red-contrib-timeout node-red-node-openweathermap node-red-node-google node-red-contrib-advanced-ping node-red-node-emoncms node-red-node-geofence node-red-contrib-moment node-red-contrib-particle \
 	node-red-contrib-web-worldmap node-red-contrib-ramp-thermostat node-red-contrib-fs-ops node-red-contrib-influxdb \
+	node-red-contrib-ewelink node-red-contrib-geonames 	node-red-contrib-ewelink node-red-contrib-geonames node-red-contrib-home-assistant-websocket node-red-contrib-ibm-watson-iot node-red-contrib-sun-position \
+	node-red-contrib-tuya-local node-red-contrib-ui-led node-red-contrib-yr \
 	node-red-contrib-isonline node-red-node-ping node-red-node-random node-red-node-smooth node-red-contrib-npm node-red-node-arduino \
 	node-red-contrib-file-function node-red-contrib-boolean-logic node-red-contrib-blynk-ws node-red-contrib-telegrambot node-red-contrib-dsm node-red-contrib-ftp \
 	node-red-dashboard node-red-contrib-owntracks node-red-contrib-alexa-local node-red-contrib-amazon-echo node-red-contrib-alexa-notifyme node-red-contrib-heater-controller ; do
Updated by Peter Scargill

File script.sh Modified

  • Ignore whitespace
  • Hide word diff
     printstatus "Installing NodeJS and NodeRed"
 	
 	##  bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
- 
-  	curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered > update-nodejs-and-nodered
+
+    bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
  
    	##  curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered > update-nodejs-and-nodered
     echo 143.204.15.127 deb.nodesource.com | sudo tee -a /etc/hosts
Updated by Peter Scargill

File script.sh Modified

  • Ignore whitespace
  • Hide word diff
 ##
 ## We cannot answer questions on board/operating system combinations we have not tested. See notes below for tested combos and dates.
 ## 
+## 08/06/2020 - Changed the version of the Node-Red script as NR have made a change
 ## 24/05/2020 - Fix for extra tabs on PI Cockpit addition - thanks to Dominic
 ## 23/05/2020 - added cockpit as option in RPI
 ## 16/05/2020 - note at this time the "micro" editor still has cut and paste issues - consider grabbing the latest nightly build and overwriting the /home/pi/micro file
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.