Hello all,
sorry for the clickbait title, but I wanted to attract your attention on an issue[1] Jasem and I are debugging (well, mostly Jasem, I’m just supporting), and we need to understand how many people are facing this issue and with which mount.
Theoretically, this issue should affect only people living in countries where DST is being used.
How to check if you are affected by this issue:
Kstars - Settings - Configure Kstars - INDI - Time & Location Updates → (check) Mount Updates Kstars → (check) time, (check) location
Connect your mount, start EKOS, and check the time in Kstars. Is it correct? Or is it off by, for example, 1 hour?
If the time is not correct, please report:
what mount you’re using
if you’re using DST
by how much the time is off
You can my full report on the github issue, in case you should need more info
CEM60, Stellarmate on rPi4, updated nightly.
I DO live in a DST country and this problem has plagued my meridian flips from day one. The mount disagrees with Kstars when the flip tries to run.
I DO get the wrong time in Kstars when I have DST set to Y in the HC, and have mount update time and location.
My workaround for this was to remove the HC from the mount, then everything works fine for the flip.
No issues with my EQM-35 Pro using the same system.
if this is about time syncing for iOptron mounts there is definitelly is a problem. (Has been discussed in earlier topics)
I sync time from Kstars to the mount (cem60), and the only way to make it work correct is NOT to use DST in the mount, but set the time offset to include the DST.
The driver does not take into account the DST setting if set in the mount.
Probably caused by this
IOptron RS232 manual
[quote]Command: “:GLT#”
Response: “sMMMYYMMDDHHMMSS#”
This command gets time related information. The response includes a sign and 16 digits.
The sign and first 3 digits indicate the minute offset from UTC (time zone). Note: The Daylight-
Saving Time will not be take account into this value.
The 4th digit indicate the Daylight-Saving Time, 0 means Daylight Saving Time has not been
observed, 1 means Daylight Saving Time has been observed.
The 5th to 10th digits indicate for current local date.
The 11th to 16th digits indicate for current local time in 24 hours format[/quote]
Note that in the shown response the DST flag is not shown but it is explained as the 4th digit (between offset and date)
if this is about time syncing for iOptron mounts there is definitelly is a problem. (Has been discussed in earlier topics)
I sync time from Kstars to the mount (cem60), and the only way to make it work correct is NOT to use DST in the mount, but set the time offset to include the DST.
The driver does not take into account the DST setting if set in the mount.
Probably caused by this
IOptron RS232 manual Command: “:GLT#”
Response: “sMMMYYMMDDHHMMSS#”
This command gets time related information. The response includes a sign and 16 digits.
The sign and first 3 digits indicate the minute offset from UTC (time zone). Note: The Daylight-
Saving Time will not be take account into this value.
The 4th digit indicate the Daylight-Saving Time, 0 means Daylight Saving Time has not been
observed, 1 means Daylight Saving Time has been observed.
The 5th to 10th digits indicate for current local date.
The 11th to 16th digits indicate for current local time in 24 hours format
Note that in the shown response the DST flag is not shown but it is explained as the 4th digit (between offset and date)
the diver does not handle that:Decoding dst is missing at res+4 (and probably handling as well)
I have this issue with a GEM45 (latest firmware) and ioptronv3 driver.
I’m GMT+1 with DST, and kstars is updated from the mount 1 hour earlier, i.e. as if DST is off. However, I have to stress that the issue is only related to the time displayed by ekos as Local Time. Sidereal time is correct, so no issue with slewing to target.
Also note that the driver log reports “DST is on”, so the response from the mount is properly parsed.
if this is about time syncing for iOptron mounts there is definitelly is a problem. (Has been discussed in earlier topics)
I sync time from Kstars to the mount (cem60), and the only way to make it work correct is NOT to use DST in the mount, but set the time offset to include the DST.
The driver does not take into account the DST setting if set in the mount.
Probably caused by this
IOptron RS232 manual Command: “:GLT#”
Response: “sMMMYYMMDDHHMMSS#”
This command gets time related information. The response includes a sign and 16 digits.
The sign and first 3 digits indicate the minute offset from UTC (time zone). Note: The Daylight-
Saving Time will not be take account into this value.
The 4th digit indicate the Daylight-Saving Time, 0 means Daylight Saving Time has not been
observed, 1 means Daylight Saving Time has been observed.
The 5th to 10th digits indicate for current local date.
The 11th to 16th digits indicate for current local time in 24 hours format
Note that in the shown response the DST flag is not shown but it is explained as the 4th digit (between offset and date)
the diver does not handle that:Decoding dst is missing at res+4 (and probably handling as well)
[quote=“simont”]I have this issue with a GEM45 (latest firmware) and ioptronv3 driver.
I’m GMT+1 with DST, and kstars is updated from the mount 1 hour earlier, i.e. as if DST is off. However, I have to stress that the issue is only related to the time displayed by ekos as Local Time. Sidereal time is correct, so no issue with slewing to target.
Also note that the driver log reports “DST is on”, so the response from the mount is properly parsed.[/quote]Thanks! Good to know that sideral time is correct
What’s not working correctly due to this bug is autopark (could be workarounded by setting wrong time there). Dunno about meridian flip, this should be checked too (can’t do it these days due to rain)
Having this issue, too, with my iOptron HEM27. Right, I am in DST (Taiwan). As observed, it’s about 2 days off. Firstly I thought my RTC was broken but nice to know it is a known issue.
Is there any workaround at this point? This is annoying as I have to set the date and time every time I am going to capture.
I have another post on this issue, but just saw this.
I have Sherlocked that a c++ function that convert time to epoch set the DST parameter to inactive. I do not have a confirmation that this is the case though, just a find in the driver (lx200 driver).
This suggests (for me at least) that the time from the mount is correct when DST is inactive.
My suggestion is try to use Julian Day instead, in this case: Convert mount time to julian->Add UTC offset (in Julian hours)->Convert back to gregorian. Need to be tested if DST also is an issue with Julian Day though.