Astronomy interfaces: ASCOM, Alpaca, INDI, and/or Indigo?

Discuss software associated with Astronomy!
Post Reply
User avatar
SkyHiker United States of America
Local Group Ambassador
Articles: 0
Online
Posts: 2293
Joined: Sat May 11, 2019 8:40 pm
4
Location: Santa Barbara, CA
Status:
Online

TSS Photo of the Day

TSS Awards Badges

Astronomy interfaces: ASCOM, Alpaca, INDI, and/or Indigo?

#1

Post by SkyHiker »


Those who read my messages are aware that I am rather unhappy with ASCOM as a standard, from a design point of view. Of course it supports a bunch of useful devices but the main problem is that it is Windows-only and non-distributed (the "device drivers" live on the Windows host!). As a result ASCOM is not a standard for interfacing with small embedded remote devices (directly, not through an ASCOM wrapper), or servers/drivers on small non-Windows computers (or big ones such as MacOS and Linux computers).

ASCOM is based on DCOM, which is a standard that was already dead by the time ASCOM was created. While DCOM is still supported by Microsoft as non-managed software, it was otherwise abandoned in favor of .NET around 2000. The ASCOM developers have finally realized the need for supporting non-Windows devices and created a new interface named Alpaca as a distributed and OS-independent wrapper for ASCOM drivers.

Alpaca is new to me, I just noticed it the other day. There are two other platform independent distributed platforms around that gained some traction: INDI, mostly used on Linux with no native windows solution (just an ASCOM wrapper), and INDIGO, based on INDI and most popular on MacOS. Vendors must be getting confused about what to support.

I get the impression that Alpaca is a patch for an (IMHO) already broken ASCOM system that just adds confusion and makes things worse. If it is good then why not abandon ASCOM and use Alpaca instead, or better, design something from scratch that is completely independent of ASCOM. But we already have INDI and Indigo, do we have to muddy the waters by adding yet another option?

I found this article written by someone who knows this much better than me that I want to share: https://daleghent.com/2019/05/alpaca-in ... the-future

Curious what you all think. I don't expect a unified platform independent distributed distributed standard within a decade but it becomes more and more clear that ASCOM is problematic.
... Henk. :D Telescopes: GSO 12" Astrograph, "Comet Hunter" MN152, ES ED127CF, ES ED80, WO Redcat51, Z12, AT6RC, Celestron Skymaster 20x80, Mounts and tripod: Losmandy G11S with OnStep, AVX, Tiltall, Cameras: ASI2600MC, ASI2600MM, ASI120 mini, Fuji X-a1, Canon XSi, T6, ELPH 100HS, DIY: OnStep controller, Pi4b/power rig, Afocal adapter, Foldable Dob base, Az/Alt Dob setting circles, Accessories: ZWO 36 mm filter wheel, TV Paracorr 2, Baader MPCC Mk III, ES FF, SSAG, QHY OAG-M, EAF electronic focuser, Plossls, Barlows, Telrad, Laser collimators (Seben LK1, Z12, Howie Glatter), Cheshire, 2 Orion RACIs 8x50, Software: KStars-Ekos, DSS, PHD2, Nebulosity, Photo Gallery, Gimp, CHDK, Computers:Pi4b, 2x running KStars/Ekos, Toshiba Satellite 17", Website:Henk's astro images
User avatar
XCalRocketMan United States of America
Orion Spur Ambassador
Articles: 0
Offline
Posts: 507
Joined: Sun May 12, 2019 8:09 pm
4
Location: Reisterstown, MD USA
Status:
Offline

TSS Awards Badges

TSS Photo of the Day

Re: Astronomy interfaces: ASCOM, Alpaca, INDI, and/or Indigo?

#2

Post by XCalRocketMan »


