×

INDI Library v1.9.1 Released (26 Jun 2021)

Bi-monthly INDI Library v1.9.1 is released bringing a few new drivers and improvements to existing drivers.

How does Ekos set the environment temperature?

  • Posts: 55
  • Thank you received: 2
Hello,

I am currently having a look on how this Delta T > threshold focus trigger could be implemented.
Like for you, the learning curve is a bit hard.
My USB Focus V2 does have a temperature probe, but it seems I am still getting the default value -274.
1 year 2 months ago #53551

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

  • Posts: 278
  • Thank you received: 38
I too am rummaging around the code now (it's a deep pool to dive into) for how to make the temperature more useful.
I have a Pegasus FocusCube V2 which provides temperature to the control panel.

Various PC based software packages apparently do auto-temperature controlled focusing, but I have yet to use a PC for astronomy and I'd like to keep it that way.
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
The following user(s) said Thank You: Craig
1 year 2 months ago #53558

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

  • Posts: 55
  • Thank you received: 2
I managed to run the debugger, and of course we get a null pointer for the property "TemperatureNP".
I also tried to understand the indi driver code, what the difference between TemperatureN and TemperatureNP is. But I think I would need help here.
1 year 2 months ago #53579

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

where exactly? can you share more details
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 2 months ago #53648

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

  • Posts: 55
  • Thank you received: 2
Hello Jasem,

In focus.cpp, method Focus::setAutoFocusResult, I always get a null pointer when trying to access the Temperature property (although the logs show the temperature, and it is displayed in the INDI control panel):
INDI::Property * np = currentFocuser->getProperty("TemperatureNP");

Meanwhile, I noticed I could get temperature value updates in Focus::processFocusNumber.
This is even better.
I will perform some tests and will soon propose my code for the feature.

Clear skies
1 year 2 months ago #53673

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

TemperatureNP is the variable name in the INDI driver, not the property name. The property name is FOCUS_TEMPERATURE
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 2 months ago #53677

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

  • Posts: 1936
  • Thank you received: 414
Just reviving this thread. Is there any news regarding possibly being able to have a temperature dependent auto-focus?


Thanks, Wouter
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
1 year 2 months ago #54215

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

  • Posts: 55
  • Thank you received: 2
Hello,
The feature is under review here:
phabricator.kde.org/D29821
The following user(s) said Thank You: Wouter van Reeven
1 year 2 months ago #54216

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

  • Posts: 346
  • Thank you received: 105
Also, while recently distracted by AD archive tool and PHD2 logViewer support (and trying to get some dark time imaging in as well), I do still intend to investigate adding the "else clause" referenced at the beginning of this thread so that folks with more generalized temperature sensors (e.g. PPB, PPB-V2) can have correlated focus/temperature log entries. I hope this data will lead to real-time, temperature based focus adjustments between images. Ideally, for well behaved setups, this could reduce the need for full focusing runs to start of night and/or one-off adjustments.
RASA11, Celestron CGX-L, ASI183mc Pro, 60mm guider + ASI290mm mini, ASI EAF focuser, PPB, Rpi4-4Gb+SSD, Powered USB3 hub, hardwire Ethernet.
The following user(s) said Thank You: Wouter van Reeven
1 year 2 months ago #54226

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

  • Posts: 1936
  • Thank you received: 414

Please let us know when this has been merged so those of us using the nightly builds can start testing this.
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
1 year 2 months ago #54228

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

KStars migrated to Gitlab: invent.kde.org/education/kstars

So please re-submit the PR there so it can be reviewed and merged.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 2 months ago #54229

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

  • Posts: 278
  • Thank you received: 38
invent.kde.org/education/kstars says:
Development
Important Note: Do not submit Pull Requests to Github. KStars repository on Github is just a mirror. All PRs will be closed automatically. To send patches to KStars, please use KDE's Phabricator system.

So I'm confused on the current interaction between Gitlab and Phabricator
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
1 year 2 months ago #54237

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

Time to create page: 0.775 seconds