Connect to a BT Smart Hub 2 Web interface and fetch some status information.
To use:
./bt_smarthub debug
Downloads data from the device, adds field titles where known and dumps all the information.
None of these URLs need authentication when accessed from the LAN. Most of the information is duplicated in more than one place.
The wan_conn.xml endpoint is the most complete data source and thus is the one downloaded by the script in this repository