Born of this thread: https://discourse.octoprint.org/t/changing-the-g-codes-for-the-buttons-in-the-control-tab/4534/7 Seems some printer firmware "engineers" are messing with how homing works... again... GG.
@Arun_Baby If you want to give this a go https://github.com/ntoff/OctoPrint-CustomZhoming and see if you can use it to customise the command given when you press the Z homing button. You can enter ONE command for it to send, so you can try your G28 X00 Y200 Z0 thing if you want, but I stand by my original statement that it's up to you to make sure your nozzle is in place before homing Z, if you're manually homing your axes. Judging by how rogue firmware developers are when it comes to this stuff, I'm not entirely sure
G28 X100 Y200 Z0 will even fix your issue (unless you've tried that command and know it will work). Half the time firmwares just ignore any and all values for X, Y, and Z. Entering
G28 Z9999999999999999999999999999999999999999999999999999999999999 is exactly the same as
G28 Z half the damn time.
@Ewald_Ikemann I'm not really sure this'll help you much, from the page you linked to, it doesn't seem Prusa has a way to home the axes individually at all? It's either all or nothing? (probably safety oriented so you can't crash the nozzle?) Would adding X and Y support benefit you at all? What did you end up doing?