Skip to content

hiveeyes/PyDatalogger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

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

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%