> For the complete documentation index, see [llms.txt](https://docs.brewfather.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.brewfather.app/integrations/smartpid/thermostat-configuration.md). Agents can also search and read this documentation through its [MCP server](https://docs.brewfather.app/~gitbook/mcp).

# Thermostat Configuration

Configure SmartPID thermostat hardware setup and relay assignments for heating and cooling control.

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.

![](https://771697612-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEzhWP2LGeXaKgS2qr4%2F-L_2ySOcevNkwzmhe5f5%2F-L_2zPH-Nczzxe-DBdEe%2Fimage.png?alt=media\&token=a409c3c9-8c16-42a8-b011-5e8a9780ee24)

## 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.

![](https://771697612-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEzhWP2LGeXaKgS2qr4%2F-L_2ySOcevNkwzmhe5f5%2F-L_2zSfJmgXfPL2F1WRZ%2Fimage.png?alt=media\&token=ed6025cf-d1a4-407d-8d03-1f715b5ec9c9)

## 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.

![](https://771697612-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEzhWP2LGeXaKgS2qr4%2F-L_2ySOcevNkwzmhe5f5%2F-L_2zY93zTuekUXuOmIe%2Fimage.png?alt=media\&token=bed227ee-c0af-4660-905f-b7bd61b37812)

## 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.

![](https://771697612-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEzhWP2LGeXaKgS2qr4%2F-L_2ySOcevNkwzmhe5f5%2F-L_2zeSq9YqUH_bxpaq8%2Fimage.png?alt=media\&token=f3e106f1-0977-4f9b-8696-afe1e3471652)

## 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.

![](https://771697612-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEzhWP2LGeXaKgS2qr4%2F-L_2ySOcevNkwzmhe5f5%2F-L_2zihC-zY37j4wWZ_X%2Fimage.png?alt=media\&token=e99a3407-822a-40b2-9553-3a57bd641413)

## Related docs

* [SmartPID](https://docs.brewfather.app/integrations/smartpid.md)
* [Devices](https://docs.brewfather.app/devices.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.brewfather.app/integrations/smartpid/thermostat-configuration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
