Skip to main content

A logger that logs finometer data from a serial input.

Project description

Finometer Logger

Installation

  • Clone this repository with:
git clone git@gitlab.com:abdrysdale/finometer-logger.git
  • Change into the finometer-logger directory.
  • Install the dependencies either with:
poetry install
poetry shell

or by manually installing using your preferred method. The installation dependencies are only: - serialdatalog - numpy - plotly - dash - dash_daq - toml

Usage

The main python script is in finometer_logger/finometer.py and to run, simple use:

poetry run python finometer_logger/finometer.py

or

python finometer_logger/finometer.py

By default, the script continously gathers data from the serialdatalog database in a background thread whilst plotting the results every 1s in plotly Dash app.

The webapp can be accessed on https://127.0.0.1:8050 and will display the live results of the data logger.

To start collecting data, click the switch above the graph.

To stop collecting data, click the switch again, the data is automatically saved to a csv file with the name as the timestamp the data collection was started - e.g. t20230530090056.csv if data collection was started on 30/05/2023 09:00:56.

Project details


Download files

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

Source Distribution

finometer_logger-0.1.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

finometer_logger-0.1.0-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

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