My parents live in an old apartment building from the 60s or so. Their unit has 2 gas heaters installed and two thermostats each in separate rooms. I was looking into replacing their manual thermostats with programmable ones so I took a peek underneath the thermostat and found that it was controlled with 2 green wires.

See pictures: enter image description here enter image description here enter image description here

Most info I found online says the green wires are for controlling fans but that obviously isn't the case here since there are no fans.

Can I simply replace this with a modern programmable thermostat (such as what I have in my house: https://www.homedepot.com/p/Honeywell-Home-5-2-Day-Programmable-Thermostat-with-Digital-Backlit-Display-RTH2300B/203539496) and wire one green wire to the R terminal and the other to the W terminal? My house, which has just a gas heater with no AC, is wired like this. I can't find any info about wiring thermostats with just two green wires.

I've read about line voltage thermostats in older buildings and although I didn't have my multimeter with me when I looked at their thermostat, it didn't seem likely that these thin wires were carrying AC current.

UPDATE: added picture of heater. The brand appears to be Lennox.


  • Which type of gas heater is on the other side of those wires? And which type of thermostat was on top of them?
    – MiG
    Mar 2, 2022 at 21:07
  • I didn't get a good look at it. I will ask my father to open up the heater closet and take some pictures later today. The thermostat pic is in the post.
    – Dan
    Mar 2, 2022 at 21:10
  • Added pic of heater.
    – Dan
    Mar 2, 2022 at 21:27

1 Answer 1


In almost all two-wire thermostat systems, the polarity of the wires does not matter — the thermostat just closes a switch across those wires to activate the furnace, and it doesn't care what the voltage is. The fact that the wires are both green just means that's the cable the installer had around and it wasn't trying to be color coded. (I have a similar system, and mine are both black.)

What you do want to know is what voltage your system uses. I'm guessing from the look of things that it may be a “millivolt” system, which generates a small DC voltage from a thermopile heated by the pilot light. (The component with wires attached to it is the gas valve; two wires go to the thermopile and two go off to the thermostat.)

If that's the case, then you must choose a programmable thermostat that can be fully battery-powered (there isn't enough power for the thermostat as well as the gas valve), or have a separate power supply connection, and listed as compatible with millivolt systems. I expect that the Honeywell unit you mentioned is, but check the installation instructions.

The other common power option is 24 volts AC on the thermostat wires, derived from a transformer hooked up to line voltage — this can be used to power a smart thermostat permanently. Direct line-voltage thermostats also exist but are usually used for electric heating.

You can use a multimeter to confirm what type you have:

  1. Make sure the thermostat is off (or removed from the wall).
  2. Set the meter to the DC voltage mode and put the probes on the two wires from the wall.
    • If it gives a stable reading of under a volt but not zero, then you have a "millivolt" system.
    • If it reads close to zero, continue.
  3. Set the meter to the AC voltage mode and take another reading.
    • If it reads 24 V then you have a 24 V AC system — you can use any smart thermostat!
    • If it reads 120 or 240 V (this is very unlikely for this type of equipment), then you need a line voltage thermostat, or an add-on line voltage relay for your 24V thermostat.
  4. If none of the previous cases apply, then you measured it wrong, there's a wiring fault, or the system's really weird.

Once you have a suitable thermostat (assuming it's not a line-voltage system), you would connect your two wires (in either orientation) to the “R” (or "Rh") and “W” terminals of your thermostat — those are the two terminals which the thermostat closes a circuit between to “call for heat”.

(Nothing else matters — your thermostat may have a “fan on” switch but it will do nothing since it's not wired to anything, just like a cooling mode will also not do anything since you're not wiring it to air conditioning. Read the thermostat's installation instructions to find out how to program it not to expect any missing features — and also other things you may like to adjust such as how frequently it cycles on and off to maintain temperature.)

  • Great reply! Very detailed, thank you. Sounds like the Honeywell I linked to would work since it is battery powered and works with 24VAC and millivolt systems. I'll have him measure to make sure. Would the wires be connected to the R and W terminals then?
    – Dan
    Mar 2, 2022 at 23:30
  • @Dan Yes, that's right, and I've edited the answer to talk more about wiring and programming the thermostat.
    – Kevin Reid
    Mar 3, 2022 at 0:50
  • Wonderful, thanks so much.
    – Dan
    Mar 3, 2022 at 20:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.