I think you loaded 2 identical photos ![]()
Well, I wish you good luck then)
If you could use a standard button, I think you could read input signals from the stepper driver and check for how long it was active.
Otherwise, if you want to control motor by yourself - you can check this documentation: Stepper Component — ESPHome
But you need to use or A4988 or ULN2003 driver.
I would appreciate if you would keep us updated ![]()
Also check this post: ESPHome - 28BYJ-48 motors with A4988 driver (Working Solution) - #9 by fourtrax011