modified send_main

control damper and read temp and humidity