Quote Originally Posted by Roxy View Post
You have the:

// ENDSTOP SETTINGS:
// Sets direction of endstops when homing; 1=MAX, -1=MIN
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

Set to home to Max, right? That is why this homing stuff is so confusing and it appears to go to the wrong corner. Where ever it goes with the G1 X0 Y0 is the origin corner.
Front left corner.

My endstops are X, Y max and Z is min on the I3.