Add debug mode, fix net interface for temp and humidty, and adjust timings a bit.