# Weather Station

## Overview

`pocs weather` offers some basic commands for interacting with the running weather station service.&#x20;

## Commands

### `status`

Get the most recent weather reading.

```
(conda-pocs)  panoptes@panoptes  pocs weather status
```

### `restart`

Restart the weather (`supervisorctrl`) service. Use if getting errors with the other commands.

```
(conda-pocs)  panoptes@panoptes  pocs weather restart
```

## Configuration

The configuration will depend exactly on how you set up the [weather-station](https://www.projectpanoptes.org/build/hardware/weather-station "mention")hardware but the config key is in `environment.weather` either way. For a remote weather station you will have a url (i.e. `environment.weather.url`) and for a locally attached weather station a serial port (i.e. `environment.weather.serial_port`).

See the weather station config variables at [aag-weather](https://github.com/panoptes/aag-weather) documentation for details about setting the safety thresholds and heater settings.
