×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Driver OnStep (LX200 like) for INDI

  • Posts: 23
  • Thank you received: 2
Hi Alain,

It took me a while, as I had to start from scratch…
But in the end I can say: neither v. 3.6.6 nor 3.6.7 beta can present focuser temperature properly. When there is no weather sensor present you can see just ‘nan’.

W
The following user(s) said Thank You: Alain Zwingelstein
6 months 3 weeks ago #96041

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

  • Posts: 452
  • Thank you received: 71
Good to hear I am not alone testing the last development versions :-)

You are right if there is "NO" sensor present you just see "nan".
This is not an Indi nor a kstars feature but an OnStep 4.xx feature and this was precisely why I had errors messages whan using OnStepX due to this "nan" instead of an double.

When it comes to Kstars version the important thing is that Ekos might be different from version to version since it is part of Kstars this is why I insist on showing all versions when reporting because otherwise it is a nightmare.
Kstars and Indi are constantly updated (except distribution versions).
OnstepX juste released to 4.18.C (First official Release) and certainly will be subject to revisions due to tweaking and new hardware support.

I just "hope" that the lx200 interface stays stable for a while because I am constantly behind the scene with this.
6 months 2 weeks ago #96050

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

  • Posts: 23
  • Thank you received: 2

I meant a system where there is no weather sensor, but the telescope temperature one is still present (DS18B20).
ASCOM has no problem with that and in INDI driver you can see the output BUT is is still lost somewhere in EKOS...

I might try to test with both sensors present, but I'm afraid it won't help much.

Best,
Wieslaw
6 months 2 weeks ago #96055

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

  • Posts: 452
  • Thank you received: 71
Are you sure you use the latest driver?
here connection Tab

and Control Panel Focus Tab

and finally Ekos Focus Tab

In Ekos may be it is not selected (see TS selection drop down list)

By the way, the lx200_Onstep driver version 1.20 is now in the libindi master and should be available soon for Ubuntu users
Last edit: 6 months 2 weeks ago by Alain Zwingelstein. Reason: Typo
6 months 2 weeks ago #96058
Attachments:

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

  • Posts: 23
  • Thank you received: 2
I tested with the file you attached recently.

In my system there is no BME280, just DS18B20 sensor.









Regards,
W
6 months 2 weeks ago #96067
Attachments:

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

  • Posts: 23
  • Thank you received: 2
Anyway, it seems there is an issue with EKOS rather than INDI driver...
6 months 2 weeks ago #96068

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

  • Posts: 452
  • Thank you received: 71
I see, I made lot of changes since. This file was more for testing the error messagee not for the Ekos T° display.
use the latest libindi git (it has been merged yesterday) github.com/indilib/indi
6 months 2 weeks ago #96069

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

  • Posts: 23
  • Thank you received: 2
Yes! It works in the end.
Silly me (hardware guy). :silly:

Thanks a lot Alain! :)

I will try to check how it works with two sensors present.

Best,
W
6 months 2 weeks ago #96083

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

  • Posts: 452
  • Thank you received: 71
Which versions did you finally test with?
6 months 2 weeks ago #96093

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

  • Posts: 23
  • Thank you received: 2
Briefly:

EKOS version 3.6.6 stable ignores DS18B20 values at all, although properly read in INDI driver
EKOS version 3.6.7 beta works fine - can use DS18B20 and distinguish its vales properly when BME280 is present, too

W
6 months 2 weeks ago #96097

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

  • Posts: 452
  • Thank you received: 71
You cannot just consider Kstars version (Ekos has no version as it is part of Kstars)
If you take the lx200_OnStape driver version 1.19 you will see that the focuser temperature is not displayed in ekos but in control panel.
The fact that Ekos is aware or not about a value depends on the name of the property for that particular value.
This is the code version 1.20 of the lx200_OnStep driver
// Focus T° Compensation
    IUFillNumber(&FocuserTN[0], "TFC T°", "TFC T°", "%+2.2f", 0, 1, 0.25, 25);  //default value is meaningless
    IUFillNumber(&FocuserTN[1], "TFC Diff T°", "TFC Diff T°", "%+2.2f", 0, 1, 0.25, 25);  //default value is meaningless
    IUFillNumberVector(&FocuserTNP, FocuserTN, 2, getDeviceName(), "TFC T°", "TFC T°", FOCUS_TAB, IP_RO, 0,
                       IPS_IDLE);
This is the code in version 1.20
// Focus T° Compensation 
    // Property must be FOCUS_TEMPERATURE to be recognized by Ekos
    IUFillNumber(&FocusTemperatureN[0], "FOCUS_TEMPERATURE", "TFC T°", "%+2.2f", 0, 1, 0.25, 25);  //default value is meaningless
    IUFillNumber(&FocusTemperatureN[1], "TFC Δ T°", "TFC Δ T°", "%+2.2f", 0, 1, 0.25, 25);  //default value is meaningless
    IUFillNumberVector(&FocusTemperatureNP, FocusTemperatureN, 2, getDeviceName(), "FOCUS_TEMPERATURE", "Focuser T°", FOCUS_TAB, IP_RO, 0,
                       IPS_IDLE);

So you can see that I used "FocuserTNP" as property name before and in version 1.20 I use "FocusTemperatureNP" which is "Indi Standard Property Name" for this value.
As long you do not use the Standard Property Name, this property will not be recognized by Ekos or whatever else in the software except where you explicitely use it (the control panel).
Read docs.indilib.org/drivers/
6 months 2 weeks ago #96106

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

  • Posts: 452
  • Thank you received: 71
And this is the reason why I insist on versions of all the components, not just Kstars

================= OS version
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
================= indiserver
INDI Library: 2.0.3
Code v1.9.4-644-g12d1114cb. Protocol 1.7.
================= indi_lx200_OnStep driver
1.20
================= kstars version
kstars 3.6.7 Beta
================= OnStep firmwares versions
OnStepX version: = 10.18.c
OnStep version: = 4.24.s
SmartWebServer version: = 2.06.j
SmartHandController version: = 4.00.f
6 months 2 weeks ago #96108

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

Time to create page: 0.661 seconds