C code for a thermostat and humidity sensor alert application.