Open official Node.js website then Adjust the options at the top: version 22 LTS for macOS using NVM with NPM
1. nvm
2. node
3. npm
Finally, we install Node-RED
1. Node-RED
npm install -g —unsafe-perm node-red
Troubleshoot ModBus setup that keeps reconnecting:
Change the port on the Modbus Server (default 502)
Change the Write to Modbus port to match..
Now the data is live on that port..