The z axis needs to be up before calibrating the x/y axis or it will hit things. The z axis can only be calibrated once the x, y are in a position where it is known to be safe to push the z axis all the way down without it hitting something.
So it would be nice to have something like a calibrateAll routine that could be called from the scripts so it can be schedules that does the following
moves the z axis all the way up to do half the z calibration
calibrates x, and y at same time - right now calibration in very slow and no reason not to do them both at same time
moves the x,y to a safe location that is entered in the web API
moves the z axis all the way down to finish the z calibration
Something like that sound reasonable ? Alternative plans ?