SG Ready wiring diagram: connecting a Shelly to your heat pump

The simplest SG Ready wiring diagram: one Shelly relay with a potential-free contact is enough to run an SG Ready heat pump on solar excess or cheap electricity. This page shows the two common wiring diagrams: the simple version with one Shelly for solar excess, and the full version with two contacts for all four SG Ready states.

For installers and experienced DIYers. The step-by-step setup in the app is in our guide: set up SG Ready with a Shelly and Zerofy.

SG Ready operating states

The SG Ready interface has two inputs. Their combination selects one of four operating states, defined by the Bundesverband Wärmepumpe:

State Contact 1 Contact 2 What it means
1 Blocked closed open Heat pump pauses, max. 2 h
2 Normal open open Heat pump runs on its own control
3 Encouraged open closed Setpoints are raised, more consumption
4 Ordered closed closed Definite switch-on, optionally with electric heater

For solar excess and cheap hours, states 2 and 3 are enough, which means a single contact on input 2.

Wiring diagram 1: one Shelly for solar excess

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.

The Shelly runs on a 12 V DC plug-in power supply and only closes contact 2 of the heat pump. Open means Normal, closed means Encouraged. The wire to the heat pump only carries the heat pump’s own control voltage; polarity doesn’t matter. This is the version in the Zerofy kit. On the Shelly Plus 1, plus goes to the 12V terminal and minus to L; instead of the DC jack adapter, you can also cut off the power supply’s cable and connect it directly (check the polarity first).

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 an adapter: a Shelly 1 Gen4 with its box, and a Shelly Plus 1.
The 12 V plug-in 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.

Wiring diagram 2: two contacts for all four states

Two contacts switch all four SG Ready statesWiring diagram 2: Shelly Pro 2 in the distribution board or two Shelly 1, channel 1 to SG1, channel 2 to SG2

Two contacts switch all four SG Ready states SG Ready wiring diagram 2: the distribution board supplies a Shelly Pro 2 (or two Shelly 1) with 230 V AC. Channel 1, terminals I1 and O1, is wired to SG1, contact 1 of the heat pump; channel 2, terminals I2 and O2, to SG2, contact 2. Zerofy Cloud switches both channels over Wi-Fi or LAN. Channel 1 closed alone means blocked, channel 2 alone encouraged, both ordered. Work in the distribution board by an electrician only. Zerofy Cloud Fuse box Shelly Pro 2 Heat pump I1 O1 I2 O2 230 V AC electrician only 230 V or 2 × Shelly 1 SG Ready terminals Wi-Fi / LAN Channel 1 Channel 2 SG1 · contact 1 SG2 · contact 2 Two contacts switch all four SG Ready states SG Ready wiring diagram 2: the distribution board supplies a Shelly Pro 2 (or two Shelly 1) with 230 V AC. Channel 1, terminals I1 and O1, is wired to SG1, contact 1 of the heat pump; channel 2, terminals I2 and O2, to SG2, contact 2. Zerofy Cloud switches both channels over Wi-Fi or LAN. Channel 1 closed alone means blocked, channel 2 alone encouraged, both ordered. Work in the distribution board by an electrician only. Fuse box Zerofy Cloud Heat pump I1O1I2O2 SG1 · contact 1 SG2 · contact 2 230 V AC Channel 1 Channel 2 electrician only SG Ready terminals 230 V Wi-Fi / LAN Shelly Pro 2 or 2 × Shelly 1
Channel 1 only = blocked, channel 2 only = encouraged, both = ordered.

If you also want to use Blocked (state 1) and Ordered (state 4), for example for §14a signals or very cheap hours, you need two contacts. A Shelly Pro 2 has both in one DIN-rail unit, but it is powered with 230 V and belongs in the distribution board. Alternatively, use two Shelly 1 with a low-voltage power supply. The states follow from the table above.

Which Shelly fits, and what are the SG Ready terminals called?

