From 6750edf8e2154f1e1153fc40b11fcf3a3b682cd4 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 26 Dec 2014 10:49:40 +0100 Subject: Initial commit --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..4900b88 --- /dev/null +++ b/README.md @@ -0,0 +1,36 @@ + + +A munin plugin to measure temperature and humidity using DHT11, DHT22, or +AM2302 using e.g. a Rapsberry Pi. It relies on Adafruit_Python_DHT to do the +dirty work. Therefore it doesn't need any external binary callouts. + +To build an run from the source tree just do a: + + sudo apt-get install python-setuptools git build-essential + git clone git://honk.sigxcpu.org/git/munin-dht.git + make + +In case you want to monitor room foo do a + + ln -s $PWD/dht_ /etc/munin/plugins/dht_foo + +and put the necessary config to /etc/munin/plugin-conf.d/dht: + + [dht_*] + user root + # GIO pin used + env.pin 4 + # Detailed description of foo + env.where Foo Room + # Sensor type (one of DHT11, DHT22, AM2302) + env.sensor AM2302 + +You can then check if it's working via + + munin-run dht_foo + +Restart the munin node afterwards to get the results reported to the server: + + service munin-node restart + + -- cgit v1.2.3