Well, I'm not all that knowledgeable of the complete history of ASCOM, and yes, I'm a Windows user. But ASCOM has never failed me yet. It simply works for all my cameras (QHY, ZWO), mounts (CGEM, iOptron, and now AP1100) and software (SGP specifically). So, I for one am sold on ASCOM. I will research Alpaca just for my interest in what's up-and-coming, but I don't see ASCOM going away anytime soon.
Scopes Celestron EdgeHD-11; William Optics GT102; William Optics ZS61; Criterion Dynamax-8 SCT
Mounts AP1100GTO mount w/APCCpro; iOptron iEQ30 Pro; Criterion Dynamax-8 SCT
Lenses Hyperstar-III; Celestron 0.7x FR; WO Flat/Reducer 0.8x
Guiding Celestron OAG w/ASI174mm mini; WO 50mm; Orion ST80
Cameras and Filters ZWO2600mm Pro w/Optolong 3nm NB and RGB; ZWOASI1600mm Pro (ZWO LRGB and Astrodon Ha-5nm, Oiii-3nm, Sii-5nm), QHY10, Canon 50D; ASI174mm mini; ASI462MC; ASI120MC
Misc Moonlite focuser on Edge - Feather-Touch focuser on GT102; ZWO EAF on ZS61; ZWO 2" and 31mm FWs; Kendrick Dew System, Temp-est Fans
Software NINA; PHD; APT; BYE; PI; APP; PSP; Registax; FireCapture; SharpCap
Blog at: SkyAndRockets
User avatar
Star Dad United States of America
Orion Spur Ambassador
Articles: 0
Offline
Posts: 744
Joined: Sat Aug 10, 2019 8:05 pm
4
Location: Norwich CT
Status:
Offline

TSS Awards Badges

Re: Astronomy interfaces: ASCOM, Alpaca, INDI, and/or Indigo?

#3

Post by Star Dad »


I'll agree with XCalRocketMan in that ASCOM works for me. I was, quite frankly, stunned when I first hooked up my Atlas mount and realized that ASCOM (I had to get a special serial cable) was the (realistically) only choice. I would MUCH, MUCH prefer to have a Linux solution that worked. Too many pieces of the AP puzzle are stuck on windblows. It would be GREAT if I could communicate with it via wifi/ethernet just as I talk to my printers, camera, scanners, etc. Why are telescope manufacturers so far behind the times?

But it seems that people are somewhat like sheep to be herded. Why does just about every organization pay for Microsoft Office, when a better solution that is free is available (OpenOffice, LibreOffice, etc)? Schools teach MS Word - why not teach using a word processor? Throw a Word person into LibreOffice and they are totally lost - the menus are different. They are both word processors. Should not be that hard to adjust, but it is. This entrenching by an ancient standard can be seen in a wide variety of technologies - i.e. cars that use wheels to steer instead of a joystick. The qwerty keyboard, when it is well documented that the Dvorak keyboard is much more efficient. ASCOM will live until - well maybe for a very long time to come. Perhaps when it becomes cheaper to put an ethernet or wifi connection because ASCOM is too expensive manufacturers will move on.
"To be good is not enough when you dream of being great"

Orion 203mm/f4.9/1000mm, converted TASCO 114mm/f9/1000mm to steam punk, Meade 114mm/f9/1000, Coronado PST, Orion EQ-G, Ioptron Mini-Tower and iEQ30, Canon 70D, ASI120MM,ASI294MC, Ioptron SkyHunter
User avatar
KathyNS Canada
Co-Administrator
Co-Administrator
Articles: 0
Online
Posts: 2616
Joined: Thu Apr 25, 2019 11:47 am
5
Location: Nova Scotia
Status:
Online

TSS Photo of the Day

TSS Awards Badges

Re: Astronomy interfaces: ASCOM, Alpaca, INDI, and/or Indigo?

#4

Post by KathyNS »


