Demonstration use of the ecomet i2c measuring card for Raspberry Pi and upload data into opensensemap.org site
- Clone the project
$ git clone [email protected]:JurajCekan/ecomet-opensensemap.git
- Step into ecomet-opensensemap directory
$ cd ecomet-opensensemap
- Create copy of config.py-template and name it config.py
$ cp config.py-template config.py
- Edit values in config.py file
$ vi config.py
- Create python virtual environment
$ python3 -m venv .venv
- Activate python virtual environment
$ source .venv/bin/activate
- Update pip
$ python3 -m pip install --upgrade pip
- Install dependecies from requirements.txt
$ pip install -r requirements.txt
- Activate python virtual environment
$ source .venv/bin/activate
- Start program
- As standard user. ( You can stop program by presing ctrl C )
$ python3 ecomet-opensensemap.py
- Start program in background
$ python3 ecomet-opensensemap.py &