Can't store temperature in variable ( for further processing)
This line:


int temp1 = ((float)DHT11.temperature, DEC);



casts DHT11.temperature to an float, throws away the value, then assigns DEC to temp1. That is not what you want.


int temp1 = DHT11.temperature;