add temperature sensor and infraredray sensor