env update

This commit is contained in:
Mateusz Gruszczyński
2026-01-03 23:35:29 +01:00
parent 5478c0d614
commit 276d089aea
4 changed files with 56 additions and 3 deletions

View File

@@ -26,6 +26,10 @@ class Config:
'tx_power_max': float(os.getenv('TX_POWER_MAX', 5.0)),
'temperature_max': float(os.getenv('TEMPERATURE_MAX', 85.0)),
'fec_errors_max': int(os.getenv('FEC_ERRORS_MAX', 1000)),
'tx_bias_min': float(os.getenv('TX_BIAS_MIN', 5.0)),
'tx_bias_max': float(os.getenv('TX_BIAS_MAX', 90.0)),
'voltage_min': float(os.getenv('VOLTAGE_MIN', 3.0)),
'voltage_max': float(os.getenv('VOLTAGE_MAX', 3.6)),
}
# Web Interface