Skip to main content

Python application for simply sensor data capture on a Pi

Project description


CO2 and Imet sensor ground atation snap

This is the README for the shongololos portion of the VTAgmonitoring applications


Install for testing with web frontend

$ git clone --recurse-submodules
$ cd VTAgMonitoring/apps/sensor-logger
$ virtualenv --python=python3 .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ python

Visit localhost:5000 in a browser ctrl-c to cancle when done

Install for deployment


As a stand alone application:

  • Follow install steps
  • cd VTAgMonitoring/apps/
  • python3 -m shongololo.shongololo
  • Data will output to screen and write to file

In conjuntction with the python flask web interface Ass

  1. Follow install steps
  2. On webpage: a) Press "Setup Logger" and wait for log to indicated it has concluded testing sensors (it can take a few seconds) b) When ready to log data for storage press "Start data capture" (This will also take a few seconds to start as it connects to all sensors" c) When ready to stop capturing press "Stop Data Capture" d) Repeat if you wish to sample data again d) When ready to shutdown system press "Shutdown App"

Maintenance for developers

$ python3 -m pip install --user --upgrade setuptools wheel twine
$ python3 sdist bdist_wheel
$ twine upload --repository-url dist/*


Generate docs:

$ cd docs/
$ make html

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shongololo-1.0.2.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

shongololo-1.0.2-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page