Skip to content

Controlling electricity using Raspberry Pi connected with other client devices (iOS/Web)

Notifications You must be signed in to change notification settings

ZiyadAlSamhan/Home-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Home-automation

This project is meant to show you how to control a relay switch connected with a Raspberry Pi using your iOS device or your web browser allowing you to control any electrical device by switching it ON and OFF.

I have used in this project a relay switch on Raspberry Pi pin connected with Firebase controlled by, an iOS App, and Web client.

  • Firebase

    • Initializing google Firebase.
      After creating the Firebase project on your console you should create an object called "Switch" contains a "state" value between "ON/OFF"
  • Raspberry Pi - relay switch

    • Connecting the relay switch with the Raspberry Pi. The circuit should be like this: Image of RPi circuit

    • Initializing python program on the (Raspberry Pi) connected with Firebase API to get data.

      Code

  • iOS APP

    • Initializing Xcode project then connecting the App with Firebase.

      Code

  • Web Client

    • Initializing the the web client project then connecting it with Firebase.

      Code

      Image of Web page

About

Controlling electricity using Raspberry Pi connected with other client devices (iOS/Web)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages