CafePlugGuardian is a capstone design project at the Chung-Ang University's Department of Software Engineering.
Please note that we will not be accepting contributions for CafePlugGuardian, as it is a Capstone Design Project.
- The pin number allows only cafe customers to use the plug, preventing unauthorized use of the plug.
- Limit the amount of electricity to restrict customers who use excessive power or stay for long periods of time.
- By analyzing the current patterns of devices in use, devices not permitted in the cafe, such as smartphones and laptop chargers, are automatically blocked through machine learning.
- CafePlugGuardian-Client
- Cafe Manager App - flutter app
- CafePlugGuardian-WebClient
- Cafe Customer Web - flutter web
- CafePlugGuardian-Server
- Backend server - express.js
- CafePlugGuardian-Hardware
- SmartPlug embedded system - arduino(tasmota open source)
- CafePlugGuardian-ML
- AI model - pytorch, GRU model
- CafePlugGuardian-ML_Server_Flask
- AI server - flask
- MongoDB
- NoSQL DBMS
- In our project, we install and use mongoDB on an ec2 instance.
- Install and run mongoDB, or use a mongoDB server.
- MQTT Broker
- In our project, we install and use mosquitto as an MQTT broker on an ec2 instance.
- You can install another MQTT broker or use a separate broker server if you have one.
CafePlugGuardian-Client is a part of CafePlugGuardian project.
CafePlug Guardian-Client provides cafe managers with the following features.
- Add and manage plugs for cafe management.
- Monitor power consumption of plugs in the cafe:
- Monitor power consumption of plugs in use by customers.
- Monitor overall power consumption of all plugs in the cafe.
- Monitor detailed power consumption for each plug.
- Check logs when abnormal devices are connected to plugs.
- Connect smart plugs.
- Manage cafe shop.
Through these features, the cafe manager can protect the plugs in the cafe.
-
Language
- Dart
- Version: 3.1.0
-
Framework
- Flutter
- Version: 3.13.2
-
Development Tools
- Android Studio
- Visual Studio Code
- Git
-
Install Dart SDK
-
Install Flutter SDK
-
Install Android Studio or Visual Studio Code (optional)
-
Clone the Project
-
Install Dependencies
-
Connect Emulator or Device
-
Run the Application
If you want to change the API URL address to your backend server address, follow these instructions.
-
each dart file in lib/services has a baseUrl variable. Change that variable to 'your URL address/api'.
This program is licensed under MIT