In this work the thermophilic trehalose/maltose-binding protein from Thermococcus litoralis is presented as a probe for the design of a high stable fluorescence biosensor for glucose. In particular, we show the possibility of modulating the protein specificity by changing temperature. In addition to glucose sensing, we also report on the possibility of utilizing odorant-binding proteins as a probe for the development of optical sensors for analytes of environmental interests.