Skip to content

Commit ec13a33

Browse files
author
Nick Veys
committed
Add README
1 parent 404a0cc commit ec13a33

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# homebridge-dht-rpi
2+
3+
DHT11/22 plugin for [Homebridge][homebridge] running on a Raspberry Pi GPIO pin. Provides temperature and relative humidity.
4+
5+
## Installation
6+
7+
1. Install this plugin using: npm install -g homebridge-dht-rpi
8+
1. Edit ``config.json`` and add the sensor(s).
9+
1. Run Homebridge
10+
11+
### Config.json Example
12+
13+
...
14+
15+
#### Optional Parameters
16+
17+
* `type` type of device, either `"DHT11"` or `"DHT22"`
18+
* `pin` GPIO pin number, default `4`
19+
20+
[homebridge]: https://github.com/nfarina/homebridge

0 commit comments

Comments
 (0)