Create a venv and then install the required python packages.
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtCopy .env.sample into .env.
- Make sure that
DEVICE_IDhas the same value as theDEVICEIDof the corresponding ESP8266 (or thedevice_idfield of the/scanrequest payload). API_IPis the IP address of the server you want to connect to (VM or Localhost IP).
cp .env.sample .envThen, run:
python3 display_pic.py