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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file finometer_logger-0.1.0.tar.gz.

File metadata

  • Download URL: finometer_logger-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.10 Linux/6.1.31-gentoo-dist

File hashes

Hashes for finometer_logger-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8da1bbbc38d80fd0c2a1b1b5c62e2bed74e9d484e2b93864ccc9649de37d3fdf
MD5 7a6a4e1b43ea5d69b3d470f22f4e2db1
BLAKE2b-256 2ffbc0ce8674501a9b1d93e0c4536434874c3548c6edb5ff28f783ae0de62fa4

See more details on using hashes here.

File details

Details for the file finometer_logger-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: finometer_logger-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.10 Linux/6.1.31-gentoo-dist

File hashes

Hashes for finometer_logger-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba09e84dbf991e45c084236409fee84f9f6e0c3489232e182852829c3c86978f
MD5 04d7327f85150471eb9c298e8d6f454f
BLAKE2b-256 85a0e427106d358cf5c4719ad9558e65775da30b539612b1a1643a16558279b3

See more details on using hashes here.

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