We install thermostats in a single-family home with a conventional HVAC system and use each one for a week or more to determine how effective it is at maintaining a comfortable environment. The home’s existing thermostat was wired with G, R, W, and Y wires. There was also a C wire in the wall that was connected to the furnace, but that had not been previously used.
While there is no regulated standard for color-coding HVAC wires, industry practice has the G wire connecting the thermostat to the fan. This wire is typically green. The R wire, typically red, is for power. Some systems have separate power wires for heating and cooling and are labeled RH and RC respectively. The typically white W wire is for auxiliary heat; i.e., a second source of heat. The Y wire, which is typically yellow, connects the thermostat to your air conditioner. Finally, the C or “common” wire is used to carry power and is typically blue (think cerulean if you need a mnemonic).