This document contains the setup instruction to run this contoller in Raspberry Pi.
MODULES
- File Processor
# Create a new virtual environment named env
virtualenv env
# Windows
env\Scipts\activate
# In Linux
source env/bin/activate-
Install
pyseriallibrary to interact with serial port.pip install pyserial
-
Install
paho-mqttfor handling MQTT communication.pip install paho-mqtt
-
Install
python-dotenvfor dealing with environment variables.pip install python-dotenv
-
Install
wgetfor downloading files from Internetpip install wget
To use this command pyserial must be installed.
python -m serial.tools.list_ports -v