×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Autofocus if delta Temperature seems not to work ...

  • Posts: 80
  • Thank you received: 2
Don't think so, the hfr field works fine for example.

Any other suggestions, or has anybody else tested this feature??
3 years 6 months ago #59874

Please Log in or Create an account to join the conversation.

  • Posts: 1009
  • Thank you received: 133
Yes, it has worked several times nicely for me. Does it work if you use 1,00 instead? If yes, that could point at issues with the '.' vs ',' notation....
3 years 6 months ago #60076

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 182
Autofocus on [delta]T works like a charm using the MoonLite focuser driver. I have it set to automatically refocus if [delta]T > 1.5 and it does so faithfully.
3 years 6 months ago #60079

Please Log in or Create an account to join the conversation.

  • Posts: 80
  • Thank you received: 2
Hmm, i will give it a try, but i can not insert a dot here.

Kstars is running under Windows, while Indiserver is on PI4 ...

Thanks
pmneo
3 years 6 months ago #60085

Please Log in or Create an account to join the conversation.

  • Posts: 459
  • Thank you received: 69
Would "1" work, i.e. no decimal point?
3 years 6 months ago #60087

Please Log in or Create an account to join the conversation.

  • Posts: 80
  • Thank you received: 2
I tried it, Ekos prints 1,000 after inserting only a 1.

Can anyone post a log with a working temp autofocus?

Here is a verbose snip of focus and capture ... the temp from focuser is readed correctly, but i can't find any hint that ekos is listening for the temp change ....

