code for the cool it sensor devices