Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 703 Bytes

README.md

File metadata and controls

31 lines (26 loc) · 703 Bytes

Installation

update package and

sudo apt-get update
sudo apt-get install build-essential python-dev

cd /opt/
sudo git clone https://github.com/sparkgene/iot_farm_monitoring.git
sudo chown -R pi:pi iot_farm_monitoring
cd /opt/iot_farm_monitoring

sudo npm install npm -g
sudo npm install aws-iot-device-sdk

install Adfruit DHT library

git clone https://github.com/adafruit/Adafruit_Python_DHT.git
cd Adafruit_Python_DHT
sudo python setup.py install
cd  /opt/iot_farm_monitoring

SORACOM Air script

cd /opt/
sudo git clone https://gist.github.com/j3tm0t0/65367f971c3d770557f3 sora
sudo mv /opt/sora/soracomair /etc/init.d/
sudo chmod 755 /etc/init.d/soracomair