×

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

Bi-monthly release with minor bug fixes and improvements

Kstars interface

  • Posts: 42
  • Thank you received: 3
Good morning

I have a question about the possibily to send RA and DEC from my software which is a very big database with all the constellations and its stars, all the Messier objects, the exoplanet catalog, and finally the NEOs.
My software has been done with XOJO.
The software produces simple strings, but I do not know how to read these strings to Kstars software to create interactivity and then see the telescope pointer move to Kstars.
I tried sending data via Http but I did not get results.
At this point, I tried indiserver with INDI Control Panel which works correctly, but the problem is how to send the strings generated from my software to INDI Control Panel.
You have some advice about.
Thank you
The following user(s) said Thank You: Teseo
6 years 5 months ago #19937

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

Replied by Jasem Mutlaq on topic Kstars interface

Are you using pure INDI in KStars or using Ekos as well? The answer depends on that.
6 years 5 months ago #19940

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

  • Posts: 42
  • Thank you received: 3

Replied by Michele Bertuccio on topic Kstars interface

No. I use Indiserver for mac. When I use indiserver from Kstar, I have communication problems.
So i start indiserver for mac and after INDI Control Panel.
In Kstar, I open Ekos and I connect but Kstar tells me if I want to turn off the current instance and I answer no.
The telescope simulator is then connected and inserting RA and DEC in the control panel, I can move the pointer.
6 years 5 months ago #19941

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

Replied by Jasem Mutlaq on topic Kstars interface

What are the communication problems with using INDI server within KStars? Also, if you start INDI server externally and you want to use it with Ekos on the same machine, just change the profile to "Remote" with the host being "localhost" and KStars will not ask you to turn off anything.

Anyway, so there are multiple ways to do this:
1. Use indi_setprop tool to set the the RA/DE from within your program.
2. Use KStars DBus interface to set mount RA/DE.
3. Use INDI Python client to send RA/DE
6 years 5 months ago #19942

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

  • Posts: 42
  • Thank you received: 3

Replied by Michele Bertuccio on topic Kstars interface

Thank you for your answer.
As you suggested, I tried to give indi_setprop in the terminal but every time I get an unknown command.
If this command works, for me it would be an ideal situation because it is very easy to integrate it into the XOJO database.
With DBus, integration into xojo is more complex and with little chance of success.
What can I do to run setprop?
Thank you
6 years 5 months ago #19943

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

  • Posts: 42
  • Thank you received: 3

Replied by Michele Bertuccio on topic Kstars interface

Good morning
I tried to give indi_setprop command "EQMod Mount" .EQUATORIAL_EOD_COORD.RA; DEC = 6; 50” on the Mac but the terminal does not recognize the command "unknown command".
So I tried it on the virtual machine and this recognizes the indi_setprop command and when I do the same command, I get “”DEC 00 command not found “ and “50 command not found.”.
So I have two questions:
Why this command is not recognized on Mac (on Mac are installed INDI Server and Kstars).
Why in the virtual machine I get the messages listed above and in Kstars nothing happens.
Please, can you give me exactly the directions of how to fix these problems using indi_simulator_telescope?
Thank you
6 years 5 months ago #19948

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

Replied by Jasem Mutlaq on topic Kstars interface

I'm not sure about the Mac issue, if indiserver is there, so is indi_getprop and indi_setprop.

It looks like you had a space above between the ; and DEC and you can have any space in your command.
6 years 5 months ago #19949

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

  • Posts: 42
  • Thank you received: 3

Replied by Michele Bertuccio on topic Kstars interface

It is best to forget the Mac for the moment.
About space, I can confirm that there are no space but the command as it is written creates an error.
That's why I modified the line like this:
indi_setprop "EQMod Mount" .EQUATORIAL_EOD_COORD.RA = 6; DEC = 50; and the command seems to be accepted.
Can you send me the exact command line for the telescope simulator?
Thank you
6 years 5 months ago #19954

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

Replied by Jasem Mutlaq on topic Kstars interface

Use this:
"EQMod Mount.EQUATORIAL_EOD_COORD.RA;DEC=6;50
Last edit: 6 years 5 months ago by Jasem Mutlaq.
6 years 5 months ago #19955

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

  • Posts: 42
  • Thank you received: 3

Replied by Michele Bertuccio on topic Kstars interface

I get this "No EQMod Mount.EQUATORIAL_EOD_COORD.RA;DEC from localhost:7624
6 years 5 months ago #19956

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

  • Posts: 42
  • Thank you received: 3

Replied by Michele Bertuccio on topic Kstars interface

Good morning
I started ekos via remote raspberry and everything works properly.
Why when I send the command with the shell
“indi_setprop "Telescope Simulator.EQUATORIAL_EOD_COORD.RA; DEC = 30; 100"
I receive the message
“indi_setprop Command not found”?
Thank you
6 years 5 months ago #19968

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

Replied by Jasem Mutlaq on topic Kstars interface

You have a quote in the beginning..also RA range is 0 to 24 and DEC range is -90 to +90 so your numbers are invalid.
indi_setprop "Telescope Simulator.EQUATORIAL_EOD_COORD.RA;DEC=11;50"
6 years 5 months ago #19969

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

Time to create page: 0.973 seconds