As I indicated above, this is a marginal design. I can see there being cases where things will work one day and not work in others or if wires are moved or if a metal enclosure was on or off.
So I did a bit of research and, apparently, you are experiencing a common SKR-PRO-V1.2 Endstop problem. Doing a Google search on “SKR-PRO-V1.2 endstop” yielded a lot of results with these being somewhat representative:
https://www.reddit.com/r/BIGTREETECH/comments/ufbeyw/ender_5_skr_pro_12_endstops_not_working/
It seems that there are three recommended actions for the issue:
- Remove the LEDs on the SKR-PRO-V1.2 Endstops. This will resolve the issue but there is the risk of damaging the boards and you have to know exactly what you are going after.
- Add 1.5k resistors between +5V (Pin 1 of the Socket) and the endstop input (Pin 3 of the Socket). This is less challenging in terms of soldering but doesn’t seem to be successful 100% of the time and I’m not sure about your case of the OpenBuilds switches with the built in LEDs.
- Buy a new board with more conventional endstop circuitry.
The endstop signal pin has a pull up resistor on it which holds the endstop sensor pin voltage at a high logic level until a switch closes and pulls the line down to ground. This is the typical way endstop sensors are implemented in main controller board circuitry.
Here’s an explanation with graphics:
The issue here is that there is an LED and another resistor in the circuit which raises the endstop sensor voltage to and intermediate level, not a definite high logic level or low one.
This is why removing the LED is the first thing I recommend as it will break the path to ground and give you a definitively high voltage.
The problem here has nothing to do with where the SKR-PRO-V1.2 is running. The issue is simply a bad endstop pin circuit.
There are a lot of good boards out there but before I can recommend one, I need to understand your requirements. The SKR-PRO-V1.2 has six stepper motor drivers and four heaters, which is a bit unusual.
I think the best first step would be to remove the LEDs on the endstop pins and see if that resolves your problem. I think you indicated that somebody created this custom printer and there’s probably a reason why they used the SKR-PRO-V1.2 (and hopefully it’s not they had one lying around they wanted to get rid of).