I'd found an issue where a response from the hardware didn't send the expected terminator. I sent a PR with a fix and AFAIK it was added.
If this is the problem then a verbose log from the driver will be required so that we can see if this is where the error is.
Hi Chris - I have just created the log file below. I had my EQMod mount, my QHY183M and ZWO guide camera connected plus the Moonlite.
As you can see, the Moonlite is coming up with temperature errors and the serial timeout error. At time 2020-03-03T11:31:21.602 GMT, I pressed the EKOS focus inward button - the focuser then just runs away and I had to disconnect and unplug it to get it to stop. The manual Moonlite Mini Controller works perfectly throughout all of this.
Incidentally Chris, when I run my gear on my Macbook Pro where I have Kstars 3.0.0 loaded, I get no serial time outs and the EKOS Moonlite controls work perfectly. I would use this for my imaging until the Moonlite issue with the latest Kstars is sorted but for some reason I can't get my QHY183M to work with Kstars 3.0.0...
The timeout errors are nothing to do with the change I made, that was a totally different part of the code.
I'm at a loss what to suggest. I can see some temperature reads working and some failing. Also some giving what looks like a good response but a temperature read error reported.
One thing that was mentioned to me when I was doing the ASCOM driver was that the read temperature command took 0.7 seconds to work. The INDI driver has never worried about this. IIRC the :C# command triggers a temperature read.
All that's left is some intermittent hardware issue or something esoteric such as a timing problem where your particular version of the MoonLite hardware has a problem if commands are very close together. I'll have another look but if my hardware doesn't show the problem all I can do is make changes and send them to you to test.
Chris - following on from Dustspeakers posts to this thread, I checked the status of the FTDIUSBSerialDriver extension on my iMac- it is there but has not been loaded. I downloaded the earlier version and replaced the newer one just as Dustspeakers did but I cannot get it to load either - probably due to my lack of knowledge of terminal commands and kext files. Could the non-loaded status of this extension be causing the problem?
Just to cause even more confusion - my Mac book pro where I have Kstars 3.0.0 and the Moonlite working perfectly (same OS Update as my Imac), the FTDIUSBSerialDriver does not show anywhere as an extension or a file - did KStars change to this driver at some stage?
I had a few fun and games installing the older driver, and from memory it went like this.
Firstly remove the newer driver:
# cd /Library/Extensions
# rm -rf FTDIUSBSerialDriver.kext
...and reboot. Verify after reboot that NO FTDI driver is installed with SystemReport -> Extensions.
Now install the older (unsupported) driver, version 2.3, using the procedure described here after installation, from direct.ilink.de/en/usb.html and screenshotted below. This procedure is for a different driver but the instructions are still the same. Note that you do not get this option with the newer FTDI driver, it just fails to load silently
...and reboot when installed. And using SystemReport -> Extensions, you should see the loaded driver, or that worked for me anyway, on Catalina 10.15.3 on my iMac and my MacBook Pro
Last Modified: 02/03/2015, 15:37
Bundle ID: com.FTDI.driver.FTDIUSBSerialDriver
Obtained from: Identified Developer
64-Bit (Intel): Yes
Kext Version: 2.3
Load Address: 18446743521889628000
Signed by: Developer ID Application: Future Technology Devices International Limited (658CPPCMJJ), Developer ID Certification Authority, Apple Root CA
Well I did all that - FTDI 2.3 is installed but it will not load - I don't get any prompts to authorise it as those instructions showed. Not quite sure what to do now and how to get the driver to load. Did the older driver stop the serial timeout errors you were getting?