Using @MarsTechHAN 's method. New usage: status, temp, humi, tempdec, humidec = dht.read( id ) print( dht.read( id ) ) = dht.read( id )