Skip to main content

PyDatalogger - Data logging made easy

Project description

https://img.shields.io/github/tag/daq-tools/pydatalogger.svg

PyDatalogger

About

Datalogger for SBC machines like BeagleBone, RaspberryPi or similar.

Supported sensor types

  • BME280

  • BMP180

  • DHT11

  • DS18B20

  • SDS011

  • HX711

  • ABE-DELTA-SIGMA-ADC

Setup

git clone https://github.com/daq-tools/PyDatalogger.git
cd PyDatalogger

virtualenv --python=python3 .venv3
source .venv3/bin/activate
python setup.py develop

Usage

$ pydatalogger --help

Usage:
  pydatalogger info
  pydatalogger readings [--config=<config>] [--target=<target>]... [--dry-run] [--debug]
  pydatalogger --version
  pydatalogger (-h | --help)

Options:
  --config=<config>             Configuration file for runtime settings
  --target=<target>             Data output target
  --version                     Show version information
  --dry-run                     Skip publishing to MQTT bus
  --debug                       Enable debug messages
  -h --help                     Show this screen

Examples:

  # Display readings in JSON format
  pydatalogger readings

  # Publish readings to MQTT broker on localhost
  pydatalogger readings --target=mqtt://localhost/testdrive

  # Publish readings to MQTT broker on remote host
  pydatalogger readings --target=mqtt://daq.example.org/testdrive

Credits

Download files

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

Source Distribution

pydatalogger-0.1.0.tar.gz (10.7 kB view details)

Uploaded Source

File details

Details for the file pydatalogger-0.1.0.tar.gz.

File metadata

  • Download URL: pydatalogger-0.1.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pydatalogger-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b629ff560885607f5817bed6f8246a2b11400f28caa7bff5042359c7b1375f43
MD5 63ced1554a61ed44f8e6c3312cb60b98
BLAKE2b-256 5b941cfd233adb1f6238aa823903f22eca4f0fa5a97f96c889f05f698b462c5c

See more details on using hashes here.

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