Baseline for home automation projects with the Raspberry Pi
https://youtu.be/fRVAUob111A
Raspberry Pi
Relay Module
App Android --> Web Server (Apache) --> PHP --> Python --> GPIO Raspberry
Developed at MIT App Inventor 2 - http://appinventor.mit.edu/
Source: automacao.aia
APP: automacao.apk
Connection Devices
DEVICE 1 --> Pin7 (GPIO4)
DEVICE 2 --> Pin 11 (GPIO17)
DEVICE 3 --> Pin 12 (GPIO18)
DEVICE 4 --> Pin 13 (GPIO21)
DEVICE 5 --> Pin 15 (GPIO22)
- Copy directory GPIO to /home/pi
- Copy file php/index.php to /var/www/html (DocumentRoot Apache)