2022-11-03 15:39:23 +01:00
|
|
|
# Parameters file for Surveillance Bot
|
2022-11-22 13:34:58 +01:00
|
|
|
datapath: "/data/SDS/" # SC3 Datapath
|
|
|
|
networks: ["1Y", "HA"]
|
|
|
|
stations: "*"
|
|
|
|
locations: "*"
|
|
|
|
channels: ["EX1", "EX2", "EX3", "VEI"] # Specify SOH channels, currently supported EX[1-3] and VEI
|
2022-11-23 11:28:36 +01:00
|
|
|
channel_names: ["Temperature (°)", "230V/12V Status (V)", "Router/Charger State (V)", "Logger Voltage (V)"] # names for plotting (optional)
|
2022-11-22 13:34:58 +01:00
|
|
|
stations_blacklist: ["TEST", "EREA"]
|
2022-11-03 15:39:23 +01:00
|
|
|
networks_blacklist: []
|
2022-11-21 10:35:15 +01:00
|
|
|
interval: 60 # Perform checks every x seconds
|
2022-11-22 18:06:25 +01:00
|
|
|
n_track: 120 # wait n FAIL intervals before performing an action (i.e. send mail + end highlight status)
|
2022-11-23 11:28:36 +01:00
|
|
|
timespan: 7 # Check data of the recent x days
|
2022-11-03 15:39:23 +01:00
|
|
|
verbosity: 0
|
|
|
|
track_changes: True # tracks all changes since GUI startup by text highlighting (GUI only)
|
2022-11-15 17:19:39 +01:00
|
|
|
warn_count: False # show number of warnings and errors in table
|
2022-11-08 16:45:21 +01:00
|
|
|
dt_thresh: [300, 1800] # threshold (s) for timing delay colourisation (yellow/red)
|
2022-11-09 14:32:13 +01:00
|
|
|
html_figures: True # Create html figure directory and links
|
2022-11-21 10:35:15 +01:00
|
|
|
reread_parameters: True # reread parameters file (change parameters on runtime, not for itself/GUI refresh/datapath)
|
2022-11-03 15:39:23 +01:00
|
|
|
|
|
|
|
POWBOX:
|
|
|
|
pb_ok: 1 # Voltage for PowBox OK
|
|
|
|
pb_SOH2: # PowBox channel 2 voltage translations
|
2022-11-14 22:31:22 +01:00
|
|
|
-1: {"230V": "PBox under 1V", "12V": "PBox under 1V"}
|
2022-11-22 13:34:58 +01:00
|
|
|
1: {"230V": "OK", "12V": "OK"}
|
2022-11-03 15:39:23 +01:00
|
|
|
2: {"230V": "OFF", "12V": "OK"}
|
|
|
|
3: {"230V": "OK", "12V": "overvoltage"}
|
|
|
|
4: {"230V": "OK", "12V": "undervoltage"}
|
|
|
|
4.5: {"230V": "OFF", "12V": "overvoltage"}
|
|
|
|
5: {"230V": "OFF", "12V": "undervoltage"}
|
|
|
|
pb_SOH3: # PowBox channel 3 voltage translations
|
2022-11-14 22:31:22 +01:00
|
|
|
-1: {"router": "PBox under 1V", "charger": "PBox under 1V"}
|
2022-11-03 15:39:23 +01:00
|
|
|
1: {"router": "OK", "charger": "OK"}
|
|
|
|
2: {"router": "OK", "charger": "0 < resets < 3"}
|
|
|
|
2.5: {"router": "OK", "charger": "locked"}
|
|
|
|
3: {"router": "FAIL", "charger": "OK"}
|
|
|
|
4: {"router": "FAIL", "charger": "0 < resets < 3"}
|
|
|
|
5: {"router": "FAIL", "charger": "locked"}
|
|
|
|
|
2022-11-17 09:52:04 +01:00
|
|
|
# Thresholds for program warnings/voltage classifications
|
2022-11-03 15:39:23 +01:00
|
|
|
THRESHOLDS:
|
|
|
|
pb_thresh: 0.2 # Threshold for PowBox Voltage check +/- (V)
|
|
|
|
max_temp: 50 # max temperature for temperature warning
|
|
|
|
low_volt: 12 # min voltage for low voltage warning
|
|
|
|
high_volt: 14.8 # max voltage for over voltage warning
|
|
|
|
unclassified: 5 # min voltage samples not classified for warning
|
2022-11-17 09:52:04 +01:00
|
|
|
|
2022-11-22 14:20:22 +01:00
|
|
|
# add links to html table with specified key as column and value as relative link, interpretable string parameters:
|
|
|
|
# nw (e.g. 1Y), st (e.g. GR01A), nwst_id (e.g. 1Y.GR01A)
|
|
|
|
# optional!
|
|
|
|
add_links:
|
|
|
|
slmon: {"URL": "{nw}_{st}.html", "text": "show"} # for example: slmon: {"URL": "{nw}_{st}.html", "text": "link"}
|
|
|
|
|
|
|
|
# E-mail notifications (optional)
|
2022-11-17 09:52:04 +01:00
|
|
|
EMAIL:
|
2022-11-22 13:34:58 +01:00
|
|
|
mailserver: "localhost"
|
|
|
|
addresses: ["marcel.paffrath@rub.de", "kasper.fischer@rub.de"] # list of mail addresses for info mails
|
|
|
|
sender: "webmaster@geophysik.ruhr-uni-bochum.de" # mail sender
|
2022-11-17 09:52:04 +01:00
|
|
|
|
2022-11-22 14:20:22 +01:00
|
|
|
# Factor for channel to SI-units (for plotting, optional)
|
2022-11-21 15:31:32 +01:00
|
|
|
CHANNEL_UNITS:
|
|
|
|
EX1: 1e-6
|
|
|
|
EX2: 1e-6
|
|
|
|
EX3: 1e-6
|
|
|
|
VEI: 1e-3
|
|
|
|
|
|
|
|
# Transform channel for plotting, perform arithmetic operations in given order, e.g.: PBox EX1 V to deg C: 20 * x -20
|
2022-11-22 14:20:22 +01:00
|
|
|
# optional!
|
2022-11-21 15:31:32 +01:00
|
|
|
CHANNEL_TRANSFORM:
|
|
|
|
EX1:
|
2022-11-22 13:34:58 +01:00
|
|
|
- ["*", 20]
|
|
|
|
- ["-", 20]
|