Skip to content

This go progam can be used control a verson 1 HitTechAstro Mount Hub Pro from the command line & N.I.N.A.

Notifications You must be signed in to change notification settings

exploded/mhpcmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This program allows command line control of the original version of the HiTechAstro Mount Hub Pro. It looks like this:

MHP

Commands can then be sent from N.I.N.A. to the Mount Hub Pro using this tool.

Windows 64bit binary is supplied. Code can be recompiled for other operating systems, but has not been tested.

Focuser commands are not supported - use the MHP 32bit Ascom driver (file name: ASCOM_MHP_Setup.exe) and the ASCOM device hub to bridge to 64bit N.I.N.A.

Example commands:

Turn switch #1 on
mhpcmd switch -num=1 -state=1

Turn switch #1 off
mhpcmd switch -num=1 -state=0

Turn switch #4 on
mhpcmd switch -num=4 -state=1

Turn on all switches:
mhpcmd switch -num=9 -state=1

Turn dew heater #1 to max (i.e. 100%)
mhpcmd dew -num=1 -level=100

Turn dew heater #1 to 75%
mhpcmd dew -num=1 -level=75

Turn dew heater #1 off (i.e. 0%)
mhpcmd dew -num=1 -level=0

Default switch is #1, default action is On. This command will turn on switch #1:

mhpcmd switch

for dew heaters, default is dew heater #1, and default level is 100. This command will set dew heater #1 to 100%:

mhpcmd dew

To get help:

mhpcmd switch -h
mhpcmd dew -h

About

This go progam can be used control a verson 1 HitTechAstro Mount Hub Pro from the command line & N.I.N.A.

Topics

Resources

Stars

Watchers

Forks

Languages