Complete re-write, BREAKING

This re-write uses different table names. Beware.
This commit is contained in:
2019-10-11 21:56:16 +02:00
parent 23d826c5c9
commit 617ba03ed3
6 changed files with 124 additions and 84 deletions

View File

@ -1,12 +1,13 @@
# Speed-test and IP change scripts
# Monitoring scripts for IP changes and connection speed
## Requirements
* Python 3 with modules `mysql-connector-python` and `speedtest-cli`
* A SQL database (MariaDB is recommended)
* Python 3 with the modules from `requirements.txt`
* A MySQL database (I use MariaDB)
* A DynDNS server that supports the [Remote Access Update API](https://help.dyn.com/remote-access-api/)
## Usage
1. Create tables in the database using `tables.sql`
2. Configure the scripts in the fields provided
3. Add cron-jobs for the scripts. I currently use an interval of 15 seconds
1. Configure the two scripts using `config.ini`
1. Set cronjobs for the two scripts. I currently run them every 15 minutes.