luking-dev / webiopi

Automatically exported from code.google.com/p/webiopi
0 stars 0 forks source link

Integration of DHT11 Humidity sensors #82

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have programmed a sensor class for the DHT11 humidity sensor and probably 
other versions of the DHTXX family:

The sensor is utilizing a new C extension for python, to communicate with the 
hardware which I have included into the native section of the code.

It was tested on a raspberry pi model 2 and works fine

I also updated the sensor module and webpage to handle humidity data. Please 
feel free to try it and integrate it into your software

Kind regards

Christian

Original issue reported on code.google.com by chof...@gmail.com on 7 Feb 2014 at 12:53

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks you very much, but there is few issues :

WiringPi code is under LGPL license, incompatible with Apache WebIOPi licence
http://www.apache.org/legal/resolved.html#category-x

So you should use gpio.c:pulseTS or inspire from it instead.
But all GPIO native code is planned to be removed later.

A humidity sensor (HYT221) will be added shortly, and will provide a different 
mapping from your proposal

Original comment by tro...@trouch.com on 7 Feb 2014 at 6:39

GoogleCodeExporter commented 9 years ago
I would very much like support for the DHT11

Original comment by dwr4e...@gmail.com on 15 May 2014 at 12:29

GoogleCodeExporter commented 9 years ago
Me too I want DHT11 too
THANKS!

Original comment by jlpetra...@gmail.com on 18 Jul 2014 at 12:53

GoogleCodeExporter commented 9 years ago
I'd also like support for DHT11 and DHT22.
Thank you.

Original comment by asch...@gmail.com on 18 Oct 2014 at 3:19

GoogleCodeExporter commented 9 years ago
Will be glad to see DHT11 and DHT22 support.

Original comment by NewF...@gmail.com on 28 Oct 2014 at 2:14

GoogleCodeExporter commented 9 years ago
How ti install?
Thanks

Original comment by ropese36...@gmail.com on 20 Feb 2015 at 5:22