Welcome, Guest
Username: Password: Remember me
25 Jul 2018
Glad to announce of release of INDI Library v1.7.4 on 2018-07-25. A few drivers were added in this release as we continue to improve & stabilize existing drivers.
Read More...
  • Page:
  • 1

TOPIC: Autoboot rlancaste EKOS environment to allow SkySafari control

Autoboot rlancaste EKOS environment to allow SkySafari control 2 months 1 week ago #28328

  • jerry
  • jerry's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 2
So a fresh install of smate/EKOS/Kstars using Rlancaste's instructions github.com/rlancaste/AstroPi3 let me configure a Celestron NexStar and SkySafari 6 so that the NexStar can be controlled by SkySafari (this is for visual viewing only). What I'm having problems with is configuring it so that booting the RPi(2) will automatically have this environment up and running so that no VNC is required. I was under the impression that the AutoStart option in the IndiWeb Manager would do this for me, but at the moment this doesn't appear to work (for me). Is this something that should be expected to work?

Thanks
Jerry

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

10" Meade SCT on Celestron CGEM DX HC: GEM 5.29.7137 MC: 6.50 6.50,
QHY-5L-II-M 1280x960 3.75um guiding, Nikon D800 7360 x 4912, 4.88 um imaging.
StellarMate OS v1.2.9 on RPI3B+ kstars-bleeding KStars 2.9.8

Autoboot rlancaste EKOS environment to allow SkySafari control 2 months 1 week ago #28345

Hi Jerry,

This is more of a question about INDI Webmanager than about my script I think. I haven't honestly used the AutoStart feature in the web manager before so I couldn't answer that part. But one thing that I have done before is to set up the same sort of function in the Ubuntu MATE GUI. In the menus at the top under Preferences -> Personal -> Startup Applications, I have made it start my indiserver on boot. If you click the Add button, give it a name, and then type the command line version of what it is you want to start, then it will start when the PI boots.

One warning though. you are wanting your PI to not ever need a VNC connection correct? How do you plan to get it set up on the correct network? And more importantly, how do you plan to shut it down safely?

Thanks,

Rob
The following user(s) said Thank You: jerry

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

Autoboot rlancaste EKOS environment to allow SkySafari control 2 months 1 week ago #28346

  • jerry
  • jerry's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 2
Hi Rob,

Thanks for this info. With the INDI Webmanager set to auto start my devices (NexStar and SkySafari) the service appears to be running OK...

sudo systemctl status indiwebmanager.service
● indiwebmanager.service - INDI Web Manager
Loaded: loaded (/etc/systemd/system/indiwebmanager.service; enabled; vendor preset:
Active: active (running) since Tue 2018-08-07 10:26:30 ADT; 2h 4min ago
Main PID: 1642 (indi-web)
CGroup: /system.slice/indiwebmanager.service
├─1642 /usr/bin/python /usr/local/bin/indi-web -v
├─2189 indiserver -p 7624 -m 100 -v -f /tmp/indiFIFO
├─2194 indi_skysafari
└─2196 indi_celestron_gps

Aug 07 10:26:30 peter-desktop systemd[1]: Started INDI Web Manager.
Aug 07 10:26:53 peter-desktop indi-web[1642]: 2018-08-07 10:26:53,084 - DEBUG: command
Aug 07 10:26:53 peter-desktop indi-web[1642]: 2018-08-07 10:26:53,475 - INFO: pkill -9
Aug 07 10:26:53 peter-desktop indi-web[1642]: 2018-08-07 10:26:53,598 - WARNING: termin
Aug 07 10:26:55 peter-desktop indi-web[1642]: 2018-08-07 10:26:55,763 - INFO: using Bot
Aug 07 10:26:56 peter-desktop indi-web[1642]: 2018-08-07 10:26:56,271 - INFO: Deleting
Aug 07 10:26:56 peter-desktop indi-web[1642]: 2018-08-07 10:26:56,376 - INFO: indiserve
Aug 07 10:26:56 peter-desktop indi-web[1642]: 2018-08-07 10:26:56,403 - INFO: echo "sta
Aug 07 10:26:56 peter-desktop indi-web[1642]: 2018-08-07 10:26:56,446 - INFO: echo "sta

Strangely (to me), SkySafari doesn't get a successful connection until KStars is launched and then EKOS is started. I must be missing the full picture of what EKOS does vs the Indi drivers. EKOS must be providing the network connection to the SkySafari Indi driver.
I think I'm looking for the way to invoke EKOS with my profile as a startup application. I presume I can find the terminal line to invoke EKOS.

I don't have a solution for shutting down cleanly. I find VNC from a phone pretty clunky to do much.
Thanks

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

10" Meade SCT on Celestron CGEM DX HC: GEM 5.29.7137 MC: 6.50 6.50,
QHY-5L-II-M 1280x960 3.75um guiding, Nikon D800 7360 x 4912, 4.88 um imaging.
StellarMate OS v1.2.9 on RPI3B+ kstars-bleeding KStars 2.9.8

Autoboot rlancaste EKOS environment to allow SkySafari control 2 months 1 week ago #28349

You can't use Ekos without a CCD. If you don't have one, specify CCD Simulator at least. Your Ekos profile should be set to remote, and you should select Celestron GPS, CCD Simulator, and in Auxiliary, SkySafari. INDI Web Manager checkbox should be checked.

You really don't need "Auto Start" since as soon as you start the profile, it takes care of starting the driver.

Now, if you do not need Ekos, and just want to use SkySafari to control your mount after you power up the RPI, then using Auto Start would make sense. In this case, you do not need Ekos at all. Maybe just use Ekos for the first time so that the SkySafari driver is set to use Celestron GPS, then save config and that's pretty much it. Next time it runs, it's already configured and should run fine as is.

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
  • Page:
  • 1
Time to create page: 0.262 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica