/snr-analyzer

Some python scripts to analyze your DSL line quality and noise.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

SNR Analyzer

Hi, I wrote some python scripts to get the Line Rate, SNR and Attenuation from my router.

Then I put these scripts on my crontab to gather these data every 1 minute.

How to run

  1. Rename data.csv.sample to data.csv for example data.
  2. Rename chart.sample to chart for chart scripts.
  3. Install packages if you have'nt alreadly pip install -r requirements.txt
  4. run python app.py or python make-chart.py

Compatibility

To run on your environment you might need to edit app.py bs4 parts to select data from your own router and put your auth info there too.

You can use make-chart.py to create plot charts based on that data.

Chart examples:

Downstream Rate Upstream Rate
Downstream Rate Upstream Rate
Downstream SNR Upstream SNR
Downstream SNR Upstream SNR
Downstream Attenuation Upstream Attenuation
Downstream Attenuation Upstream Attenuation