'Initialize the scanner.'

def __init__(self, config):

    self.host = config[CONF_HOST]
    self.username = config[CONF_USERNAME]
    self.password = config[CONF_PASSWORD]
    self.last_results = {}
    self.mac2name = {}
    url = 'http://{}/Status_Wireless.live.asp'.format(self.host)
    data = self.get_ddwrt_data(url)
    if (not data):
        raise ConnectionError('Cannot    connect    to    DD-Wrt    router')
