public override void OpenConnection()
 {
     try
     {
         //Open the connection
         humidityDevice.Open(4000);
         temperatureDevice.Open(4000);
     }
     catch (Exception ex)
     {
         throw new Exception($"There was an error with the {_sensorType} sensor connected to port {hubPort} on hub: {hubName}. Check connections and try again. \n \n System Error Message: \n" + ex.Message);
     }
 }