I'm working on a garden automation project and it was going rather well. I designed a modest weather station using pieces from my Arduino starter kit that uses
Serial.print() for sending data. On the Arduino I can see data on the serial monitor and the data is in CSV format for simplicity.
On my Pi 3B+ running Buster and an older Node-RED installation, I had several gauges and graphs running from the CSV data from serial. Worked nicely (if a little non-performant). The Pi crashed and I found that the microSD card was bad so I replaced it and installed the latest RPi OS Lite 64-bit from the RPi installer utility onto a new SD. Booted, did an apt update/upgrade, etc and then did an install of Node-RED using the script on the NR page for RPi.
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
Started up NR, connected to 1880 no problem. NR sees the Arduino on
/dev/AMA0 but there is no data appearing in debug.
Under Buster (before it got busted) things worked swell. But a fresh install on Bullseye is causing untold amounts of heartburn. I did notice that the
systemd process runs
node-red and not
node-red-pi. Behavior is the same, however, when I manually run
node-red-pi --max-old-space-size=256. A quick look at these NR scripts suggests that they are not RPi aware.
So that's the story and the problem. Could I trouble the forum for some thoughts?