跳转到主要内容

PyDatalogger - 简化数据记录

项目描述

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

PyDatalogger

关于

SBC机器(如BeagleBone,RaspberryPi或类似)的数据记录器。

支持的传感器类型

  • BME280

  • BMP180

  • DHT11

  • DS18B20

  • SDS011

  • HX711

  • ABE-DELTA-SIGMA-ADC

设置

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

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

用法

$ 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

致谢

项目详情


下载文件

下载适用于您的平台文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分发

pydatalogger-0.1.0.tar.gz (10.7 kB 查看哈希值)

上传时间

由支持