updated readme

This commit is contained in:
breadlysm 2020-07-18 11:22:16 -04:00
parent 2e32afbe83
commit d4e9e0581f
1 changed files with 10 additions and 1 deletions

View File

@ -8,7 +8,16 @@ You may want to do this so that you can track your internet connections consiste
## Using the script
Adjust the InfluxDB connection settings at the top of `main.py` to fit your setup and then run with one of the options listed below.
The InfluxDB connection settings are controlled by environment variables.
The variables available are:
INFLUX_DB_ADDRESS = 192.168.1.xxx
INFLUX_DB_PORT = 8086
INFLUX_DB_USER = user
INFLUX_DB_PASSWORD = pass
INFLUX_DB_DATABASE = speedtest
SPEEDTEST_INTERVAL = 1800
SPEEDTEST_FAIL_INTERVAL = 300
Be aware that this script will automatically accept the license and GDPR statement so that it can run non-interactively. Make sure you agree with them before running.