implementation got data of light sensor and temperature sensor