Fix and Furrow
Advertise

Part of our Heating and Cooling guide

How to Install a Smart Thermostat on a Heat Pump (O/B Wire)

The heat pump-specific steps most guides skip: reversing valve wiring, aux heat limits, a missing C-wire, and a post-install test.

Save to Pinterest

We may earn a commission when you buy through links on this page. It never changes what we recommend. Learn more

Smart thermostat base plate on a wall with low-voltage wires connected to labeled terminals
Photo: Sean on Unsplash

The short answer

Turn off power, photograph and label every wire, then move each one to the matching terminal on the new base. The heat pump-specific step is the O/B wire, which drives the reversing valve. Many brands use O and others use B, so check the wiring diagram on your equipment. Then limit auxiliary heat and test heating, cooling, and defrost.

Typical cost
$100 to $280 for the thermostat; $100 to $300 more if you hire a pro
Time needed
1 to 2 hours
Skill level
Intermediate

Key points

  • Picking the wrong O or B setting in the thermostat menu makes the system cool when you ask for heat.
  • Label the wires by terminal letter, not by color, because wire colors are a convention and not a standard.
  • Auxiliary heat is usually electric resistance heat that costs more to run than the heat pump itself, so limit when it can start.
  • Emergency heat is a manual backup setting and should not stay on unless the outdoor unit has failed.
  • Stop and call an HVAC pro for dual fuel, communicating, or line-voltage systems, or if you find burned wiring or no usable C-wire.
In this guide
  1. What tools and materials do you need?
  2. How do you confirm it's a heat pump and check the power supply?
  3. Why label and photograph the wires before removing anything?
  4. Which wire is the O/B wire, and how do you set it?
  5. How do you wire the base and mount the new thermostat?
  6. How should you set heat pump, auxiliary, and emergency heat?
  7. How do you test heating, cooling, and defrost?
  8. When should you stop and call an HVAC professional?

Before you buy anything, pop the cover off your old thermostat and look for a wire on a terminal marked O or B. If it's there, you almost certainly have a heat pump, and that wire is the part generic install guides tend to gloss over. Get it wrong and the system cools when you ask for heat. Here's the whole job, from shutting off power to watching a defrost cycle.

What tools and materials do you need?

You need basic hand tools, a phone for photos, and possibly a low-cost adapter if your wiring has no common wire.

  • Small Phillips and flathead screwdrivers
  • A non-contact voltage tester
  • Phone camera, masking tape, and a pen for labels
  • Wire strippers for trimming frayed ends
  • A small level, a drill, and wall anchors if the new base doesn't cover the old screw holes
  • Spare low-voltage thermostat wire if the existing cable is too short or damaged
  • A common-wire adapter or power extender kit if you have no C-wire (often $20 to $50)

A smart thermostat typically runs $100 to $280, with price driven mostly by screen quality, sensors, and brand. We'd pick whichever model the manufacturer's compatibility checker clears for your exact terminals, even if a rival has a nicer screen. Not every model supports multi-stage or variable-speed heat pumps, so run the check before you buy.

How do you confirm it's a heat pump and check the power supply?

Look for heat pump markings on the outdoor unit's data plate and an O/B terminal on the old thermostat; seeing both settles it.

Then check the wires. Thin wires in a cable (about 18-gauge) mean a low-voltage thermostat. Thick wires labeled L1 and L2, or a line-voltage thermostat controlling baseboard or electric wall heaters, mean this is the wrong guide.

Next, look at the C terminal. A wire there (often blue or black) means you have constant 24-volt power. If not, check the cable for an unused conductor tucked behind the others. You'll deal with that in the wiring step.

Why label and photograph the wires before removing anything?

Labeling by terminal letter protects you from a miswire, because wire colors are habit and the letter on the terminal is the real information.

  1. Take a clear photo of the old wiring with the cover off, showing every terminal letter.
  2. Stick masking tape on each wire and write its terminal letter on it (R, C, Y, G, O/B, W, and so on).
  3. Trust the letter over the color when they disagree. A previous installer may have used a white wire for the reversing valve.
  4. With power off, photograph the control board at the air handler too, if the panel opens easily. The terminal letters there should match the wall.

