Skip to content

Demonstration use of the ecomet i2c measuring card for Raspberry Pi and upload data into opensensemap.org site

License

Notifications You must be signed in to change notification settings

mamin27/ecomet-opensensemap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ecomet-opensensemap

Demonstration use of the ecomet i2c measuring card for Raspberry Pi and upload data into opensensemap.org site

Installation

  1. Clone the project

$ git clone [email protected]:JurajCekan/ecomet-opensensemap.git

  1. Step into ecomet-opensensemap directory

$ cd ecomet-opensensemap

  1. Create copy of config.py-template and name it config.py

$ cp config.py-template config.py

  1. Edit values in config.py file

$ vi config.py

  1. Create python virtual environment

$ python3 -m venv .venv

  1. Activate python virtual environment

$ source .venv/bin/activate

  1. Update pip

$ python3 -m pip install --upgrade pip

  1. Install dependecies from requirements.txt

$ pip install -r requirements.txt

Run

  1. Activate python virtual environment

$ source .venv/bin/activate

  1. 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 &

About

Demonstration use of the ecomet i2c measuring card for Raspberry Pi and upload data into opensensemap.org site

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%