Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Release history Release notifications

This version

0.1.0

Download files

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

Files for pydatalogger, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pydatalogger-0.1.0.tar.gz (10.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page