The SG Ready input expects a potential-free contact. The heat pump applies its own control voltage: usually a low voltage, but 230 V~ on some brands, such as Viessmann (see the table below). External voltage must never be applied.

Shelly model Contact Supply Suitable for
Shelly Plus 1 / 1 Gen3 / 1 Gen4 potential-free (I/O) 12 V DC, 24–48 V DC or 230 V AC Wiring diagram 1; two of them for wiring diagram 2
Shelly Pro 2 2 × potential-free, DIN rail 230 V AC Wiring diagram 2 in the distribution board
Models with “PM” (Plus 2PM, Pro 2PM, Pro 4PM, 2PM Gen3/Gen4) switch mains voltage 230 V AC not directly, only with an interposing relay

The Zerofy kit uses a Shelly Plus 1 with a potential-free contact and a 12 V plug-in power supply with a DC jack adapter on screw terminals. The parts are also available individually, e.g. on Amazon; you can order the kit from us through the contact form.

Terminal names are not standardised. Common ones: SG1/SG2, SG-A/SG-B, EVU and PV/SG, or “external input 1/2”. Check the terminal assignment in the installation manual, and whether the input has to be enabled in the menu.

Brand Contact 1 terminal Contact 2 terminal Menu to enable it Notes
Viessmann, One Base (Vitocal 150-A, 151-A, 250-A, 2xx-S) 143.4 (against 143.1), 230 V~ 143.5 (against 143.1), 230 V~ Commissioning wizard: Erweiterungen → EVU-Sperre und Smart-Grid → Smart Grid (parameter 2560.0) 230 V~ in the indoor unit’s terminal box, electrician only. Boost: 2543.2 hot water, 2543.0 heating
Viessmann, Vitotronic 200 (WO1C) 216.1 (plug sYH, main board), 230 V~ 216.4, 230 V~ Service menu → Codierebene 1 → Smart Grid → 7E80 = 4 230 V~, electrician only. Boost: 7E91 hot water, 7E93 heating. 7E80 = 4 not on the Vitocal 200-G BWC 201.B and 300-G BWC 301.C
Vaillant aroTHERM plus, flexoTHERM – PV input: ME (heat pump control module, aroTHERM) or X41 FB (flexoTHERM) sensoCOMFORT: Fachhandwerkerebene → Anlagenkonfiguration → Konfiguration WP-Regelungsmodul → ME: Photovoltaik For solar excess, this one contact is enough; all four states only with Vaillant’s relay box and a VR 71. Boost: “Offset Pufferspeicher” (factory setting 10 K)
Wolf CHA, FHA EVU/SG0–GND (terminal strip X0, indoor unit) PV/SG1–GND Installer menu (code 1111) → parameter WP025 “SG / PV” Solar excess only: leave WP025 = PV (factory setting), the bridge on EVU/SG0 stays. All four states: WP025 = SG, remove the bridge. Boost: WP026/WP027 (0 K from the factory)

From the manufacturers’ installation manuals. Terminals and menus change between device generations, so always check the manual for your own model.

To find out whether your heat pump has SG Ready, check the BWP SG Ready database and the Zerofy heat pump database.

Common mistakes

Symptom Cause Fix
Heat pump shows “Blocked” instead of solar mode Shelly on contact 1 instead of contact 2 Move the wires to the other terminal pair
Shelly switches, heat pump doesn’t respond SG Ready input not enabled in the menu Enable it in the installer menu
Error message or damaged input PM model or external voltage connected Only use a potential-free contact
Solar mode stays active after a power cut Shelly starts up switched on Set Power-on default to “Off”

Safety notes

  • Work on 230 V and in the distribution board must be done by an electrician only.
  • With the Zerofy kit, you only touch the low-voltage side of the SG Ready terminals. If the terminals are behind a cover with mains voltage, call in your installer.
  • Run the SG Ready cable separately from mains cables.

Sources