Uses or abuses(?) the snmp functions from the web interface of the Virgin Superhub 3. Since the Superhub 3 is actually an Arris device, I guess this can be used for those devices as well.
Some useful object identifiers (OIDs):
"WPAPreSharedKey","1.3.6.1.4.1.4115.1.20.1.1.3.26.1.2"
"BssSSID","1.3.6.1.4.1.4115.1.20.1.1.3.22.1.2
Other OIDs can be captured while browsing the web interface (also see MIBs).
This could also be useful for pulling stats out for monitoring purposes, and graphing the data with something like Grafana.
This assumes the router IP is 192.168.0.1
.
git clone https://github.com/alexmartinio/vmsuperhub-smnp.git
cd vmsuperhub-smnp
python3 app.py
# or just python depending on environment
The app should prompt for the router admin password if it is not already set in the .env
file.