×

INDI Library v1.9.3 Released (11 Nov 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones. Some highlights:

Celestron Nexstar remote powerup

  • Posts: 67
  • Thank you received: 4
Sorry if this has been covered previously, could not find answer, or at least not answer I was looking for :-)

Running Indiserver with indi-celestron-gps driver on PI4
Nexstar has GPS attached and the SE is on a DIY wedge for equatorial tracking.
At shutdown, use 'Park' and have 'Hibernate' enabled

All is well on next powerup except stuck at the 'Hit Enter' screen to wake up.
Without manual intervention, is there any way to get past this?
Not interested in adding a PC to chain to run the old Nexremote.

All works well via the handset, hit Enter, finds GPS and then set tracking N-Equatorial (as is 'None/Off' on this wake up). A quick sequence slew and platesolve via CCDciel and the scope is aligned after the hibernate.

Thoughts?

Thank you for your time!

Gene
10 months 3 weeks ago #65871

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

  • Posts: 67
  • Thank you received: 4
Has anyone gone old school and wired into the handcontroller to close the switch via an optocoupler or old-old school and used a push-pull solenoid to physically push the Enter button?

I could use a spare guider's output to wire in or to drive a solenoid.
-or-
use Raspberry Pi GPIO Driver to toggle a pin to drive whatever.

Just gotta push the Enter button!

???

Gene
10 months 3 weeks ago #65888

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

  • Posts: 554
  • Thank you received: 138
You may find that the only thing not working is the screen and that you can run and control the scope remotely in spite of the Press Enter message.

If you are running remotely you can't see the screen.
10 months 3 weeks ago #65895

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

  • Posts: 67
  • Thank you received: 4
Hi Chris,

No joy here.

Yes, doing an 'un-park' in the driver does move the Nexstar off the 'Hit Enter' screen but then I can not put it into a tracking mode
Driver shows:
CELESTRON_TRACK_MODE MODE_EQ_N=ON
But debug shows
Dispatch Error: Cannot set read-only property CELESTRON_TRACK_MODE
So the scope never starts tracking because still in 'off'

And
GPS sync never brings in the new current time
If I try setting time via Driver manually I get:
[INFO] Updating time is not necessary since mount is already aligned.

Gene
10 months 3 weeks ago #65939

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

  • Posts: 67
  • Thank you received: 4
Further progress on my side after Chris's hints.

Yes, it can un-park and can enable tracking, the issue as I see it is the GPS time/date does not update after this power up sequence.
The time reported in the driver is the last time was shut off.

I can go to handbox and look at 'Current Time' and it updates time.

Further experiments coming.

Gene
10 months 3 weeks ago #65949

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

  • Posts: 67
  • Thank you received: 4
Chris, for what it is worth, after a few gyrations on my end, was to make a small change in the celestrongps driver.

If I powered up and un-parked and enabled tracking the time after cold poweron was last time entered.
I use CCDCiel and tell it, when it connects, to update the mounts time.
What was happening was the driver was refusing to update as it said 'already aligned'
So in the driver, line 1523 v1.8.7 source, I just commented out the isAligned check

// setting time on StarSense seems to make it not aligned
bool isAligned;
if (!driver.check_aligned(&isAligned))
{
LOG_INFO("UpdateTime - check_aligned failed");
return false;
}
// Gene out next 5 lines
// if (isAligned)
// {
// LOG_INFO("Updating time is not necessary since mount is already aligned.");
// return false;
// }
10 months 2 weeks ago #66077

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

  • Posts: 67
  • Thank you received: 4
Sorry if it seems I am beating a dead horse on this, but in the singular case of

6/8-SE mount
Nexstar+ with latest firmware
EQ-N mounted
Initial align is one-star north align

So at this point in time, the AZ motor is tracking at sidereal rate and ALT motor is stopped

Is it true the ALT and AZ controller only know about rotation angles from the last align or last park/hibernate/unhibernate/unpark?

