This is a mobile app that is use to control the smart home monitoring and control system, to deter intruders when they entered your home, you can use the camera to view the state of your home and also to send them packing by clicking a button, called spray
These instructions will help you get the project up and running on your local machine.
Before running the project, make sure you have the following prerequisites installed:
- Flutter SDK: Installation guide
-
Clone the repository using Git or download the ZIP file.
-
Open a terminal or command prompt and navigate to the project directory.
-
Run the following command to install the project dependencies:flutter pub get
-
Ensure that you have an emulator/device set up or connected to your machine.
-
In the terminal or command prompt, run the following command to launch the app: flutter run(all in the project directory)
This command will build the app and launch it on your emulator/device.
-
Run flutter build apk
-
Ensure that you have a device connected to your machine.
-
Run flutter install to install the app
This application uses localhost to communicate with the hardware, so you have to follow this to ensure it runs
- create a hotspot/wifi with the name arinzeIOT and with passwords projects
- then the project can be clicked and it will run
- if it did not work, you have to check in the code file named iot_service.dart and change the url to your ipaddress e.g http://ipaddress/turnservo and so on then it turns
-
Go to this url smartcommando app
-
download and install
-
Sign up or sign in into the app if you have created an account
-
ENNJOY!!!