Logs the status of a linien spectroscopy lock server to influxdb.
sudo pip3 install linien-influxdb
First, you have to create a config.py file with the basic configuration:
# On which host is the linien server running? Should point to a RedPitaya
linien_host = 'localhost'
# influxdb configuration parameters
influxdb_host = 'localhost'
influxdb_port = 8086
influxdb_user = None # optional
influxdb_password = None # optional
influxdb_database = 'my_database_name'
influxdb_measurement = 'linien'
logging_interval = 1 # in seconds
For a complete list of parameters, refer to default_config.py.
Then you can start the application (in the directory of config.py):
linien-influxdb config.py