Log status of linien locking application to influxdb
Project description
Logs the status of a linien spectroscopy lock server to influxdb.
Installation
sudo pip install linien-influxdb
Note that linien-influxdb
is currently only compatible with influxdb2.
Usage
linien-influxdb
is a command line tool that uses an ini-file for configuration:
linien-influxdb config.ini
To get help, use
linien-influxdb --help
An example configuration file, can be found here:
[influx2]
url=http://localhost:8086
org=my-org
token=my-token
timeout=6000
verify_ssl=False
bucket=my-bucket
measurement=linien-status
[linien]
host=rp-f0xxxxx.local
username=root
password=root
interval=10 # log interval in seconds
parameters=lock, modulation_amplitude, modulation_frequency, p, i, d, monitor_signal_mean, error_signal_mean, error_signal_std, control_signal_mean
For more parameters, have a look at parameters.py
of Linien.
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
linien-influxdb-2.0.3.tar.gz
(41.7 kB
view hashes)
Built Distribution
Close
Hashes for linien_influxdb-2.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 274bbe1a5323383cd67ad2deedf4058a78167e96c58130220e5d5196cdd00d1d |
|
MD5 | 59adadbce3f15b85a487d80930bb5710 |
|
BLAKE2b-256 | 8de7a161ef959b27fc2e95a29e666280ff3c9536706e6351a3cd97deba0cc979 |