Set up SG Ready with a Shelly and Zerofy: run your heat pump on solar excess

In about 30 minutes, you can have your heat pump run on your own solar surplus, and on cheap electricity hours if you have a dynamic tariff. You need an SG Ready heat pump, the Zerofy SG Ready kit, Wi-Fi at the heat pump, and the Zerofy app with your solar system connected.

The kit contains a Shelly Plus 1 relay, a low-voltage connector cable and a 12 V plug-in power supply. The Shelly is powered from a normal wall socket at safe low voltage and only switches the heat pump’s SG Ready contacts. You don’t need to open your distribution board. On most heat pumps these contacts are low-voltage; on some, such as Viessmann, they carry 230 V and need an electrician.

What is SG Ready?

SG Ready (“Smart Grid Ready”) is a label for heat pumps that can be steered from outside through a simple, standard interface. The German heat pump association, Bundesverband Wärmepumpe (BWP), introduced it in 2012 together with leading manufacturers, and it is now used across Germany, Austria and Switzerland.

The idea is simple: instead of every energy manager learning every heat pump’s protocol, the heat pump offers two switch inputs. Any controller that can open and close a contact can tell the heat pump to pause, run normally, or use more energy. The heat pump’s own controller decides what that means in practice and keeps all its safety and comfort limits.

That makes SG Ready brand-independent and robust: it works without internet at the heat pump, without an API, and without the manufacturer’s cooperation. The trade-off is that it’s a signal, not a conversation: the controller can’t read temperatures or set exact values through it.

Is my heat pump SG Ready? Check the official SG Ready page of the BWP and its SG Ready database, which lists over 6,000 certified heat pumps and components, searchable by manufacturer and model. You can also browse the Zerofy heat pump database: 435 heat pump series from 67 brands, with SG Ready, Modbus and EEBUS support, efficiency (SCOP), and which ones Zerofy can control directly through the manufacturer’s cloud.

How SG Ready works

An SG Ready heat pump has two input contacts. Their open/closed combination tells the heat pump which of four operating states to use (BWP):

State Contact 1 Contact 2 What the heat pump does
1 Blocked closed open Pauses, max. 2 h (used by grid operators)
2 Normal open open Runs on its own control
3 Encouraged open closed Raises setpoints and uses more energy
4 Ordered closed closed Definite switch-on, optionally with electric heater

For solar excess, we only need states 2 and 3. That’s why one Shelly relay on contact 2 is enough: open = normal, closed = boost. Zerofy closes the contact when there’s surplus or cheap power, and opens it again when there isn’t.

State 3 is a recommendation, not a command. Your heat pump still decides how much to boost, and it keeps all its own safety limits.

What you need

  • An SG Ready heat pump (check the label, the manual, or the BWP SG Ready database). A single “PV input” or “smart grid” input also works.
  • The Zerofy SG Ready kit: Shelly Plus 1, low-voltage connector, 12 V plug-in power supply. Contact us to order one, or buy the parts yourself, e.g. on Amazon: a Shelly Plus 1, a 12 V DC plug-in power supply, a DC jack adapter with screw terminals (“Klemmen”) and a short piece of two-core wire
  • A wall socket near the heat pump’s control unit
  • 2.4 GHz Wi-Fi at the heat pump
  • The Shelly Smart Control app (to set up the relay)
  • The Zerofy app, with your inverter or smart meter connected so Zerofy can see your surplus
  • Your heat pump manual, open at the SG Ready / external input section
The parts of the SG Ready kit on a table: a 12 V plug-in power supply with its box, DC jack adapters with screw terminals, and two Shelly relays each wired to a DC jack adapter: a Shelly 1 Gen4 with its box, and a Shelly Plus 1.
The 12 V power supply, DC jack adapters with screw terminals, and the Shelly wired to the adapter: Shelly 1 Gen4 in the middle, Shelly Plus 1 on the right.

Important: the SG Ready input expects a potential-free (dry) contact. The heat pump itself puts a control voltage on it: usually a low voltage, but 230 V on some brands, such as Viessmann. Never apply external voltage to it, and never connect a Shelly output that switches mains voltage. The kit’s relay is a dry contact, so this is taken care of.

