I've been encountering a new issue that I can't explain with focusing. Let's say I start a focus run and I'm at position 5,000. I have a max step size of 300 (which I've now lowered to 150). It will take a focus check at 5,000, then go out to 5300, then start making it's sweep down until I get in focus say around 4500. It then makes one max focus move to the far inside to finalize the curve at say 4200. It says optimal focus is at 4,500, and it says moving back 300 to check focus at what it thinks is the recommended focus. Only, even though it shows it sending a move command, the focuser doesn't move. So the program thinks it back to 4500, but it's actually still at 4200. It checks focus and sees that it's way out of focus (still positioned at 4200. So focus fails eventually after a bunch more focus checks, or it stays out of focus and says autofocus complete even though its not in focus.
At this point, it either restarts, or I restart it. Now it's checking focus starting at what it thinks is position 4200. Finally it will settle with the same issues after another auto focus run somewhere around 3800. After you run this a few times over night, the system finally runs out of focus travel programmatically. It eventually reaches position 0. Even though there is still travel left.
I had been using full frame focusing, and switched to single star because the full frame constantly picks up noise, and struggles with my ASI2600's 55mb file sizes for bin 1x1. Bin 2x2 on my refractor makes the stars as small as a single pixel and can't be used. Here's my focus settings. Also Hy's new method never works for me. It just keeps trying to go smaller and smaller and never stops, and it seems the focuser doesn't move anymore after a while despite commands being sent to move.
Here's a bunch of logs, hopefully showing this issue. I don't remember what log settings I had, but I think focus is on since I've had issues with the Pegasus UPB Driver that moves my Moonlite focuser.