https://github.com/daq-tools/pydatalogger
Data logging made easy
https://github.com/daq-tools/pydatalogger
Last synced: 4 months ago
JSON representation
Data logging made easy
- Host: GitHub
- URL: https://github.com/daq-tools/pydatalogger
- Owner: daq-tools
- License: agpl-3.0
- Created: 2018-12-20T00:29:59.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-01-09T16:16:20.000Z (over 3 years ago)
- Last Synced: 2025-06-04T10:48:09.016Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
.. image:: https://img.shields.io/github/tag/daq-tools/pydatalogger.svg
:target: https://github.com/daq-tools/pydatalogger
|
############
PyDatalogger
############
.. highlight: bash
*****
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=] [--target=]... [--dry-run] [--debug]
pydatalogger --version
pydatalogger (-h | --help)
Options:
--config= Configuration file for runtime settings
--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
*******
- `RPi-Beelogger`_ by Markus Hies, see `Beelogger Version 2`_
- `Hiverize-Sensorbeuten`_ by Hiverize_
- `luftdaten-python`_ for luftdaten.info sensor network
- BERadio_ by Hiveeyes_
**************
Other projects
**************
- `Terkin`_ is a flexible data logger application for MicroPython and CPython
environments. It provides a lot of sensor-, networking- and telemetry-
connectivity options.
.. _Beelogger Version 2: http://blog.hies.de/?p=281
.. _BERadio: https://github.com/hiveeyes/beradio
.. _Hiveeyes: https://hiveeyes.org
.. _Hiverize: https://hiverize.org/
.. _Hiverize-Sensorbeuten: https://github.com/hiveeyes/Hiverize-Sensorbeuten
.. _luftdaten-python: https://github.com/corny/luftdaten-python
.. _RPi-Beelogger: https://github.com/beelogger/RPi-Beelogger
.. _Terkin: https://github.com/hiveeyes/terkin-datalogger