/rpi_home_automation

Base para projetos de automação residencial com o Raspberry Pi

Primary LanguagePHP

Rpi Home Automation

Baseline for home automation projects with the Raspberry Pi
https://youtu.be/fRVAUob111A

Hadware

Raspberry Pi
Relay Module

Flow Communication

App Android --> Web Server (Apache) --> PHP --> Python --> GPIO Raspberry

App Android

Developed at MIT App Inventor 2 - http://appinventor.mit.edu/
Source: automacao.aia
APP: automacao.apk

GPIO

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)

Instructions

  1. Copy directory GPIO to /home/pi
  2. Copy file php/index.php to /var/www/html (DocumentRoot Apache)