Skip to content

Conversation

@jscheidtmann
Copy link
Collaborator

@jscheidtmann jscheidtmann commented Dec 14, 2025

[Note: This is a continuation of PR #349]

Goal of this PR is to establish EQ and Alt/AZ mount control from the PiFinder using indilib, which provides the device indepent library layer used by Kstars/Ekos on Linux (such as ASCOM does for Windows).

VISION

Once your mount is attached to the PiFinder and configured, after selecting a target in the PiFinder, Pifinder directs the mount automatically to bring the target to the center of your eyepiece, using PiFinder's platesolving.

Caution

PiFinder's platesolving is not suited for guiding and astrophotography. This use case therefore is out-of-scope.

Outline

of what needs to be done:

  • Providing a means to configure the mount using a web page (done using indiwebmanager)
  • PiFinder UI to activate mount control (activate indiwebmanager service, switch on mount control, in "Experimental")
  • PiFinder UI to control mount manually using PiFinder.
  • Control to be integrated with all places, where manual control might be needed (Camera, Align, Objects). modify Object Details to control mount.
    • Web page doing this Integrated with "Remote"
  • Indi mount automation in PiFinder (separate process)
    • State machine tracking mount status (slewing, settling, tracking, park, unpark, etc.)
    • Provide target selection to mount control process from menu
    • Automate slewing to target
    • Detect if mount runs into horizon limits and display an error message
    • On GPS lock, set mount location in driver.
    • On location select, set mount location in driver.
  • Provide manual slew commands in all screens, that do not use keyboard input.
  • Switch off advanced pointing models in those drivers that provide it.
  • Switch off horizon limits in those drivers that provide it.
  • More testing under the stars

Optional

  • Spiral movement to ease alignment of PiFinder (integrate with alignment screen)
  • Pointing model and target tracking (if not polar aligned)
  • EQ AND Alt/AZ support

Unclear:

  • Targeting Moon and moon features.

Timeframe for implementation

Likely on the order of a couple of month or longer.

Important

ETA is Q1 2026 earliest.

jscheidtmann and others added 30 commits September 20, 2025 15:18
* GPS baud rate configuration

* check and fix gpsd baud on startup

* add notes

* limit texts to 15 chars per line of which we have 2

* join GPS settings in 1 menu

* New Settings Menu Structure:

  Settings
  ├── User Pref...
  ├── Chart...
  ├── Camera Exp
  ├── WiFi Mode
  ├── Mount Type
  └── Advanced
      ├── PiFinder Type
      ├── Camera Type
      └── GPS Settings
          ├── GPS Type
          └── GPS Baud Rate

when entering the Advanced submenu a 3 second popop shows that reads:
Options for
DIY PiFinders
* Adding WDS import, and a new way of handling object images

* Fix missing catalogs, get_objects query and unit tests

* updated db

* optimise WDS catalog import speed, merge into new catalog_imports

* Update db, add readme

* Reset tetra3 submodule to match upstream/main

* first pass on missing radecs for WDS

* Reenable WDS, beter parsing of coords+fallback coords

* Speed up name loading

* Add debugging timing

* eliminate double call

* db optimisations

* Background loading of objects

* Enable mag loading again

* init mag with object

* Defer catalogs

* thread safe background loader

* improve startup time by deferring filtering

* Preload modules to speed up startup

* Back out the module preloading, need to do perf profiling first

* Profiling

* Notify users of background loading

* Catalog refreshes after loading

* fix infinite loop bug

* Tests should pass on CI

* Remove timing code
jscheidtmann and others added 25 commits November 3, 2025 08:45
Added dbus dependencies installation for compiling.
* Merged main with the location changes

* no ubx yet

* Revert "no ubx yet"

This reverts commit c872394.

* Adjust batches and sleep times to increase responsiveness

* Make search async
* Merged main with the location changes

* no ubx yet

* Revert "no ubx yet"

This reverts commit c872394.

* Added PID control loop for auto exposure of camera

* Added logging for real camera testing

* Add preview overlay

* Fixed star count, still might have to refactor

* implement sweeping

* Also sweep if no solves

* Refactoring, sweep implementation, unit tests

* fix RSME logging crash

* Added experimental menu

* Fix overlay glitch

* Really fix exposure overlay

* Optimized pid params

* Added histogram plugin

* pid tuning was too agressive, reverted

* Implemented asymmetric pid tuning (be more aggresive going up than down)

* Raw capture and many linting stuff

* Downward still too aggresive

* Reset errors

* further pid tuning

* chart error due to no ra

* performance tuning

* Fix alt/az being none

* recover from no solves

* Fix imu drift and stuck at 25ms

* PID tuning

* IMU drift fix

* measure imx462 offset

* More measuring

* More sweep changes

* Fix nox errors, delete test code

* Less logging, no more hold at 400ms

* Added exponential zero star handler

* Add to menu, less logging
Add lock_type to GPSD based messages to fix #357
Adds SQM measuring and UI screen for display along with Bortle scale mapping
* Subclass ceder client to stop loading detect as child process

* Fix up minor errors if no solve

* Add support for migration / setup
Add features for user to report actual SQM and package this along with exposures to help improve SQM feature in the future
@jscheidtmann jscheidtmann mentioned this pull request Dec 14, 2025
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants