Posts

Showing posts from July, 2016

Temperature and humidity

Image
Recently the down pipes in my block of flats got blocked. The roof is flat, and a foot of water collected on it before it started to come in. Not just a bit: the flat upstairs flooded, with 2 inches of water on the floor. Our flat was the least worst affected. Anyway, I now want to monitory the humidity in each room in the house. A colleague of mine had written this , basically to settle an office dispute about air conditioning :). It's been through various iterations but it's using an ESP8266. Since someone else has done the hard work, I figure I'll use it. I've simplified it for home use , which is to say I just send data to Graphite over UDP, rather than MQTT. Even this modest change caused some pain: you have to copy the host name into memory before you can pass it to the UDP library? Anyway, I figured that out by reading the MQTT library. I also used a different sensor - an AM2321 which seems to be regarded as generally superior to the DHT22. I didn't ha