# Stn

> AutoPi Core Stn commands reference covering stn.extsleep, stn.extwake, stn.help, stn.powerconfig with parameters and usage examples for managing...

## `stn.ext_sleep`

External sleep trigger configuration.

----
## `stn.ext_wake`

External wake trigger configuration.

----
## `stn.help`

Shows this help information.

----
## `stn.power_config`

Summarizes active PowerSave configuration.

----
## `stn.power_pin_polarity`

Specify whether the pin outputs a logic LOW or HIGH in low power mode.

----
## `stn.power_trigger_status`

Reports last active sleep/wakeup triggers since last reset.

----
## `stn.sleep`

Enter sleep mode after the specified delay time.
The OBD connection is closed as default in order to prevent STN wake up on UART communication.

----
## `stn.uart_sleep`

UART inactivity timeout configuration.

----
## `stn.uart_wake`

UART wakeup pulse timing configuration.

----
## `stn.volt_calibrate`

Manual calibration of voltage measurement.
Default value `0000` will restore to the factory calibration.

**OPTIONAL ARGUMENTS**

  - **`value`** (int): The value to set the calibration to. Default is 0000.
  - **`confirm`** (bool): Achknowledge the execution of this command. Default is `False`.

----
## `stn.volt_change_wake`

Voltage change wakeup trigger configuration.

----
## `stn.volt_level`

Determine the current voltage level.

----
## `stn.volt_level_sleep`

Voltage level sleep trigger configuration.

----
## `stn.volt_level_wake`

Voltage level wakeup trigger configuration.
