Use a config file to get the API key and device_id
Config file groups device by a user-defined hostname