Step-by-step wiring

  1. Switch the heat pump to standby and open the cover of its control unit or the terminal box for external inputs, as described in your manual. If this requires opening a mains compartment, stop and ask your installer.
  2. Find the SG Ready terminals. Names vary: SG1/SG2, SG-A/SG-B, EVU and PV, or “external input 1/2”. You want the terminal pair for contact 2 (the “encouraged / PV” input).
  3. Connect the low-voltage connector to the Shelly’s relay output terminals (I and O, the dry contact).
  4. Connect the other end to the SG contact 2 terminal pair on the heat pump. Polarity doesn’t matter for a dry contact.
  5. Connect the power supply to the Shelly’s 12 V DC input: plus to the 12V terminal, minus to L. Use the DC jack adapter and a short piece of wire, or cut off the power supply’s plug and connect its two wires directly (check which one is plus first). Then plug it into the wall socket.
  6. Close the heat pump cover and switch it back on.

One Shelly on SG contact 2 is enough for solar excessWiring diagram 1: state 2 (open) and 3 (closed), no work on 230 V

One Shelly on SG contact 2 is enough for solar excess SG Ready wiring diagram 1: a 230 V AC wall socket feeds a plug-in power supply, which powers the Shelly with 12 V DC. The Shelly's potential-free contact (terminals I and O) is wired with two cores to SG2, contact 2 of the heat pump. SG1, contact 1 stays unused. Zerofy Cloud switches the Shelly over Wi-Fi. The power supply and the Shelly are part of the Zerofy kit. Zerofy Cloud Wall socket Power supply Shelly Heat pump I O 230 V AC 12 V DC potential-free contact 230 V 12 V SG Ready terminals Wi-Fi SG2 · contact 2 SG1 · contact 1: unused One Shelly on SG contact 2 is enough for solar excess SG Ready wiring diagram 1: a 230 V AC wall socket feeds a plug-in power supply, which powers the Shelly with 12 V DC. The Shelly's potential-free contact (terminals I and O) is wired with two cores to SG2, contact 2 of the heat pump. SG1, contact 1 stays unused. Zerofy Cloud switches the Shelly over Wi-Fi. The power supply and the Shelly are part of the Zerofy kit. Wall socket Power supply Zerofy Cloud Shelly I O SG2 · contact 2 230 V AC 12 V DC potential-free contact 230 V Wi-Fi 12 V Heat pump SG Ready terminals SG1 · contact 1: unused
Coloured: part of the Zerofy kit. Terminal names vary by manufacturer. Wiring for all four states, with two contacts: SG Ready wiring diagram.

Set up the Shelly

  1. Install the Shelly Smart Control app and create a Shelly Cloud account.
  2. Tap Add device, let the app find the Shelly via Bluetooth, and connect it to your 2.4 GHz Wi-Fi.
  3. Update the firmware when the app offers it.
  4. Name the device, e.g. “Heat pump SG Ready”.
  5. In the device settings, set Power-on default to Off, so the heat pump returns to normal mode after a power cut.
  6. Set the input/button mode to Detached, so nothing switches the relay except Zerofy.
  7. Test: switch the relay on and off in the Shelly app and listen for the click.

Connect to Zerofy

  1. In the Zerofy app, connect Shelly with your Shelly Cloud account.
  2. Add the devices from your Shelly account.
  3. Select the relay you just added, e.g. “Heat pump SG Ready”.
  4. Activate Autopilot for the relay.

Autopilot settings for SG Ready (via Shelly)

The Shelly switches your heat pump’s SG Ready contact. That tells the heat pump that now is a good time to use electricity: it raises its setpoints slightly and stores the extra heat in the hot water or buffer tank. Prerequisite: your installer has enabled SG Ready in the heat pump.

Solar mode

Threshold
1.5 kW, or about the power your heat pump draws while running
Minimum run time
30 minutes

