/pi_air_quality

Primary LanguagePythonMIT LicenseMIT

pi_air_quality

Description

TODO: Write this

Environment Setup

The following command will set-up a basic environment with all the python dependencies required to run the app.

make environment

Emulator

Additional Environment Setup

  1. Install additional development environment dependencies

    •   make dev-deps
  2. Follow the instructions to install InfluxDB

  3. Read the InfluxDB QuickStart Guide and

    • Create an org
    • Create a bucket
    • Create a token with read/write privileges to your bucket in your org
  4. Copy org, bucket, and token from previous step into sim.env

    •   INFLUXDB_V2_TOKEN=""
        INFLUXDB_V2_URL="http://localhost:8086"
        INFLUXDB_V2_ORG=""
        INFLUX_BUCKET=""

Running the Emulator

The following command will start the Influx server, emulate the hardware, and write simulated data into your local InfluxDB instance.

make emulator