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
pyserial
library to interact with serial port.pip install pyserial
-
Install
paho-mqtt
for handling MQTT communication.pip install paho-mqtt
-
Install
python-dotenv
for dealing with environment variables.pip install python-dotenv
-
Install
wget
for downloading files from Internetpip install wget
To use this command pyserial
must be installed.
python -m serial.tools.list_ports -v