Then via INDI driver, Park at specific ALT/AZ position with Hibernate enabled
Power-off mount
Power-on mount some time later
HC sitting there saying 'Hit Enter to wake up'

Using INDI driver, Un-park and enable tracking
HC shows RA/DEC of the last time the HC controller knew about at the 'park position'

Update time to the HC
HC then shows the 'new' time and the RA/DEC matching the park position at the new time.

Since it seems the motor cards work in ALT/AZ mode and not RA/DEC mode the HC now has the correct RA and DEC and LST and
as far as the motor cards are concerned, they are still at the same ALT/AZ with respect to the mount

Now what internal model of the HC would change considering the one-star north align and sidereal tracking ?

Here is an AUX port sniff of all commands on the AUX bus from scope pawer up
On top of the indi driver is a program that will force set time to the mount when it is already aligned. (CCDCiel in my case on Connect)

Notice below the motor cards start up at position 0 ALT, 0 AZ
When scope is un parked they are told the ALT/AZ of the park position

0x3b 0x03 0x0d 0x11 0x05 0xda To ALT, CMD = 5 ???
0x3b 0x05 0x11 0x0d 0x05 0x0c 0x82 0x4a
0x3b 0x03 0x0d 0x10 0x05 0xdb To AZ, CMD = 5 ???
0x3b 0x05 0x10 0x0d 0x05 0x0c 0x82 0x4b
0x3b 0x03 0x0d 0x10 0xfe 0xe2 Get AZM version
0x3b 0x05 0x10 0x0d 0xfe 0x05 0x0e 0xcd
0x3b 0x03 0x0d 0x10 0xfc 0xe4 Get AZM approach
0x3b 0x04 0x10 0x0d 0xfc 0x00 0xe3
0x3b 0x03 0x0d 0x11 0xfc 0xe3 Get ALT approach
0x3b 0x04 0x11 0x0d 0xfc 0x00 0xe2
0x3b 0x03 0x0d 0x10 0x05 0xdb To AZM, CMD = 5 ???
0x3b 0x05 0x10 0x0d 0x05 0x0c 0x82 0x4b
0x3b 0x03 0x0d 0x10 0xfe 0xe2 Get AZ version
0x3b 0x05 0x10 0x0d 0xfe 0x05 0x0e 0xcd
0x3b 0x03 0x0d 0x11 0xfe 0xe1 Get ALT Version
0x3b 0x05 0x11 0x0d 0xfe 0x05 0x0e 0xcc
0x3b 0x03 0x0d 0xb0 0x33 0x0d Try GPS
0x3b 0x03 0x0d 0xb0 0x33 0x0d
0x3b 0x03 0x0d 0xb0 0x33 0x0d
0x3b 0x03 0x0d 0xb0 0x33 0x0d
0x3b 0x03 0x0d 0xb0 0x33 0x0d
0x3b 0x03 0x0d 0x12 0xfe 0xe0 Try focuser?
0x3b 0x03 0x0d 0x12 0xfe 0xe0
0x3b 0x03 0x0d 0x12 0xfe 0xe0
0x3b 0x03 0x0d 0x12 0xfe 0xe0
0x3b 0x03 0x0d 0x12 0xfe 0xe0
0x3b 0x03 0x0d 0x10 0x47 0x99 AZ get AUTOGUIDE RATE
0x3b 0x04 0x10 0x0d 0x47 0xff 0x99
0x3b 0x03 0x0d 0x11 0x47 0x98 ALT get autoguide rate
0x3b 0x04 0x11 0x0d 0x47 0xff 0x98

0x3b 0x03 0x0d 0x10 0x01 0xdf AZ Get position, scope has been parked and hibernated and still parked
0x3b 0x06 0x10 0x0d 0x01 0x00 0x00 0x00 0xdc
0x3b 0x03 0x0d 0x11 0x01 0xde ALT get position
0x3b 0x06 0x11 0x0d 0x01 0x00 0x00 0x00 0xdb
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x00 0x00 0x00 0xdc
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0x00 0x00 0x00 0xdb
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x00 0x00 0x00 0xdc
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0x00 0x00 0x00 0xdb
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x00 0x00 0x00 0xdc
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0x00 0x00 0x00 0xdb
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x00 0x00 0x00 0xdc
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0x00 0x00 0x00 0xdb

0x3b 0x06 0x0d 0x10 0x04 0x7b 0x09 0x90 0xc5 AZ set position - This seems to be my park position, 173.02 AZ
0x3b 0x04 0x10 0x0d 0x04 0x01 0xda
0x3b 0x06 0x0d 0x11 0x04 0xe6 0xe3 0xd2 0x3d ALT set position - This seem to be my park position -39 ALT
0x3b 0x04 0x11 0x0d 0x04 0x01 0xd9

0x3b 0x06 0x0d 0x10 0x06 0x00 0x00 0x00 0xd7 AZ set pos guiderate
0x3b 0x04 0x10 0x0d 0x06 0x01 0xd8
0x3b 0x06 0x0d 0x11 0x06 0x00 0x00 0x00 0xd6 ALT set pos guiderate
0x3b 0x04 0x11 0x0d 0x06 0x01 0xd7

0x3b 0x06 0x0d 0x10 0x06 0x00 0x00 0x00 0xd7 AZ set pos guiderate
0x3b 0x04 0x10 0x0d 0x06 0x01 0xd8
0x3b 0x06 0x0d 0x11 0x06 0x00 0x00 0x00 0xd6
0x3b 0x04 0x11 0x0d 0x06 0x01 0xd7

0x3b 0x03 0x0d 0x10 0x01 0xdf ALT/AZ get position
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x09 0x8e 0xca
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x09 0x8e 0xca
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x09 0x8e 0xca
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x09 0x8e 0xca
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40

0x3b 0x06 0x0d 0x10 0x06 0x00 0x00 0x00 0xd7 AZ set pos guide rate
0x3b 0x04 0x10 0x0d 0x06 0x01 0xd8
0x3b 0x06 0x0d 0x11 0x06 0x00 0x00 0x00 0xd6 ALT set pos guiderate
0x3b 0x04 0x11 0x0d 0x06 0x01 0xd7


0x3b 0x05 0x0d 0x10 0x06 0xff 0xff 0xda AZ set pos guide rate Sidereal
0x3b 0x04 0x10 0x0d 0x06 0x01 0xd8

0x3b 0x03 0x0d 0x10 0x01 0xdf AZ get position
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x09 0xf8 0x60 AZ position
0x3b 0x03 0x0d 0x11 0x01 0xde Alt get position
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40 ALT position
0x3b 0x03 0x0d 0x10 0x01 0xdf AZ get position
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x0a 0xc7 0x90 AZ position now updated because we are sidereal tracking
0x3b 0x03 0x0d 0x11 0x01 0xde Alt get position
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40 ALT stays same
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x0b 0x99 0xbd New AZ
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x0c 0x7c 0xd9 New AZ
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x0d 0x39 0x1b
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x0e 0x0b 0x48
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x0e 0xda 0x79
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x0f 0xac 0xa6
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x10 0x7e 0xd3
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x11 0x4c 0x04
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x12 0x14 0x3b
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x12 0xe6 0x69
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x13 0xbb 0x93
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x14 0x8d 0xc0
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x15 0x5f 0xed
0x3b 0x03 0x0d 0x11 0x01 0xde
0x3b 0x06 0x11 0x0d 0x01 0xe6 0xe3 0xd2 0x40
0x3b 0x03 0x0d 0x10 0x01 0xdf
0x3b 0x06 0x10 0x0d 0x01 0x7b 0x16 0x2d 0x1e
0x3b 0x03 0x0d 0x11 0x01 0xde
10 months 1 week ago #66527

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

Time to create page: 1.120 seconds