refactor gmonit

I have refactored this.
I am not sure why you are writing humidity in all cases of other probe data points. 
If you really need this make self.humidity in the __init__ and assign it to self.humidity. You don't need a global, it's class specific.