added last check to temperature and humidity data in dth software