Code by Scott שאול בן ישוע
Unverified Commit 53b935c6 authored by Scott Grayban's avatar Scott Grayban Committed by GitHub
Browse files

added instructions for DHT sensor

parent 5a6c0abc
......@@ -18,6 +18,12 @@ Make sure you are in /root directory first then....
```git clone https://github.com/sgrayban/raspberrypi.monitor.git```
## Editing for the [Raspberry Pi DHT11/22 Sensor](https://raw.githubusercontent.com/sgrayban/Hubitat-Ports/master/Drivers/rpi/Raspberry-Pi-DHT-Sensor.groovy)
1. Edit line 19 in src/main/java/com/cl0udninja/raspberrypi/monitor/service/TemperatureService.java
- Line reads ```Process pr = rt.exec("/root/bin/AdafruitDHT.py 11 17");```
- First number is the DHT type - it's either DHT11 or DHT22 - Example is 11
- Second number is the [GPIO](https://pinout.xyz/#) BCM pin - Example is 17
# Build as root
Simply
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment