separated reading from sensor and getting temperature/humidity