TS7-Pro 7-inch Touch Screen
Experimental Procedures
Build the circuit.
Open the code.
cd /home/pi/cloud4rpi-raspberrypi-python
sudo nano smart_curtain.py
Find the line below and fill in the correct device token.
DEVICE_TOKEN = '__YOUR_DEVICE_TOKEN__'
Run the code.
sudo python3 smart_curtain.py
Go to Cloud4RPi, add a new control panel named project4 and add 3 widgets (Switch, Text and Chart widgets) via
the Add Widget button.
120 Chapter 5. PROJECTS AND ACTIVITIES