BBB

Setup per instructions

I used the image that writes OS to eMMC

Connect USB to BBB


http://192.168.7.2 Windows

http://192.168.6.2 Mac OS X, Linux

http://192.168.6.2:3000 startup page



Upgrade

Upgrade software per https://beagleboard.org/upgrade 


sudo apt update

sudo apt upgrade

sudo apt install -y ti-tidl mjpg-streamer-opencv-python


Upgrade Node red, was old version.

Found this script from node red (its for pi but they say to use for any debian version):

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

But it failed, said I had to upgrade to newer version of node.js first before I could upgrade to 3, so I ran

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --node18

say no to pi specific scripts

It did the following:

  Stop Node-RED                       ✔

  Remove old version of Node-RED      ✔

  Remove old version of Node.js       ✔   v10.24.0

  Install Node.js 18 LTS              ✔   v18.17.0   Npm 9.6.7

  Clean npm cache                     ✔

  Install Node-RED core               ✔   3.0.2

  Move global nodes to local          -

  Npm rebuild existing nodes          ✔

  Install extra Pi nodes              -

  Add shortcut commands               ✔

  Update systemd script               -   Skipped - existing script is customized.


Now you can run the first one (not sure if I really need to do this?)

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

at end it says:

 ### ADDITIONAL RECOMMENDATIONS ###

  - You can customise the initial settings by running:


      node-red admin init


  - After running Node-RED for the first time, change the ownership of the settings

    file to 'root' to prevent unauthorised changes:


      sudo chown root:root ~/.node-red/settings.js


**********************************************************************************


  Would you like to customise the settings now (y/N) ? n

Settings not initialized.



Get version info

npm -v

node -v

node-red --help

9.6.7

v18.17.0

Node-RED v3.0.2

Node red


Palettes

Do red

node-red-contrib-alexa-remote2-applestrudel

node-red-contrib-amazon-echo-oztourer 

node-red-contrib-bigtimer

node-red-contrib-bravia

node-red-contrib-config

node-red-contrib-counter

node-red-contrib-denon

node-red-contrib-stoptimer

node-red-contrib-time-range-switch

node-red-contrib-tuya-local

node-red-node-email

node-red-node-ping

thingzi-logic-timers