A wifi-enabled temperature sensor/thermostat controller