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"
- Initializing google Firebase.
-
Raspberry Pi - relay switch
-
iOS APP
-
Initializing Xcode project then connecting the App with Firebase.
-
-
Web Client
-
Initializing the the web client project then connecting it with Firebase.
-