I wrote some python scripts for measuring throughput on Ubiquiti routers (running EdgeOS).
These scripts do not perform a speedtest, they return the throughput of the router which is how much data is moving through the router at that time.
There are two versions of the script one that runs once and one that runs until stopped.
Example output of single run script:
Example output of the loop script:
There is more information about the scripts and the code in the GitHub repository (github.com/conorwalsh/EdgeOS-Throughput-Measurement-Tools).
I am hoping to further develop these scripts to log the throughput over time and possibly graph the outputs in the future.
As always if you have any questions please don’t hesitate to ask,