# Mount

## Overview

The `pocs mount` command offers some basic ways to interact with the mount, mostly to be used while testing or as a backup if something goes wrong.

{% hint style="danger" %}
You should not run these commands while POCS is running!
{% endhint %}

## Commands

### `park`

Used for moving the mount to the parking position.

```
(conda-pocs)  panoptes@panoptes  pocs mount park
```

### `search-home`

Search for the home position on mounts that support it. Currently that is the iOptron CEM40.

```
(conda-pocs)  panoptes@panoptes  pocs mount search-home
```

### `slew-home`

Slew to the saved home position.

```
(conda-pocs)  panoptes@panoptes  pocs mount slew-home
```

### `setup`

Auto-detect the mount port and type, check for the firmware version, and set the config entries.

```
(conda-pocs)  panoptes@panoptes  pocs mount setup
```

## Configuration

The configuration key for the mount is simpy `mount`.

```
(conda-pocs)  panoptes@panoptes  pocs config get mount
{
    'brand': 'ioptron',
    'commands_file': 'ioptron/v310',
    'driver': 'panoptes.pocs.mount.ioptron.cem40',
    'model': 'cem40',
    'serial': {'baudrate': 115200, 'port': '/dev/ttyUSB0', 'timeout': 0.0},
    'settings': {
        'max_tracking_threshold': 99999,
        'min_tracking_threshold': 100,
        'non_sidereal_available': True,
        'park': {
            'dec_direction': 'north', 
            'dec_seconds': 15, 
            'ra_direction': 'west', 
            'ra_seconds': 15
        },
        'update_tracking': False
    }
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.projectpanoptes.org/build/software/pocs-command-line/mount.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
