# Thermostat Configuration

This guide walks through the SmartPID on-device configuration screens for setting up a single-channel thermostat, typically used for fermentation temperature control. Access these screens by navigating to **Configuration** on your SmartPID device.

## Configuration Menu

From the main Configuration menu, select **HW setup** to configure the hardware relay assignments for your thermostat.

![](/files/-L_2zPH-Nczzxe-DBdEe)

## HW Setup -- Control and Heating/Cooling Modes

In the **HW setup** screen, configure the following settings:

* **Control Mode**: Set to **T-static** for standard thermostat operation (maintaining a fixed target temperature).
* **Heating Mode**: Set to **ON/OFF** for relay-based heating control.
* **Cooling Mode**: Set to **ON/OFF** for relay-based cooling control.
* **Multi Control**: Set to **Dual** if you are using both heating and cooling on a single channel.
* **Out1 Heating**: Set to **Relay1** to assign heating output to the first relay.

![](/files/-L_2zSfJmgXfPL2F1WRZ)

## HW Setup -- Relay Assignments and Button Beep

Scroll down in **HW setup** to configure the remaining relay assignments:

* **Out1 Heating**: **Relay1** -- Heating output is assigned to relay 1.
* **Out1 Cooling**: **Relay2** -- Cooling output is assigned to relay 2.
* **Out2 Heating / Out2 Cooling**: Set to **OFF** if you are using a single-channel configuration.
* **Button Beep**: Set to **No** to disable the audible button press beep, or leave enabled as preferred.

![](/files/-L_2zY93zTuekUXuOmIe)

## Process Parameter -- Set Points and Timers

In the **Process parameter** screen, configure the temperature set points and timers:

* **Set-Point 1**: The target temperature for heating (e.g., 55.0). This is the temperature Brewfather will control when a fermentation profile is sent.
* **Set-Point 2**: The target temperature for cooling (e.g., 40.0).
* **Timer 1 / Timer 2**: Duration timers for each set point. Set to **0:00** if you are controlling the profile from Brewfather.
* **PID1 Kp**: The proportional gain for the PID controller (e.g., 15.0). Adjust based on the responsiveness of your heating system.

![](/files/-L_2zeSq9YqUH_bxpaq8)

## Process Parameter -- PID Tuning and Hysteresis

Scroll down in **Process parameter** for additional PID tuning settings:

* **PID1 Kd**: The derivative gain (e.g., 0.0). Helps reduce temperature overshoot.
* **Hysteresis 1**: The temperature band around the set point before the controller activates (e.g., 0.3). A smaller value provides tighter control but more frequent relay cycling.
* **Reset DT 1**: Derivative reset time (e.g., 5.0).
* **Fridge Delay 1**: Compressor delay in minutes (e.g., 3). Protects refrigeration compressors by preventing rapid on/off cycling.
* **PID2 Kp**: Proportional gain for the second PID channel (e.g., 15.0), used if you have a dual-channel setup.

![](/files/-L_2zihC-zY37j4wWZ_X)

## Related docs

* [SmartPID](/integrations/smartpid.md)
* [Devices](/devices.md)


---

# 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://docs.brewfather.app/integrations/smartpid/thermostat-configuration.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.
