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.1.tar.gz
(41.7 kB
view hashes)
Built Distribution
Close
Hashes for linien_influxdb-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86ce0b126b47b47a1a57ce275629e6da36d1d51d7844de67a96f83e0242aa2f4 |
|
MD5 | 09c1bf6eef0487a7748b3f39da36a456 |
|
BLAKE2b-256 | b6344a52e51a10e26730af7301418ca84245488ae0e6b41ae2150cd2f061ca34 |