Open unupingu opened 4 years ago
Have you installed all the necessary tools on the raspberry pi?
/* Modify hostname of raspberry into 'thermostat' */
sudo /etc/init.d/hostname.sh
sudo reboot
/* Install avahi */
sudo apt-get install avahi-daemon
/* Install mosquitto */
sudo apt-get install mosquitto mosquitto-clients
/* Install paho */
pip install paho-mqtt
/* Install mongodb */
sudo apt-get install mongodb
/* Install mongodb libraries */
pip install pymongo==2.7
/* Install dht dependencies and libraries */
sudo apt-get update
sudo apt-get install build-essential python-dev python-openssl git
sudo pip install Adafruit_DHT
yes i did
this happens when i run "sudo python logic.py command"
Be sure to have 'mongod' process configured and running. To startup the application you just have to launch 'python init_script.py'.
now when i run init_script.py i get no module named AWSIoTPythonSDK.MQTTLib
Remove this line 'subprocess.Popen(["python", "/home/pi/Documents/Raspberry-Thermostat/Raspberry/remote_service.py"])' from 'init_script.py'
hy i want to build the thermostat ,can you help me with this error or i am doing soemthing wrong! thanks