There are a lot of blogs about this, have a look at my blog about the particle. http://scn.sap.com/community/developer-center/cloud-platform/blog/2015/11/03/particle-photon-or-core-on-hcp--iot
For temp and humidity there are a lot of options. For instance the cheap DHT11 which i'll connect in my next blog.
Have fun exploring!