# 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
    }
```
