Thanks for the config file.
First thing to know about your homing solution is:
- Is it a simple passive switch?
- Is it an active switch (a little board, delivering a voltage, frequently with a led on it and needing to be connected with 3 wires)
- Is it another solution (optical, magnetic, etc…)?
It this is a passive switch, the simplest way to connect it, is to wire the switche between groud and input, and setting the input as reversed (!) and pullup (^). When switch is not active, the pullup give a 3.3V to the uP input. The invert sign(!) tells smoothie to understand that as a logic zero.
Homing direction (alpha_homing_direction & alpha_homing_direction = home_to_min) suggest your switches are supposed to be at the machine zero. Motor will decrease coordinates to reach homes.
So alpha_min_endstop & beta_min_endstop will be used as pin definition for min X and min Y home switches. Alpha config, suggest a passive switch connected to pin 1.24, inverting boolean logic and setting up the pullup (^!). That should be good for a passive switch between gnd and input (normally opened). You shoud put one on this axis, since it a nonsense to home only one axis…
Beta switch config (1.26^ ) have got a pullup, but is not inverted, If no switch connected to it, it will be seen as a “switch activated” input (logic 1 all the time to the input because of pullup). I don’t understand how you’ve cabled a switch on this input, but at least i suggest to connect a NO passive swich between GND and INPUT, and add the ! to the definition.
If you’re connectig active switches (delivering a voltage), remove the pullup (^), and insert and invert sign (!) only if your switch is delivering 3.3 or 5V when not activated.
Your homing order (homing_order YX) suggest you’ll home Y then X. If there’s no switch on X, why to home it? Not sure if removing X in homing order will be enough to home with a single axis. You’ll have to try.
Hope this will help.