I made a simple temp/rh controller for my wife's crab tank a long time ago. I found better results when I averaged the readings and gave it a plus/minus window. Eg. temp drops below the low setting - heater came on and drove it back to the required setting and shut off. The slight overshoot was well within the upper setting so no need to worry about a complicating the controller for handling the hysteresis etc.