Man, I wish I knew how to debug drivers. Would love to be able to contribute to such efforts.(Is it easy for someone with some c language code debugging experience??). Hopefully, posting logs and documenting problems counts as contribution.
Anyways, it seems like only minor fixes may be required though. Fingers crossed, there is a developer out there with an AM5 who can fix it. I am happy to help in any way possible.
The main problems I'm seeing:
1. Local Time Mismatch:
There is an option in KStars to get local time data from the mount (which in turn gets the info from the smartphone wifi or local wifi network to which it is connected to). However, the time is always extra 1 hour compared to actual local time. I'm guessing this is related to the "time format" error that crops up when starting the indi server (both logs below show this error). So, basically daylight savings seems to be added once in the AM5 app and once more in KStars (cannot modify UTC time offset in the mount's indi control panel and cannot modify the time in the AM5 app to compensate).
2. Slew Error:
I get a slew error message whenever I try to do a GoTo without first doing a 1-star align using the AM5 app. This is the first log attached below. I did the following sequence of actions: Start indi server-->try GoTo on some star (deneb I think)-->See Slew Error-->Try sync on some star-->Try slew again-->Slew Error.
3. EKOS thinks mount is still slewing even though slew is complete:
IFF I do a 1-star align on the AM5 app, the GoTo command works on EKOS mount control. However, once the slew is complete and there is a beep from the mount, EKOS still shows the message that the mount is still slewing. I am still able to GoTo another object but I have to manually click on STOP in the Mount Control window first.
The second log file was saved after doing the following sequence: 1-star Align with AM5 mount app-->Goto Vega-->STOP-->GoTo Deneb-->STOP-->GoTo Vega.
One consequence with the mount slewing message not going away is that, since EKOS thinks the mount has not reached the target, "Load and Slew" in the framing tab is not possible without manually Stopping the slew from the mount control window.
Since the mount is based on the LX200 driver, maybe these issues were seen in those mounts as well?
Thank you for this! How do I do the equivalent command of update_indi_core,
update_indi_drivers on Astroberry?
From looking online, it seems I have to build from source. I followed some instructions but I'm not sure I did that correctly because the firmware version is from Aug 4 and still the errors persist.
Could you please link to the correct instructions in this case?
Ok quick update, by stopping and starting the drivers from the browser webpage (astroberry.local's left side panel) and then starting the indi server on EKOS, I saw that the driver for the AM5 had changed to indi_lx200am5 version 1. So I think that's the newest driver I need.
Also, not sure if it helped, but in indi options, I changed the location of indiserver to the new indi-core folder I created when building indi drivers from source (instructions to build from source from github.com/indilib/indi).
Slewing seems to work fine now without having to mess about with align in the AM5 app.
I have not yet tested in the field, but so far, the two issues related to slewing I reported previously seem to have been fixed. I will post an update later after I try out the capture and slew function under the stars.
The remaining issue is the +1h time that gets added to KStars when selecting "Mount updates KStars" option. Please let me know if there's any way I can help with resolving this.
Actually, now the capture function seems messed up. Whenever I try to capture a pic using either the guide cam (ASI120mm) or primary cam (QHY183m), it says capturing... but the only thing that happens is that the indi control panel opens up for some reason (capture module continues trying to capture). Stopping capture and trying again causes a crash of kstars.
So basically, can't do polar align or take images. I wonder if the above steps to get the updated AM5 driver is responsible. Note, I am using the 'Remote' option under device profile in ekos. 'Local' kept showing the old AM5 driver.
Can someone let me know how to get the nightly AM5 driver and what paths I should use for indiserver exe and indi driver xml folder? currently I've changed the paths for these from default to /home/astroberry/Projects/build/indi-core/indiserver and /home/astroberry/Projects/indi because I thought it made sense to point to the folder that has the new indi drivers built from source.
Alternatively, A simple guide on how to just update to a nightly driver on astroberry would be much appreciated.
I thought maybe the problem would be solved by buying Stellarmate OS and trying on that. But even then the driver still says lx200autostar after doing update_indi_core and update_indi_drivers. It seems indi is still looking at the old driver folder?? Anything else we need to do before or after those 2 commands?
Help us please!!