View on GitHub

FridgeTroll

ESPHome-based smart controller for SECOP compressor-driven refrigerators, providing advanced temperature management, stall detection, and telemetry.

FridgeTroll

An ESPHome-based smart controller for SECOP compressor-driven refrigerators, providing advanced temperature management, stall detection, and telemetry.

Overview

FridgeTroll is designed as an off-the-shelf, installable firmware primarily targeted at the SECOP 101N2000 compressor controller (though it should work with most modern SECOP controllers). It replaces the standard mechanical thermostat with an ESP32, offering fine-grained control over compressor speed, dedicated fridge and compressor fan management, and rich telemetry for Home Assistant via InfluxDB and native ESPHome APIs.

Installation

You can use the button below to install the pre-built firmware directly to your device via USB from the browser.

Bill of Materials (BOM)

To build the FridgeTroll hardware interface, you will need:

Interfacing with the SECOP Controller

The SECOP controller provides several pins that need to be interfaced with the ESP32. Due to voltage differences (the SECOP can Output 12V/24V on some pins), opto-isolation is required for the compressor control signals and the door switch to protect the ESP32.

1. Compressor Enable (Pin T)

The compressor turns on when Pin C is connected to Pin T (or driven by a PWM signal).

2. Compressor PWM (Pin P)

This pin dictates the compressor speed.

3. Compressor Fan

Controls the cooling fan for the compressor itself.

4. Door Switch

Monitors if the fridge door is open.

5. Fridge Fan (Internal)

Controls the circulation fan inside the fridge compartment.

Physical Installation & Wiring

Component Mounting

A successful FridgeTroll installation requires precise placement of sensors and fans for optimal thermal control:

Parasitic Wiring for DS18B20

To simplify wiring, the DS18B20 sensors are intended to be used in Parasitic Power Mode. This allows all sensors to share a single data line and ground.

Cable Routing Tips

Reusing existing paths can save significant time and avoid drilling into the fridge chassis: