updated code with humidity value, after r.pi died with uncomitted code.