If a wire is stuffed behind the old base and connected to nothing, label it unused and leave it alone.

Which wire is the O/B wire, and how do you set it?

The O/B wire controls the reversing valve, the part that flips the system between heating and cooling, and you set it by choosing O or B in the thermostat menu to match your equipment.

Here's what trips people up. Manufacturers disagree. On an O system, the reversing valve is energized in cooling mode. On a B system, it's energized in heating mode. Many brands use O, but don't bet on it. Check the wiring diagram on the outdoor unit's service panel or inside the air handler door, and look for the reversing valve solenoid labeled O or B.

Many smart thermostats have one combined O/B terminal and a software setting for which behavior to use. Others have separate O and B terminals, so you land the wire on whichever matches your old label. If you can't confirm, start with O and run the test below promptly. A reversed setting is easy to spot and easy to fix, because you'll get cool air in heating mode.

TerminalTypical colorWhat it does on a heat pump
R, Rc, RhRed24-volt power from the transformer
CBlue or blackCommon wire, constant power
Y, Y1YellowCompressor (heating and cooling)
GGreenIndoor fan
O/BOrangeReversing valve
W, W1, AuxWhiteAuxiliary heat (often electric strips)
E, W2VariesEmergency heat, if wired separately

On any heat pump thermostat, wire colors are not standardized, so treat that table as a convention and let your labels rule.

How do you wire the base and mount the new thermostat?

Disconnect the labeled wires, mount the new base level, and connect each wire to the matching terminal.

  1. Loosen each terminal screw and pull the wire, keeping its label. Tape the bundle to the wall so it doesn't slide into the cavity.
  2. Unscrew the old base. Trim any bent or corroded copper and strip about 1/4 inch of fresh wire if needed.
  3. Hold the new base against the wall, level it, mark the holes, and fasten it. Use anchors in drywall.
  4. Seat each wire in its terminal until it clicks or tightens, then tug gently to test it. Match letters: Y to Y1, G to G, O/B to O/B, W to W1 or Aux, R to Rc or Rh. If you have only one R wire, follow the maker's instructions for the jumper or terminal choice.
  5. If there's a separate emergency heat wire, connect it to E or W2 as your label shows.
  6. Snap on the display, then restore power at both breakers.

What if there's no C-wire on a heat pump?

Check for a spare conductor in the cable and connect it to C at both ends, the thermostat and the control board at the air handler; if there isn't one, use a common-wire adapter or run new cable. A power extender kit installs at the air handler and makes a C connection from existing wires. New cable is the cleanest fix, if the walls allow.

Avoid relying on the thermostat stealing power through other wires. On some heat pump systems that causes chattering relays or erratic behavior. Whichever route you take, do the control board work with the power off.

How should you set heat pump, auxiliary, and emergency heat?

Tell the thermostat it controls a heat pump, set auxiliary heat to run only when the compressor can't keep up, and treat emergency heat as a manual backup.

In the setup menu, choose heat pump as the equipment type, pick the stage count that matches your system, and confirm the O/B setting. Then turn to the aux settings, because this is where heat pump bills climb. Auxiliary heat is usually electric resistance heat, which delivers roughly one unit of heat per unit of electricity. A heat pump in mild weather commonly delivers two to three times that, so you don't want the strips running every time the house is a degree cold.

Look for these settings:

  • Auxiliary heat lockout by outdoor temperature: blocks the strips above a set outdoor temperature. The right number depends on your system's size and your climate, so ask your installer or check the equipment specs instead of copying a number from the internet.
  • Aux heat differential or delay: widens the gap between the setpoint and the room temperature before the strips come on.
  • Compressor lockout at very low outdoor temperatures: use it only if the manufacturer's specs call for it.

Emergency heat is different. It's a manual mode that runs the auxiliary heat and bypasses the compressor. Use it only if the outdoor unit has failed or is iced solid, and switch back to normal heat once it's fixed. Leaving it on all winter can run up your bill without you noticing.

