def get_devicelist(home_hub_ip='192.168.1.254'):
    """Retrieve data from BT Home Hub 5 and return parsed result.
    """

    url = 'http://{}/'.format(home_hub_ip)

    try:
        response = requests.get(url, timeout=5)
    except requests.exceptions.Timeout:
        _LOGGER.exception("Connection to the router timed out")
        return
    if response.status_code == 200:
        return parse_devicelist(response.text)
    else:
        _LOGGER.error("Invalid response from Home Hub: %s", response)
Retrieve data from BT Home Hub 5 and return parsed result.