Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot login to Smarthub 2 #14

Open
zokolabs opened this issue May 8, 2021 · 2 comments
Open

Cannot login to Smarthub 2 #14

zokolabs opened this issue May 8, 2021 · 2 comments

Comments

@zokolabs
Copy link

zokolabs commented May 8, 2021

the username admin and the password is not accepted by the router always defaults to error message
Home Hub login failed. Unable to collect metrics

@jamesnetherton
Copy link
Owner

jamesnetherton commented May 9, 2021

SmartHub 2 is not supported. It uses a completely different set of APIs.

@alexgreenbank
Copy link

SmartHub 2 exposes some data via a single xml file that can be pulled with no authentication.

I found the info here: https://blog.habets.se/2015/03/Scraping-data-from-a-BT-home-hub-5.html

I wrote a crass mini exporter as a perl script (fired using netcat) that exposes the up/down speeds and byte counters and that was enough for Prometheus/Grafana. Can't get anything more useful I don't think.

If I get a chance I'll see if I can submit a PR to extend James' code to handle a SmartHub 2 but I'm just getting used to Go and Prometheus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants