Example that changes the color of the LED based on the temperature sensor. Also supports connection to COSM