ASCOM protocol

We all started somewhere! We are a friendly bunch! Most of your questions can be posted here, but if you are interested in Astrophotography please use the new Beginner Astrophotography forum. The response time will be much better.
Post Reply
User avatar
turboscrew
Inter-Galactic Ambassador
Articles: 0
Offline
Posts: 3233
Joined: Sat Jun 20, 2020 9:22 am
3
Location: Nokia, Finland
Status:
Offline

TSS Awards Badges

ASCOM protocol

#1

Post by turboscrew »


Since there is no general subsection under the "mounts" section...

Does anyone happen to know about the ASCOM protocol?
I found the git repo of the platform, but it's a big haystack of C#/VB code to read.
And on the ASCOM page they say that the spec(?) was generated from the code, so I guess there is no real spec for it, but I haven't found the generated one either.
- Juha

Senior Embedded SW Designer
Telescope: OrionOptics XV12, Mount: CEM120, Tri-pier 360 and alternative dobson mount.
Grab 'n go: Omegon AC 102/660 on AZ-3 mount
Eyepieces: 26 mm Omegon SWAN 70°, 15 mm TV Plössl, 12.5 mm Baader Morpheus, 10 mm TV Delos, 6 mm Baader Classic Ortho, 5 mm TV DeLite, 4 mm and 3 mm TV Radians
Cameras: ZWO ASI 294MM Pro, Omegon veLOX 178C
OAG: TS-Optics TSOAG09, ZWO EFW 7 x 36 mm, ZWO filter sets: LRGB and Ha/OIII/SII
Explore Scientific HR 2" coma corrector, Meade x3 1.25" Barlow, TV PowerMate 4x 2"
Some filters (#80A, ND-96, ND-09, Astronomik UHC)
Laptop: Acer Enduro Urban N3 semi-rugged, Windows 11
LAT 61° 28' 10.9" N, Bortle 5

I don't suffer from insanity. I'm enjoying every minute of it.

Image
User avatar
turboscrew
Inter-Galactic Ambassador
Articles: 0
Offline
Posts: 3233
Joined: Sat Jun 20, 2020 9:22 am
3
Location: Nokia, Finland
Status:
Offline

TSS Awards Badges

Re: ASCOM protocol

#2

Post by turboscrew »


Ah, ASCOM doesn't have its own protocol, but uses different drivers for different mounts, and the drivers know the protocol that the mount understands.
- Juha

Senior Embedded SW Designer
Telescope: OrionOptics XV12, Mount: CEM120, Tri-pier 360 and alternative dobson mount.
Grab 'n go: Omegon AC 102/660 on AZ-3 mount
Eyepieces: 26 mm Omegon SWAN 70°, 15 mm TV Plössl, 12.5 mm Baader Morpheus, 10 mm TV Delos, 6 mm Baader Classic Ortho, 5 mm TV DeLite, 4 mm and 3 mm TV Radians
Cameras: ZWO ASI 294MM Pro, Omegon veLOX 178C
OAG: TS-Optics TSOAG09, ZWO EFW 7 x 36 mm, ZWO filter sets: LRGB and Ha/OIII/SII
Explore Scientific HR 2" coma corrector, Meade x3 1.25" Barlow, TV PowerMate 4x 2"
Some filters (#80A, ND-96, ND-09, Astronomik UHC)
Laptop: Acer Enduro Urban N3 semi-rugged, Windows 11
LAT 61° 28' 10.9" N, Bortle 5

I don't suffer from insanity. I'm enjoying every minute of it.

Image
User avatar
Graeme1858 Great Britain
Co-Administrator
Co-Administrator
Articles: 1
Online
Posts: 7377
Joined: Mon Jun 24, 2019 7:16 pm
4
Location: North Kent, UK
Status:
Online

TSS Awards Badges

TSS Photo of the Day

I Broke The Forum.

Re: ASCOM protocol

#3

Post by Graeme1858 »


turboscrew wrote: Thu Jul 30, 2020 9:35 pm Ah, ASCOM doesn't have its own protocol, but uses different drivers for different mounts, and the drivers know the protocol that the mount understands.

Yes, you install the ASCOM Platform, install the ASCOM drivers for your mount, your cameras and accessories then you forget about it!

Regards

Graeme
______________________________________________
Celestron 9.25 f10 SCT, f6.3FR, CGX mount.
ASI1600MM Pro, ASI294MC Pro, ASI224MC
ZWO EFW, ZWO OAG, ASI220MM Mini.
APM 11x70 ED APO Binoculars.

https://www.averywayobservatory.co.uk/
User avatar
SkyHiker United States of America
Local Group Ambassador
Articles: 0
Offline
Posts: 2293
Joined: Sat May 11, 2019 8:40 pm
4
Location: Santa Barbara, CA
Status:
Offline

TSS Awards Badges

TSS Photo of the Day

Re: ASCOM protocol

#4

Post by SkyHiker »


ASCOM is Windows only , non-distributed and is essentially obsolete now that Alpaca has been released. Alpaca runs anywhere and is distributed, generates ASCOM stubs for those who need it.
... 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
Offline
Posts: 5638
Joined: Thu Apr 25, 2019 3:23 am
4
Location: Idaho, USA
Status:
Offline

TSS Awards Badges

TSS Photo of the Day

Re: ASCOM protocol

#5

Post by JayTee »


SkyHiker wrote: Fri Jul 31, 2020 2:12 am now that Alpaca has been released.
Hi Henk,
Where does one download Alpaca? I looked all over the ASCOM site and couldn't find where to download Alpaca. The internet wants me to download "FireAlpaca" drawing software.

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 EQ6, 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
∞ 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
Offline
Posts: 2293
Joined: Sat May 11, 2019 8:40 pm
4
Location: Santa Barbara, CA
Status:
Offline

TSS Awards Badges

TSS Photo of the Day

Re: ASCOM protocol

#6

Post by SkyHiker »


JayTee wrote: Fri Jul 31, 2020 3:00 am
SkyHiker wrote: Fri Jul 31, 2020 2:12 am now that Alpaca has been released.
Hi Henk,
Where does one download Alpaca? I looked all over the ASCOM site and couldn't find where to download Alpaca. The internet wants me to download "FireAlpaca" drawing software.

Cheers,
JT
I was told it's part of ASCOM 6.5 or 5.6, I forgot, it was released recently, from a Bob Denny presentation by Woodland Hills. It should be totally transparent for ASCOM users. Stand alone Alpaca is useless until there is enough vendor support but the transition should be easy.
... 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
SkyHiker United States of America
Local Group Ambassador
Articles: 0
Offline
Posts: 2293
Joined: Sat May 11, 2019 8:40 pm
4
Location: Santa Barbara, CA
Status:
Offline

TSS Awards Badges

TSS Photo of the Day

Re: ASCOM protocol

#7

Post by SkyHiker »


JayTee wrote: Fri Jul 31, 2020 3:00 am
SkyHiker wrote: Fri Jul 31, 2020 2:12 am now that Alpaca has been released.
Hi Henk,
Where does one download Alpaca? I looked all over the ASCOM site and couldn't find where to download Alpaca. The internet wants me to download "FireAlpaca" drawing software.

Cheers,
JT
There's a large Alpaca icon to the left on the ASCOM home page, click on it , https://www.ascom-standards.org/Developer/Alpaca.htm
... 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
turboscrew
Inter-Galactic Ambassador
Articles: 0
Offline
Posts: 3233
Joined: Sat Jun 20, 2020 9:22 am
3
Location: Nokia, Finland
Status:
Offline

TSS Awards Badges

Re: ASCOM protocol

#8

Post by turboscrew »


JayTee wrote: Fri Jul 31, 2020 3:00 am
SkyHiker wrote: Fri Jul 31, 2020 2:12 am now that Alpaca has been released.
Hi Henk,
Where does one download Alpaca? I looked all over the ASCOM site and couldn't find where to download Alpaca. The internet wants me to download "FireAlpaca" drawing software.

Cheers,
JT
If you want to get only that, https://github.com/ASCOMInitiative/ASCOMRemote/releases
- Juha

Senior Embedded SW Designer
Telescope: OrionOptics XV12, Mount: CEM120, Tri-pier 360 and alternative dobson mount.
Grab 'n go: Omegon AC 102/660 on AZ-3 mount
Eyepieces: 26 mm Omegon SWAN 70°, 15 mm TV Plössl, 12.5 mm Baader Morpheus, 10 mm TV Delos, 6 mm Baader Classic Ortho, 5 mm TV DeLite, 4 mm and 3 mm TV Radians
Cameras: ZWO ASI 294MM Pro, Omegon veLOX 178C
OAG: TS-Optics TSOAG09, ZWO EFW 7 x 36 mm, ZWO filter sets: LRGB and Ha/OIII/SII
Explore Scientific HR 2" coma corrector, Meade x3 1.25" Barlow, TV PowerMate 4x 2"
Some filters (#80A, ND-96, ND-09, Astronomik UHC)
Laptop: Acer Enduro Urban N3 semi-rugged, Windows 11
LAT 61° 28' 10.9" N, Bortle 5

I don't suffer from insanity. I'm enjoying every minute of it.

Image
User avatar
turboscrew
Inter-Galactic Ambassador
Articles: 0
Offline
Posts: 3233
Joined: Sat Jun 20, 2020 9:22 am
3
Location: Nokia, Finland
Status:
Offline

TSS Awards Badges

Re: ASCOM protocol

#9

Post by turboscrew »


SkyHiker wrote: Fri Jul 31, 2020 2:12 am ASCOM is Windows only , non-distributed and is essentially obsolete now that Alpaca has been released. Alpaca runs anywhere and is distributed, generates ASCOM stubs for those who need it.
Scary. I have one laptop vith Windows Vista and one minilaptop with Windows 10. Haven't booted them for about a year.
All my other machines run Linux (2 desktops and 3 laptops).
- Juha

Senior Embedded SW Designer
Telescope: OrionOptics XV12, Mount: CEM120, Tri-pier 360 and alternative dobson mount.
Grab 'n go: Omegon AC 102/660 on AZ-3 mount
Eyepieces: 26 mm Omegon SWAN 70°, 15 mm TV Plössl, 12.5 mm Baader Morpheus, 10 mm TV Delos, 6 mm Baader Classic Ortho, 5 mm TV DeLite, 4 mm and 3 mm TV Radians
Cameras: ZWO ASI 294MM Pro, Omegon veLOX 178C
OAG: TS-Optics TSOAG09, ZWO EFW 7 x 36 mm, ZWO filter sets: LRGB and Ha/OIII/SII
Explore Scientific HR 2" coma corrector, Meade x3 1.25" Barlow, TV PowerMate 4x 2"
Some filters (#80A, ND-96, ND-09, Astronomik UHC)
Laptop: Acer Enduro Urban N3 semi-rugged, Windows 11
LAT 61° 28' 10.9" N, Bortle 5

I don't suffer from insanity. I'm enjoying every minute of it.

Image
User avatar
JayTee United States of America
Universal Ambassador
Articles: 2
Offline
Posts: 5638
Joined: Thu Apr 25, 2019 3:23 am
4
Location: Idaho, USA
Status:
Offline

TSS Awards Badges

TSS Photo of the Day

Re: ASCOM protocol

#10

Post by JayTee »


Alpaca is an API, right? I just downloaded the latest version of the ASCOM controllers (6.5.0.3091) and the telescope chooser window has an Alpaca tab at the top. So now I'm really confused.

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 EQ6, 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
∞ 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
Offline
Posts: 2293
Joined: Sat May 11, 2019 8:40 pm
4
Location: Santa Barbara, CA
Status:
Offline

TSS Awards Badges

TSS Photo of the Day

Re: ASCOM protocol

#11

Post by SkyHiker »


JayTee wrote: Fri Jul 31, 2020 2:00 pm Alpaca is an API, right? I just downloaded the latest version of the ASCOM controllers (6.5.0.3091) and the telescope chooser window has an Alpaca tab at the top. So now I'm really confused.

JT
It has a RESTful API that maps 1-1 to the ASCOM API. One of the implications of REST is the difference that ASCOM is stateful (objects stay alive until all references are gone) whereas Alpaca is stateless (one shot calls, may require polling to emulate some ASCOM behaviors). It has a wrapper that makes its Alpaca devices register as ASCOM objects on Windows. There is no such discovery service for remote objects yet. The differences with INDI are that INDI uses a server whereas Alpaca does not, and that INDI has a discovery feature for device specific features while Alpaca, like ASCOM, implements only the essential features.

I presume that the Alpaca tab is for Alpaca devices, of which there are only a few (the Optec autofocuser IIRC). Once you install an Alpaca driver for your mount it should show up there. Remote objects should, also. I have not installed it and am no expert, just watched a few Bob Denny presentations. Maybe if you watched them on Woodland Hills you would find the answers.
... 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
turboscrew
Inter-Galactic Ambassador
Articles: 0
Offline
Posts: 3233
Joined: Sat Jun 20, 2020 9:22 am
3
Location: Nokia, Finland
Status:
Offline

TSS Awards Badges

Re: ASCOM protocol

#12

Post by turboscrew »


I'm not sure, and looks like they are not either. They talk about ASCOM remote that talks to Alpaca clients using Alpaca API. :D
- Juha

Senior Embedded SW Designer
Telescope: OrionOptics XV12, Mount: CEM120, Tri-pier 360 and alternative dobson mount.
Grab 'n go: Omegon AC 102/660 on AZ-3 mount
Eyepieces: 26 mm Omegon SWAN 70°, 15 mm TV Plössl, 12.5 mm Baader Morpheus, 10 mm TV Delos, 6 mm Baader Classic Ortho, 5 mm TV DeLite, 4 mm and 3 mm TV Radians
Cameras: ZWO ASI 294MM Pro, Omegon veLOX 178C
OAG: TS-Optics TSOAG09, ZWO EFW 7 x 36 mm, ZWO filter sets: LRGB and Ha/OIII/SII
Explore Scientific HR 2" coma corrector, Meade x3 1.25" Barlow, TV PowerMate 4x 2"
Some filters (#80A, ND-96, ND-09, Astronomik UHC)
Laptop: Acer Enduro Urban N3 semi-rugged, Windows 11
LAT 61° 28' 10.9" N, Bortle 5

I don't suffer from insanity. I'm enjoying every minute of it.

Image
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 “Beginners forum”