I inherited a 1980's model AC/Furnace and controlling the AC at least is extremely simple and cheap. A 12V relay in the compressor housing activating the 220V switch, connected to another relay controlled by a Pi zero which is controlled by yet another PI zero with a $10 DHT 22. A bash script check the temp and activates the compressor via SSh when the temp goes above 74F. The furnace control hasn't died yet so I haven't bothered replacing it.
Putting the cooling system on IoT total cost = ~ $100