While you're in the app, set a unique password and turn on automatic updates. CISA publishes basic guidance on securing connected devices.

How do you test heating, cooling, and defrost?

Run each mode for 10 to 15 minutes, watch the outdoor unit, and confirm the air from the vents matches the mode you chose.

  1. Wait for the thermostat to finish startup and connect to Wi-Fi. Many heat pumps have a built-in delay of up to about 5 minutes before the compressor starts, so a quiet outdoor unit at first isn't a problem.
  2. Heat test: set the target about 5 degrees above room temperature. The indoor fan should start, then the outdoor fan and compressor. Air from the vents should be noticeably warmer than the room, though milder than a furnace produces.
  3. Cool test: set the target about 5 degrees below room temperature. You should get cool air and a running outdoor fan.
  4. If heat mode blows cool air, or cool mode blows warm, flip the O/B setting between O and B and test again. The valve logic is running backwards.
  5. Emergency heat test: switch to emergency heat for a minute or two to confirm the strips make warm air, then switch back to heat. A brief dusty smell the first time the strips run is common.

Defrost can't be forced in mild weather, but know what it looks like. In cold, damp conditions the outdoor unit periodically pauses its fan and may release steam, and the indoor air can turn cooler for a few minutes while auxiliary heat covers. That's normal. An outdoor unit that stays encased in ice isn't, so call a pro.

When should you stop and call an HVAC professional?

Stop if your system is dual fuel, communicating, or line-voltage, or if anything about the wiring or equipment behaves in a way you can't explain.

  • Communicating systems: some high-end equipment uses a proprietary control bus with terminals that may be labeled A, B, and others. There, B is not the reversing valve, and a standard smart thermostat may not work.
  • Dual fuel: a heat pump paired with a gas furnace needs a thermostat that supports dual fuel and a correctly set switchover temperature.
  • Burned or melted wires, or a blown fuse on the control board: something is shorted and needs diagnosis.
  • No C-wire and no spare conductors: if an adapter isn't a good fit, a tech can add a transformer or run new cable. Transformer work can involve line voltage.
  • Symptoms after install: compressor short-cycling, a thermostat that keeps rebooting, or an outdoor unit that stays iced over.
  • Ductless mini-splits: these generally use their own remote or controller, not wall thermostat wiring.

A plain thermostat swap usually doesn't need a permit, but rules vary, and new wiring or a transformer may. Check with your local building department if you're unsure. A pro install often runs $100 to $300 in labor, depending on your region and how much troubleshooting the job needs.

Next step: pull the cover off your old thermostat, photograph the wiring, and run those terminal letters through the compatibility checker for the model you're considering.

Questions people ask

Why does my heat pump blow cool air right after I switch to heat?

The most common cause is a reversed O/B setting, so switch it and retest. It can also be a compressor startup delay of a few minutes, or a defrost cycle if it's cold and damp outside. If cool air persists after both are ruled out, call a technician.

What temperature should I set a heat pump thermostat to in winter?

ENERGY STAR's long-standing guidance is about 68 degrees when you're home and awake, with a modest setback when you're asleep or away. On a heat pump, keep that setback small so the system doesn't lean on auxiliary heat to recover.

Will a smart thermostat save money on a heat pump?

It can, but savings depend on your climate, your schedule, and especially your auxiliary heat settings. A smart thermostat that lets the strips run constantly can cost you more than the old one did. Correct setup matters more than the brand.

Can I put a smart thermostat on a ductless mini-split?

Usually not through standard wall thermostat wiring, because mini-splits generally come with their own remote or wall controller. Some manufacturers sell add-on Wi-Fi modules for their units. Check the unit's manual before buying anything.

Do I need to change anything when the seasons change?

Normally not. The heat pump switches between heating and cooling through the reversing valve, so you only change the mode or use auto changeover. Recheck your aux lockout setting if you notice higher winter bills.

Sources and further reading

  • ENERGY STAR General guidance on thermostat settings and heating efficiency
  • CISA Basic security guidance for connected home devices

Elsewhere in Smart Home