Already have nodejs 18.19.0+dfsg-6~deb12u1 OLD nodejs 18 : NEW nodejs : *************************************** Started : Wed Feb 28 03:16:12 PM CST 2024 Running for user lmtv at /home/lmtv Failed to stop nodered.service: Unit nodered.service not loaded. Found global nodes: : WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... Package 'nodered:armhf' is not installed, so not removed The following package was automatically installed and is no longer required: libcamera0.1 Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Versions: node:v18.19.0 npm:9.2.0 Now install Node-RED npm ERR! code EHOSTUNREACH npm ERR! syscall connect npm ERR! errno EHOSTUNREACH npm ERR! request to https://registry.npmjs.org/node-red failed, reason: connect EHOSTUNREACH 2606:4700::6810:123:443 npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2024-02-28T21_16_15_820Z-debug-0.log Now create basic package.json for the user and move any global nodes Installing extra nodes: node-red-node-pi-gpio@latest node-red-node-random@latest node-red-node-ping@latest node-red-contrib-play-audio@latest node-red-node-smooth@latest node-red-node-serialport@latest node-red-contrib-buffer-parser@latest : npm ERR! code EHOSTUNREACH npm ERR! syscall connect npm ERR! errno EHOSTUNREACH npm ERR! request to https://registry.npmjs.org/node-red-node-pi-gpio failed, reason: connect EHOSTUNREACH 2606:4700::6810:1a22:443 npm ERR! A complete log of this run can be found in: npm ERR! /home/lmtv/.npm/_logs/2024-02-28T21_17_34_056Z-debug-0.log Now add the shortcut and start/stop/log scripts to the menu Now add systemd script and configure it for lmtv:lmtv @ /home/lmtv ln: failed to create symbolic link '/usr/bin/python': File exists Now add launcher to top bar, add cpu temp example, make sure ping works adduser: The user `lmtv' is already a member of `gpio'. Replace old rpi.gpio with lgpio WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libcamera0.1 rpi.gpio-common Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: python3-rpi.gpio* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 96.3 kB disk space will be freed. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 194106 files and directories currently installed.) Removing python3-rpi.gpio (0.7.1~a4-1+b4) ... WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3-pip is already the newest version (23.0.1+dfsg-1+rpt1). The following packages were automatically installed and are no longer required: libcamera0.1 rpi.gpio-common Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting rpi-lgpio Downloading https://www.piwheels.org/simple/rpi-lgpio/rpi_lgpio-0.4-py3-none-any.whl (11 kB) Installing collected packages: rpi-lgpio Successfully installed rpi-lgpio-0.4 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Allow binding to low ports : n Memory : 8.0G Started : Wed Feb 28 03:16:12 PM CST 2024 Finished: Wed Feb 28 03:19:20 PM CST 2024