Merge pull request #133 from GPrathap/IoTS-1.0.0-M1

added Adafruit Python DHT Sensor Library installation
Ruwan 9 years ago
commit baaf116b34

@ -12,8 +12,7 @@ specific language governing permissions and limitations under the License.
testAgent.sh
--------------
This script is used to run this service in a testing environment. It can be run on a real Raspberry Pi device or in a
virtual environment.If this runs on a real Raspberry Pi device, you need to install [Adafruit Python DHT Sensor Library](https://github.com/adafruit/Adafruit_Python_DHT).
To install Adafruit Python DHT Sensor Library: follow the instructions given here https://github.com/adafruit/Adafruit_Python_DHT.
virtual environment.
To run: ` sudo ./testAgent.sh ` and follow the instructions.

@ -98,6 +98,9 @@ cp deviceConfig.properties ./src
if [ "$mode" = "N" ]; then
sudo apt-get install rpi.gpio
git clone https://github.com/adafruit/Adafruit_Python_DHT.git
sudo apt-get install build-essential python-dev python-openssl
sudo python ./Adafruit_Python_DHT/setup.py install
fi
chmod +x ./src/RaspberryAgent.py

Loading…
Cancel
Save