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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8da1bbbc38d80fd0c2a1b1b5c62e2bed74e9d484e2b93864ccc9649de37d3fdf |
|
MD5 | 7a6a4e1b43ea5d69b3d470f22f4e2db1 |
|
BLAKE2b-256 | 2ffbc0ce8674501a9b1d93e0c4536434874c3548c6edb5ff28f783ae0de62fa4 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba09e84dbf991e45c084236409fee84f9f6e0c3489232e182852829c3c86978f |
|
MD5 | 04d7327f85150471eb9c298e8d6f454f |
|
BLAKE2b-256 | 85a0e427106d358cf5c4719ad9558e65775da30b539612b1a1643a16558279b3 |