Difference between revisions of "Raspberry Pi Compute"
Jump to navigation
Jump to search
(→Setup) |
|||
Line 40: | Line 40: | ||
mkdir /home/pi/node-hiu/flows | mkdir /home/pi/node-hiu/flows | ||
sudo chmod -R 775 /home/pi/node-hiu | sudo chmod -R 775 /home/pi/node-hiu | ||
cd ~ | |||
git clone https://github.com/SequentMicrosystems/ti-rpi.git | |||
cd ti-rpi/ | |||
sudo make install | |||
cd ~ | |||
git clone https://github.com/SequentMicrosystems/megabas-rpi.git | |||
cd /home/pi/megabas-rpi | |||
sudo make install | |||
Revision as of 19:25, 31 July 2022
https://www.waveshare.com/wiki/Write_Image_for_Compute_Module_Boards_eMMC_version
https://www.waveshare.com/wiki/CM4-DUAL-ETH-4G/5G-BASE
https://github.com/SequentMicrosystems/ti-rpi/blob/main/README.md
Setup
Install image to Compute using imager software.
https://www.raspberrypi.com/software/
The following commands can be executed manually, or can be saved into an 'sh' file (e.g. setup.sh) and then run using bash setup.sh
sudo apt-get update sudo apt-get upgrade bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) sudo systemctl enable nodered.service
sudo apt-get -y install mosquitto sudo apt-get -y install pwgen sudo apt-get -y install wget sudo apt-get -y install zip
sudo apt-get -y install build-essential cmake echo "Installing M-Bus Libraries..." sudo apt-get -y install git libtool libltdl-dev autoconf automake sudo git clone https://github.com/rscada/libmbus.git cd libmbus sudo sh clean.sh sudo sh build.sh make sudo make install sudo ln -s /usr/local/lib/libmbus.so.0 /usr/lib/libmbus.so.0
mkdir /home/pi/node-hiu mkdir /home/pi/node-hiu/logs mkdir /home/pi/node-hiu/iHIU mkdir /home/pi/node-hiu/flows sudo chmod -R 775 /home/pi/node-hiu
cd ~ git clone https://github.com/SequentMicrosystems/ti-rpi.git cd ti-rpi/ sudo make install
cd ~ git clone https://github.com/SequentMicrosystems/megabas-rpi.git cd /home/pi/megabas-rpi sudo make install
The following nodes should be installed via the Node-RED Palette Manager. Items in bold may need manually installing.
- node-red
- node-red-contrib-arp
- node-red-contrib-crypt
- node-red-contrib-drawsvg
- node-red-contrib-heatweb
- node-red-contrib-m-bus
- node-red-contrib-play-audio
- node-red-contrib-ui-level
- node-red-contrib-ui-svg
- node-red-dashboard
- node-red-node-daemon
- node-red-node-email
- node-red-node-pi-gpio
- node-red-node-ping
- node-red-node-random
- node-red-node-serialport
- node-red-node-smooth
- node-red-node-ui-table