Samples of glasses containing Ru(bpy)(3)(2+) (bpy-2,2'-bipyridine) have been prepared by the sol-gel method. Electronic absorption and emission spectra of the entrapped ruthenium complex have been obtained in various temperatures ranging from 15 to 340 K. Incorporation of the complex in the glass results in the blue shift of the emission maximum. The obtained glass samples containing Ru(bpy)(3)(2+) have been utilized as temperature sensors via relating the phosphorescence intensity to temperature. The experimental setup of the thermosensor (optode) is discussed.