Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 626 Bytes

readme.md

File metadata and controls

25 lines (13 loc) · 626 Bytes

Sending data from DHT22 sensor on Raspberry Pi 3 to BigQuery

Running the app

SSH to your PI

Add your certficates to certs folder

Option A: pm2

Install pm2 by running `npm install -g pm2@latest"

From project root run pm2 start pm2/ecosystem.config.js

Option B: tmux

Use tmux to create a persistent session:

  • In terminal run tmux

  • Start your app npm run start

  • To detach tmux session (so your app does not stop running after SSH session is done with), Ctrl+b, then d

  • To return to your session, execute tmux attach -t 0