Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.01 KB

Readme.md

File metadata and controls

65 lines (44 loc) · 1.01 KB

Installing with Node-Red

1. Install Node RED

https://nodered.org/docs/getting-started/raspberrypi

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

Install: node-red-dashboard & node-red-contrib-themes in the NodeRed Panel

2. Install Mosquitto Server

sudo apt install mosquitto mosquitto-clients libmosquitto-dev

3. Enable & start servers

sudo systemctl enable mosquitto
sudo systemctl enable nodered
sudo systemctl start mosquitto
sudo systemctl start nodered

3. Setup NodeRed Dashboard

Import flow.json in Node Red

4. Start app

./bme680 -a localhost -i 5

Instlling with plotly

Installation

sudo apt install pip
pip3 install dash
pip3 install jupyter-dash
pip3 install pandas

Source: https://dash.plotly.com/installation

Running

./bme680
python3 app.py

Or with tmux:

?? not yet finished, use tmux manually