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.
- Rename
data.csv.sample
todata.csv
for example data. - Rename
chart.sample
tochart
for chart scripts. - Install packages if you have'nt alreadly
pip install -r requirements.txt
- run
python app.py
orpython make-chart.py
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 SNR | Upstream SNR |
---|---|
![]() |
![]() |
Downstream Attenuation | Upstream Attenuation |
---|---|
![]() |
![]() |