Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Make sure that the RasberryPi and Node-Red password are changed from their default setting.

...

Installing and Running Node-Red

To install Node-Red, you can refer to the RPI Documentation or run the command below.

...

http://127.0.0.1:1880/admin

...

Set Up and Generating the DBC File

Code Block
# You may need to be root or use "sudo" to run these commands

# Update packages and install dependency packages for services
apt-get update \
 && apt-get dist-upgrade -y \
 && apt-get clean \
 && echo 'Finished installing dependencies'

# Install packages
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
  clang-format \
  git \
  golang-go \
  golang-goprotobuf-dev \
  protobuf-compiler \
  python-pip \
  && rm -rf /var/lib/apt/lists/*

# Clone and install project dependencies
git clone https://github.com/uw-midsun/codegen-tooling-xiv.git \
  && cd codegen-tooling-xiv \
  && pip install -r requirements.txt

# Generate DBC and templates
cd codegen-tooling-xiv \
  && make gen \
  && make gen-dbc

...

Installing InfluxDB.chronograf

To install and run InfluxDB you can refer to to the installation instructions or run the commands below.

...

Once it is up and running you can access InfluxDB by going here

http://127.0.0.1:8888

...

Installing Grafana

Code Block
sudo apt-get install -y apt-transport-https
sudo apt-get install -y software-properties-common wget
curl https://packages.grafana.com/gpg.key | sudo apt-key add -

echo "deb https://packages.grafana.com/oss/deb stable main" 
  | sudo tee /etc/apt/sources.list.d/grafana.list

sudo apt-get update
sudo apt-get install grafana
sudo systemctl grafana-server.service
sudo systemctl start grafana-server

...