Software-Defined Climate Control