Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Latest commit

 

History

History
47 lines (34 loc) · 1.22 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.22 KB

⛔ [DEPRECATED] InfluxDB logging is integrated into the Linien since v0.8.0.

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.