Nope no way just using software, you still need a switch to trigger the adjust point.

But the answer is easy really.? Mount the Switch so it doesn't get crushed but rather rode over. Also Fit limit switches or use home switch for both.