See the tutorial to learn how to connect a sensor to the gateway, use Node-Red to automatically read temperature, and easily edit a sample Node-Red application to also read humidity.