<code>[2020-09-16T22:29:09.068 Mitteleuropäische Sommerzeit INFO ][ org.kde.kstars.ekos.focus] - "Autofocus complete after 18 iterations."
[2020-09-16T22:29:09.069 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.focus] - Stopping Focus
[2020-09-16T22:29:09.070 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.focus] - AutoFocus result: true
[2020-09-16T22:29:09.070 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.focus] - "Setting current focuser temperature: 16.50"
[2020-09-16T22:29:09.070 Mitteleuropäische Sommerzeit INFO ][ org.kde.kstars.ekos.focus] - Autofocus values: position, 6403 , temperature, 16.5 , filter, "G" , HFR, 1.20918
[2020-09-16T22:29:09.247 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.focus] - State: "Complete"
[2020-09-16T22:29:09.259 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - setFocusStatus: 1
[2020-09-16T22:29:09.259 Mitteleuropäische Sommerzeit INFO ][ org.kde.kstars.ekos.capture] - "Ekos will refocus in 3.600 seconds."
[2020-09-16T22:29:09.260 Mitteleuropäische Sommerzeit INFO ][ org.kde.kstars.ekos.capture] - "Focus complete."
[2020-09-16T22:29:10.217 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - Focus elapsed time (secs): 0 . Requested Interval (secs): 3600
[2020-09-16T22:29:10.317 Mitteleuropäische Sommerzeit INFO ][ org.kde.kstars.indi] - ASI EFW : "[INFO] Setting current filter to slot 4 "
[2020-09-16T22:29:13.280 Mitteleuropäische Sommerzeit INFO ][ org.kde.kstars.ekos.capture] - "Capturing 180,000-second B image..."</code>


I can find only such checks:


<code>[2020-09-16T22:32:18.335 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - Focus elapsed time (secs): 189 . Requested Interval (secs): 3600
[2020-09-16T22:32:19.449 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - Focus elapsed time (secs): 190 . Requested Interval (secs): 3600
[2020-09-16T22:32:20.746 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - Focus elapsed time (secs): 191 . Requested Interval (secs): 3600
[2020-09-16T22:32:21.747 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - Focus elapsed time (secs): 192 . Requested Interval (secs): 3600
[2020-09-16T22:32:22.753 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - Focus elapsed time (secs): 193 . Requested Interval (secs): 3600
[2020-09-16T22:32:23.753 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - Focus elapsed time (secs): 194 . Requested Interval (secs): 3600
[2020-09-16T22:32:24.760 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - Focus elapsed time (secs): 195 . Requested Interval (secs): 3600
[2020-09-16T22:32:25.764 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - Focus elapsed time (secs): 196 . Requested Interval (secs): 3600
[2020-09-16T22:32:26.769 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - Focus elapsed time (secs): 197 . Requested Interval (secs): 3600
[2020-09-16T22:32:27.778 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - Focus elapsed time (secs): 198 . Requested Interval (secs): 3600
[2020-09-16T22:32:28.013 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - Guiding state changed from "Dithering" to "Dithering successful"
[2020-09-16T22:32:28.013 Mitteleuropäische Sommerzeit INFO ][ org.kde.kstars.ekos.capture] - Dithering succeeded, capture state "Dithering"
[2020-09-16T22:32:28.014 Mitteleuropäische Sommerzeit INFO ][ org.kde.kstars.ekos.capture] - "Dithering succeeded."
[2020-09-16T22:32:28.015 Mitteleuropäische Sommerzeit INFO ][ org.kde.kstars.ekos.capture] - "Dither complete."
[2020-09-16T22:32:28.016 Mitteleuropäische Sommerzeit INFO ][ org.kde.kstars.ekos.guide] - "Dithering completed successfully."
[2020-09-16T22:32:28.017 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - Guiding state changed from "Dithering successful" to "Guiding"
[2020-09-16T22:32:28.018 Mitteleuropäische Sommerzeit INFO ][ org.kde.kstars.ekos.guide] - "Guiding resumed."
[2020-09-16T22:32:28.811 Mitteleuropäische Sommerzeit DEBG ][ org.kde.kstars.ekos.capture] - Focus elapsed time (secs): 199 . Requested Interval (secs): 3600
[2020-09-16T22:32:28.902 Mitteleuropäische Sommerzeit INFO ][ org.kde.kstars.indi] - ASI EFW : "[INFO] Setting current filter to slot 1 "
[2020-09-16T22:32:33.183 Mitteleuropäische Sommerzeit INFO ][ org.kde.kstars.ekos.capture] - "Capturing 180,000-second L image..."</code>

CS
Last edit: 3 years 6 months ago by Philip Mair.
3 years 6 months ago #60089

Please Log in or Create an account to join the conversation.

  • Posts: 1009
  • Thank you received: 133

That's fine. The suspicion is that it might stop parsing when reaching the comma. So with 1,00 it would still read the 1 and use it.

I've attached one of my logs where the mechanism was triggered.

I also noticed that in debug it's even more verbose and reports the check after each frame, like
<code>
[2020-08-18T06:37:15.478 WEST DEBG ][ org.kde.kstars.ekos.capture] - Focus temperature delta (°C): 0.21 . Requested maximum delta (°C): 1
</code>
So enable debug for the capture module and check the output...

Edit: Sorry, just see that your log was with debug, and without the entries. Definitely try again with 1,00
Last edit: 3 years 6 months ago by Peter Sütterlin.
3 years 6 months ago #60091
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 182
"2020-09-16T22:29:09.259 Mitteleuropäische Sommerzeit INFO ][ org.kde.kstars.ekos.capture] - "Ekos will refocus in 3.600 seconds.""

Also, you are set to refocus after 1 hour anyway. Most likely, temperature drop will not exeed the [delta] T before the next refocus will be triggered anyway.

So if you want to test refocus on delta[T], disable the refocus after 60 min check box.
3 years 6 months ago #60092

Please Log in or Create an account to join the conversation.

  • Posts: 80
  • Thank you received: 2

I tried with 1 but i can't find such log entry in my logs :(

I had this disabled this option, but no focus was done. The thing is, that it seems that Ekos is not checking the current focuser temp. The only step where i can find the focuser temp is while the autofocus procedure:
[2020-09-17T02:39:56.796 Mitteleuropäische Sommerzeit DEBG ][     org.kde.kstars.ekos.focus] - "Setting current focuser temperature: 13.00"

But in this case it seems only to resolve in half steps, the UI of the driver has more sensible steps:



So do you think this may be a driver issue?

CS
pmneo
3 years 6 months ago #60116
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 80
  • Thank you received: 2
So i have switched over from KStars running under Windows to run KStars under the Raspberry PI 4.

The Temperature based Focus is still not working, but now i can see following logs:

<pre>
, QVariant(qlonglong, 5196))))
[2020-09-30T12:36:20.491 CEST INFO ][ org.kde.kstars.ekos.focus] - "Idle."
[2020-09-30T12:36:20.494 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Focuser temperature is not available"
[2020-09-30T12:36:20.494 CEST INFO ][ org.kde.kstars.ekos] - "DeepSkyDad AF3 focuser is online."
[2020-09-30T12:36:20.496 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Focuser temperature is not available"
[2020-09-30T12:36:20.519 CEST DEBG ][ org.kde.kstars.ekos.capture] - Registering new Module ( "Capture" )
[2020-09-30T12:36:20.528 CEST DEBG ][ org.kde.kstars.ekos.capture] - Registering new Module ( "Focus" )
[2020-09-30T12:36:20.636 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Focuser temperature is not available"
[2020-09-30T12:36:20.641 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Focuser temperature is not available"
[2020-09-30T12:36:20.646 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Focuser temperature is not available"
[2020-09-30T12:36:20.650 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Focuser temperature is not available"
[2020-09-30T12:36:20.652 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Focuser temperature is not available"
[2020-09-30T12:36:20.656 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Focuser temperature is not available"
[2020-09-30T12:36:20.659 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Focuser temperature is not available"
[2020-09-30T12:36:20.661 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Focuser temperature is not available"
[2020-09-30T12:36:20.678 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Focuser temperature is not available"
[2020-09-30T12:36:20.687 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Focuser temperature is not available"
[2020-09-30T12:36:20.691 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Focuser temperature is not available"
[2020-09-30T12:36:20.696 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Focuser temperature is not available"
[2020-09-30T12:36:20.700 CEST DEBG ][ org.kde.kstars.ekos.focus] - "Setting current focuser temperature: 0.00"
</pre>

This is really strange, because the INDI Tab shows the Temp correctly and it is updated correctly, when taking the sensor into my hand:



Any Suggestions?
3 years 5 months ago #60866
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 182
The problem must be specific to the AF3 driver. Temperature triggered refocusing works like a charm using the MoonLite driver and MyFocuserPro autofocuser.
3 years 5 months ago #60872

Please Log in or Create an account to join the conversation.

  • Posts: 80
  • Thank you received: 2
Yes i think so. I have just done some recent changes to the driver and build it localy, now let's see if this works.

CS
pmneo
3 years 5 months ago #60886

Please Log in or Create an account to join the conversation.

Time to create page: 1.068 seconds