Why: The heat pump should only start when your surplus can actually cover it; with a lower value it partly runs on grid power. The Shelly can't measure the heat pump's power, so set the threshold from your heat pump's specifications. The minimum run time stops a passing cloud from switching it on and off every few minutes.

Smart (dynamic tariff)

Time window
08:00–17:00
Run time
2 hours per day

Why: Autopilot picks the cheapest 2 hours in this window, taking electricity prices and your solar forecast into account. The window covers the cheap midday hours and ends before the expensive evening peak, so the stored heat carries you through it. 2 hours are enough to heat the hot water tank fully; more would only shift heating into more expensive hours. In winter, when the heat pump also heats the house, 3–4 hours can make sense.

Tip: with a fixed electricity price every hour costs the same. Use solar mode instead.

Configure the heat pump side

The Shelly only sends the signal. What the heat pump does with it is set in the heat pump menu, usually by you or your installer once. Look for the SG Ready, “smart grid” or PV section in the manual and set:

  • Enable the SG Ready / external input (often off by default)
  • Hot water raise in boost: e.g. +5 to +10 K, up to the tank’s maximum
  • Heating raise in boost: e.g. +1 to +2 K room setpoint, or a few K on the flow temperature
  • Buffer tank raise if you have one
  • Whether the electric heater may run in boost (we recommend off for solar excess)
Brand Where to find it Notes
Viessmann, One Base (Vitocal 150-A, 151-A, 250-A, 2xx-S) Commissioning wizard: Erweiterungen → EVU-Sperre und Smart-Grid → Smart Grid (parameter 2560.0). Boost: 2543.2 hot water, 2543.0 heating Contact 1 = terminal 143.4, contact 2 = 143.5, both against 143.1, in the indoor unit’s 230 V terminal box. These inputs carry 230 V~: electrician only.
Viessmann, Vitotronic 200 (WO1C) Service menu → Codierebene 1 → Smart Grid → 7E80 = 4. Boost: 7E91 hot water, 7E93 heating Contact 1 = 216.1, contact 2 = 216.4, plug sYH on the main board. 230 V~ inputs: electrician only. 7E80 = 4 is not allowed on the Vitocal 200-G BWC 201.B and 300-G BWC 301.C.
Vaillant aroTHERM plus, flexoTHERM sensoCOMFORT: Fachhandwerkerebene → Anlagenkonfiguration → Konfiguration WP-Regelungsmodul → ME: Photovoltaik. Boost: “Offset Pufferspeicher” (factory setting 10 K) For solar excess, one contact on the PV input: ME on the heat pump control module (aroTHERM) or X41 terminal FB (flexoTHERM). All four SG Ready states need Vaillant’s relay box with a VR 71.
Wolf CHA, FHA Installer menu (code 1111) → parameters: WP025 “SG / PV” (factory setting PV). Boost: WP026 heating, WP027 hot water, both 0 K from the factory Terminal strip X0 in the indoor unit: EVU/SG0–GND and PV/SG1–GND. Solar excess only: leave WP025 on PV, keep the bridge on EVU/SG0 and connect the Shelly to PV/SG1–GND. For all four states set WP025 = SG and remove the bridge.

From the manufacturers’ installation manuals. Terminal names and menus change between generations, so check the manual for your model.

Test and troubleshoot

Test: switch the relay on in the Shelly app. The Shelly should click, and within a few minutes the heat pump display should show SG state 3 (or “PV mode”, “increased operation”). Switch it off again and check it returns to normal.

Problem Likely cause Fix
Shelly clicks, heat pump does nothing SG input not enabled in heat pump menu Enable it; check manual
Heat pump shows “blocked” Wired to contact 1 instead of contact 2 Move wires to the other terminal pair
Shelly offline in Zerofy Weak Wi-Fi at the heat pump Add a repeater or move the router

Safety notes

  • Only connect the kit to the low-voltage SG Ready terminals. Never connect anything to 230 V terminals.
  • If reaching the terminals means opening a mains compartment, have your installer do this part.
  • Check that wiring to the heat pump doesn’t void your warranty; most manufacturers explicitly support SG Ready.

Sources