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.
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
But debug shows
Dispatch Error: Cannot set read-only property CELESTRON_TRACK_MODE
So the scope never starts tracking because still in 'off'
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.
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
LOG_INFO("UpdateTime - check_aligned failed");
// Gene out next 5 lines
// if (isAligned)
// LOG_INFO("Updating time is not necessary since mount is already aligned.");
// return false;
Sorry if it seems I am beating a dead horse on this, but in the singular case of
Nexstar+ with latest firmware
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-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 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