Just being a standard is more important than being good, when it comes to market share. Just look at VHS vs. Beta, or Windows vs. Mac. There is a lot wrong with ASCOM (Don't get me going on SideOfPier! :roll: ), but it does have the advantage of being a standard that (mostly) works.
Image
DSO AP: Orion 200mm f/4 Newtonian Astrograph; ATIK 383L+; EFW2 filter wheel; Astrodon Ha,Oiii,LRGB filters; KWIQ/QHY5 guide scope; Planetary AP: Celestron C-11; ZWO ASI120MC; Portable: Celestron C-8 on HEQ5 pro; C-90 on wedge; 20x80 binos; Etc: Canon 350D; Various EPs, etc. Obs: 8' Exploradome; iOptron CEM60 (pier); Helena Observatory (H2O) Astrobin
User avatar
Star Dad United States of America
Orion Spur Ambassador
Articles: 0
Offline
Posts: 744
Joined: Sat Aug 10, 2019 8:05 pm
4
Location: Norwich CT
Status:
Offline

TSS Awards Badges

Re: Astronomy interfaces: ASCOM, Alpaca, INDI, and/or Indigo?

#5

Post by Star Dad »


VHS Vs Beta! Wow that brings back memories. Bought a Beta machine when I was stationed overseas. Everyone overseas had Beta. Came back to the states and suddenly everything was VHS. <sigh> Well, you made me smile Kathy as I recall that kerfuffle. I am surprised we actually made the transition to digital TV. Man was there howling about that impending move-over.
"To be good is not enough when you dream of being great"

Orion 203mm/f4.9/1000mm, converted TASCO 114mm/f9/1000mm to steam punk, Meade 114mm/f9/1000, Coronado PST, Orion EQ-G, Ioptron Mini-Tower and iEQ30, Canon 70D, ASI120MM,ASI294MC, Ioptron SkyHunter
User avatar
JayTee United States of America
Universal Ambassador
Articles: 2
Online
Posts: 5644
Joined: Thu Apr 25, 2019 3:23 am
5
Location: Idaho, USA
Status:
Online

TSS Awards Badges

TSS Photo of the Day

Re: Astronomy interfaces: ASCOM, Alpaca, INDI, and/or Indigo?

#6

Post by JayTee »


Hey Henk,

There's an online seminar going on right now about ALPACA on the Woodland Hills camera website. I'm about to start running errands and can't watch but I thought I would pass that along to you.

Cheers,
JT
∞ Primary Scopes: #1: Celestron CPC1100 #2: 8" f/7.5 Dob #3: CR150HD f/8 6" frac
∞ AP Scopes: #1: TPO 6" f/9 RC #2: ES 102 f/7 APO #3: ES 80mm f/6 APO
∞ G&G Scopes: #1: Meade 102mm f/7.8 #2: Bresser 102mm f/4.5
∞ Guide Scopes: 70 & 80mm fracs -- The El Cheapo Bros.
∞ Mounts: iOptron CEM70AG, SW EQ6R, Celestron AVX, SLT & GT (Alt-Az), Meade DS2000
∞ Cameras: #1: ZWO ASI294MC Pro #2: 662MC #3: 120MC, Canon T3i, Orion SSAG, WYZE Cam3
∞ Binos: 10X50,11X70,15X70, 25X100 ∞ AP Gear: ZWO EAF and mini EFW and the Optolong L-eXteme filter
∞ EPs: ES 2": 21mm 100° & 30mm 82° Pentax XW: 7, 10, 14, & 20mm 70°

Searching the skies since 1966. "I never met a scope I didn't want to keep."

Image
User avatar
SkyHiker United States of America
Local Group Ambassador
Articles: 0
Online
Posts: 2293
Joined: Sat May 11, 2019 8:40 pm
4
Location: Santa Barbara, CA
Status:
Online

TSS Photo of the Day

TSS Awards Badges

Re: Astronomy interfaces: ASCOM, Alpaca, INDI, and/or Indigo?

#7

Post by SkyHiker »


JayTee wrote: Wed Jul 08, 2020 9:33 pm Hey Henk,

There's an online seminar going on right now about ALPACA on the Woodland Hills camera website. I'm about to start running errands and can't watch but I thought I would pass that along to you.

Cheers,
JT
Thanks for that JT,

I missed it because I went for a beach walk right before you sent it.

So I looked up the Woodland Hills channel on YouTube and tried to find it. I did not but found a one-year older presentation by Bob Denny. Very nice and motivating for Alpaca. What I learned from it,
  • Alpaca is the REST-API version of ASCOM. The difference being, ASCOM is stateful (the objects remain alive and are managed until all clients are gone) while Alpaca is stateless. You can still get a handle and keep querying it (polling) but it's not as fancy as distributed objects.
  • Alpaca does not depend on ASCOM or Windows in any way. While they did not say that it was meant to replace ASCOM, it totally looks like it could, and like that was the intention. This is not strange, I have seen OPC (a DCOM based industry protocol) move from DCOM to a stateless version, all because DCOM is a hopeless dinosaur that needs to be abandoned.
  • ASCOM and Alpaca implement only the useful common features, no device specific extensions. INDI allows extensions (and interface feature discovery), which has the potential of becoming unwieldy depending on how badly it is abused.
  • Alpaca does not require a server while INDI does. I don't know it this is an implementation issue or if this is bad or good. There has to be an Alpaca listener somewhere, just like ASCOM requires a DRPC server.
So, my take on this is that Alpaca will displace ASCOM in the long run but they don't want to tell their customers who invested a lot of money in writing ASCOM drivers. I'm all for that except was it not possible to join forces with INDI, which is similar enough, so we don't have 3 protocols for vendors to worry about but just 2?

As an aside, I also ran into a Losmandy video on the Woodlan Hills channel with some Scott Losmandy introspective. Scott says he wants his mounts to be well crafted, look classy and beautiful, and that it is totally OK to just look at it in awe even if you don't use it! That's what I do, so a sigh of relief here...
... Henk. :D Telescopes: GSO 12" Astrograph, "Comet Hunter" MN152, ES ED127CF, ES ED80, WO Redcat51, Z12, AT6RC, Celestron Skymaster 20x80, Mounts and tripod: Losmandy G11S with OnStep, AVX, Tiltall, Cameras: ASI2600MC, ASI2600MM, ASI120 mini, Fuji X-a1, Canon XSi, T6, ELPH 100HS, DIY: OnStep controller, Pi4b/power rig, Afocal adapter, Foldable Dob base, Az/Alt Dob setting circles, Accessories: ZWO 36 mm filter wheel, TV Paracorr 2, Baader MPCC Mk III, ES FF, SSAG, QHY OAG-M, EAF electronic focuser, Plossls, Barlows, Telrad, Laser collimators (Seben LK1, Z12, Howie Glatter), Cheshire, 2 Orion RACIs 8x50, Software: KStars-Ekos, DSS, PHD2, Nebulosity, Photo Gallery, Gimp, CHDK, Computers:Pi4b, 2x running KStars/Ekos, Toshiba Satellite 17", Website:Henk's astro images
User avatar
JayTee United States of America
Universal Ambassador
Articles: 2
Online
Posts: 5644
Joined: Thu Apr 25, 2019 3:23 am
5
Location: Idaho, USA
Status:
Online

TSS Awards Badges

TSS Photo of the Day

Re: Astronomy interfaces: ASCOM, Alpaca, INDI, and/or Indigo?

#8

Post by JayTee »


Thanks for the info Henk!

My errand was a Dr. appt so I couldn't just blow it off to watch the seminar. I think I found the video. Alpaca starts at time 2:29:00

Cheer,
JT
∞ Primary Scopes: #1: Celestron CPC1100 #2: 8" f/7.5 Dob #3: CR150HD f/8 6" frac
∞ AP Scopes: #1: TPO 6" f/9 RC #2: ES 102 f/7 APO #3: ES 80mm f/6 APO
∞ G&G Scopes: #1: Meade 102mm f/7.8 #2: Bresser 102mm f/4.5
∞ Guide Scopes: 70 & 80mm fracs -- The El Cheapo Bros.
∞ Mounts: iOptron CEM70AG, SW EQ6R, Celestron AVX, SLT & GT (Alt-Az), Meade DS2000
∞ Cameras: #1: ZWO ASI294MC Pro #2: 662MC #3: 120MC, Canon T3i, Orion SSAG, WYZE Cam3
∞ Binos: 10X50,11X70,15X70, 25X100 ∞ AP Gear: ZWO EAF and mini EFW and the Optolong L-eXteme filter
∞ EPs: ES 2": 21mm 100° & 30mm 82° Pentax XW: 7, 10, 14, & 20mm 70°

Searching the skies since 1966. "I never met a scope I didn't want to keep."

Image
User avatar
SkyHiker United States of America
Local Group Ambassador
Articles: 0
Online
Posts: 2293
Joined: Sat May 11, 2019 8:40 pm
4
Location: Santa Barbara, CA
Status:
Online

TSS Photo of the Day

TSS Awards Badges

Re: Astronomy interfaces: ASCOM, Alpaca, INDI, and/or Indigo?

#9

Post by SkyHiker »


JayTee wrote: Thu Jul 09, 2020 3:09 am Thanks for the info Henk!

My errand was a Dr. appt so I couldn't just blow it off to watch the seminar. I think I found the video. Alpaca starts at time 2:29:00

Cheer,
JT
Cool.
  • They said that Alpaca is the future (my take on it is that it will replace ASCOM eventually).
  • It has only just been released as part of ASCOM 6.5 with full API documentation
  • A device can implement Alpaca for direct access via a web service. Its GUI is included as part of that, in the device. No server needed.
  • If a device is connected through USB you will have to launch a proxy driver for it to look like an Alpaca device with IP address
  • Windows has a discovery service that automatically wraps an ASCOM driver around it so you can't even tell the difference
  • It looks like if a vendor provides an Alpaca driver, that ASCOM support is provided as per the last bullet
  • On non-Windows devices you may have to type the IP address to configure it in a web browser (no discovery service)
  • It is geared towards IP (ethernet/WiFi) not USB. No more USB to ethernet with repeaters for long distances.
So, it looks good, with a seamless migration path towards Alpaca. ASCOM can eventually die once all clients have moved to Alpaca. Conversely, ASCOM devices on Windows can be used from Alpaca (on any computer/OS) through the bidirectional ASCOM/Alpaca wrapper on Windows. Once those devices are moved to Alpaca the wrapper is no longer needed and ASCOM is out of the loop.

It looks pretty clean - perhaps using the equivalent of the well-appreciated ASCOM interfaces for Alpaca is the key to success. Meaning that, by forcing the vendors to keep things simple and well defined without device specific clutter, more reliable drivers are achieved and better reliability and usability than with INDI. I don't know if this is true, I just heard the gospel so now I need an INDI pep talk to make up my mind.

Now to wait for vendors to support it, currently Optec is the only one that is moving.
... Henk. :D Telescopes: GSO 12" Astrograph, "Comet Hunter" MN152, ES ED127CF, ES ED80, WO Redcat51, Z12, AT6RC, Celestron Skymaster 20x80, Mounts and tripod: Losmandy G11S with OnStep, AVX, Tiltall, Cameras: ASI2600MC, ASI2600MM, ASI120 mini, Fuji X-a1, Canon XSi, T6, ELPH 100HS, DIY: OnStep controller, Pi4b/power rig, Afocal adapter, Foldable Dob base, Az/Alt Dob setting circles, Accessories: ZWO 36 mm filter wheel, TV Paracorr 2, Baader MPCC Mk III, ES FF, SSAG, QHY OAG-M, EAF electronic focuser, Plossls, Barlows, Telrad, Laser collimators (Seben LK1, Z12, Howie Glatter), Cheshire, 2 Orion RACIs 8x50, Software: KStars-Ekos, DSS, PHD2, Nebulosity, Photo Gallery, Gimp, CHDK, Computers:Pi4b, 2x running KStars/Ekos, Toshiba Satellite 17", Website:Henk's astro images
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Astronomy Software”