Refactor helper function to new header
First working function. Can retrieve temp & humidity