Yes, that's got useful information, thanks.
Try increasing the polling interval in the Moonlite focuser to 1000ms instead of 500.
This could be something to do with the Dallas temperature sensor that's used in the Moonlite, it takes 700ms to get a reading and perhaps polling faster than that might cause problems. The value that's failing is always the temperature read.
It times out initially but then it works OK. The timeout is actually 3 seconds, but it still fails. Appears to happen on first serial communication. At any rate, I just pushed v1.1 of the driver to mitigate this and now it works fine with the same 500ms poll time.
Since you're on Mac, you'd have to wait until the next release of KStars to test this out, OR install indiserver on Mac.
I have the same problem with serial timeout errors with the Moonlite <strong>BUT the focuser on my setup doesn't work at all</strong>, i.e. it doesn't move on command - see log file below. It used to work ok and I've not _consciously_ changed anything! I've done a bit of troubleshooting - I'm on a MacBook Pro running Catalina 10.15.2 with Kstars 3.3.8. The log file below is from a debug session when attempting to move the focuser. Everything appears ok in that the messages seem correct but the focuser hasn't actually moved. The slip clutch is correctly tightened and the focuser works fine in a Virtualbox VM running Windoze 10 and the Moonlite non-ASCOM utility, and it moves to the correct positioning when instructed, just not when using indi - this indicates to me that the USB-serial driver is operating correctly. I don't know whether the serial timeout errors are connected with the focuser not moving or a just a red herring. I really don't want to be running a whole VM just to operate the focuser - please help!
[ Click to expand ]
[ Click to hide ]
I don't think the recent fix will help, this was to resolve an issue that only affected things at startup. If that was the problem you would see only one command - the :V# command - and it would fail. In this case all commands are working most of the time, it's only some temperature read commands that fail and there seems to be a problem internally where a move command does nothing.
I also see that the temperature read command that work give a temperature value of 0xFFB8, that gives a temperature of -36C. Is that correct? It seems remarkably low to me but if correct It wouldn't be a surprise that things are beginning to have trouble.
The move command seems to be sent with no error but as you say there's no movement and the firmware reports that the move has completed immedately. Did you try smaller moves? maybe 100 steps?
Firstly the problem with the Moonlite movement. I've set up the kit standalone in my 'lab'. Direct USB to Moonlite from MacBook - as before with same messages. Tried from my desktop iMac with same result - to be expected as that is also running Catalina 10.15.2/Kstars 3.3.8, BUT I tried running the indi client on the MacBook and the indi server on a RaspberryPi (Ubuntu 18.04.2) and the Moonlite moves exactly as it should with no errors...
...so the movement issue is for sure not the Moonlite focuser itself, and it does not seem to be indi either. I'm coming to the conclusion that maybe the issue lies with Catalina 10.15.2. The Moonlite is new and I've only used in twice and the first time, about a month ago, it worked OK. The MacBook at that stage would have been on Catalina 10.15.1. This is the only thing that I can think of that has changed. Also since going from 10.15.1 to 10.15.2 my Canon EOS utility for downloading images over USB has stopped working (see this
). I wonder when/if this gets fixed in MacOS the Moonlite issue will go away??? I'll update when/if this happens.
Secondly, I did notice that the temperature was being displayed as -36C but fortunately the real temperature was about +5C! Now I have the kit in my nice warm room temperature lab set up, I found that the jack plug for the sensor catches slightly on the case on insertion. Now I've given it a solid insertion (!), the display is now reading +23C which is about right. Happy days. Does the temperature operation need to be initialised/calibrated in any way, or should it just work?
So Catalina 10.15.3 is out and installed. The issue with the Canon USB not working is now fixed so they did break something USBish in 10.15.2, BUT unfortunately I still have the same issue with the Moonlite focuser with "[ERROR] Serial read error: timeout error." about every 5 secs and no movement of the focuser motor. If I use the manual pushbuttons to move the motor then the absolute step position in the focuser tab window changes correctly so part of it is working, just not the motor movement. Any ideas anyone?
I've finally got something to work. The issue is that the FTDI driver recommended by Moonlite on their site version 2.4.2 from
JUST WILL NOT LOAD on Catalina complaining of invalid signature. According to some other forums the loading can be allowed by bypassing Apple's integrity check in safe mode but this is for all software, not just this driver - not a workable option for me.
From the site above I downloaded a 'no longer supported' version 2.3 and this now loads. Not ideal but at least the focuser works now. If FTDI and Apple get their act together and release a supported (by Apple) version then this will have to do.
From System Report -> Software -> Extensions, we now have the following, whereas the newer version 2.4.2 was not loading:
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
I am still getting the timeout error with the latest version of Kstars. Jasem - you mentioned that you had updated the moonlite Indi driver and that had solved the issue. Can you confirm the driver update was included in the latest version of Kstars?