Skip to content

Commit ea58150

Browse files
authored
Merge pull request #130 from Riyad-Murad/readme_update
Readme update
2 parents c9c4a51 + b4c2b4c commit ea58150

File tree

4 files changed

+67
-33
lines changed

4 files changed

+67
-33
lines changed

README.md

Lines changed: 51 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,53 @@
1414
<!-- System Design -->
1515
<img src="./readme/title3.svg"/>
1616

17-
### Add Title Here
17+
### ER Diagram
18+
19+
<center>
20+
<img src="./readme/demo/Amp_Intelligence.png"/>
21+
</center>
22+
23+
<br />
24+
25+
## System Design - Database Schema Overview
26+
The Amp Intelligence platform utilizes a relational database schema designed to support a scalable, secure, and modular architecture for intelligent energy monitoring and user management. The schema is optimized for clarity in data ownership, role-based access, and historical data collection, ensuring robust data integrity and efficient query performance.
27+
28+
### Core Entities & Relationships
29+
### 1) Users
30+
31+
- Centralized user management is facilitated through the Users table, which supports multiple user roles: Clients, Providers, and Admins. This enables clear segregation of access rights and responsibilities.
32+
33+
- The schema supports optional direct mapping between Users and Slaves, ensuring traceability of device ownership per client.
34+
35+
- The design ensures flexibility to support role-based data visualization and management in both the platform’s dashboard and APIs.
36+
37+
### 2) Masters & Slaves
38+
39+
- The Masters table represents the core energy monitoring controllers, typically installed and managed by provider entities (linked via user_id).
40+
41+
- Each Master can manage multiple Slaves, which represent individual monitored assets or devices. The Slaves are associated back to the Masters and can also link directly to Users (clients) via the slave_id field in the Users table, ensuring traceability of monitored assets.
1842

19-
- To be decided on later on.
43+
### 3) Metrics & Lines
44+
45+
- The Metrics table serves as the historical data ledger, storing essential telemetry such as voltage, current, power, and energy per Slave and Master device, organized on a monthly basis for performance optimization.
46+
47+
- The Lines table provides additional granularity by storing per-phase measurements (L1, L2, L3) and is directly linked to the Masters. This supports detailed line-level diagnostics, crucial for industrial-grade energy analytics.
48+
49+
### 4) Contact Forms
50+
51+
- User-generated communication is handled by the Contact_Forms table, ensuring that feedback, support requests, and queries are traceable to specific users.
52+
53+
- This supports seamless user support workflows and ensures accountability.
54+
55+
### 5) Design Principles
56+
- Scalability & Modularity: The schema supports multi-tenant architecture, where Providers can manage multiple Masters and Clients can own specific Slaves. This allows the platform to scale horizontally by simply extending these relationships.
57+
58+
- Data Integrity & Traceability: All critical records are timestamped (created_at, updated_at), supporting full audit trails. Foreign key relationships ensure data consistency across all levels.
59+
60+
- Performance Considerations: Metrics are decoupled into Metrics and Lines, optimizing for both high-frequency telemetry capture and in-depth line-level analysis without query performance degradation.
61+
62+
### Summary
63+
This ERD lays the foundation for Amp Intelligence’s core platform services by enabling structured, efficient, and secure energy data management while providing flexibility for future expansion, including integrations with third-party platforms, advanced reporting engines, and AI-driven anomaly detection systems.
2064

2165
<br><br>
2266

@@ -25,9 +69,11 @@
2569

2670
### The Most Remarkable Features
2771

28-
- Send Data from ESP32 microcontroller and store them into the database.
29-
- Send AI prediction to providers that predicts the power usage of clients based on thier previous power usage months.
30-
- Send AI plan for clients that helps them optimize their power consumption.
72+
- <b>Seamless IoT Data Ingestion:</b> The system integrates with ESP32 microcontrollers to capture real-time energy consumption data from client devices. This data is securely transmitted and stored in the platform's centralized database, ensuring accurate and continuous monitoring of power usage.
73+
74+
- <b>AI-Powered Consumption Forecasting for Providers:</b> Leveraging advanced AI models, the platform provides energy providers with predictive analytics based on historical consumption patterns. These insights enable providers to anticipate client power demand, enhance load management, and optimize resource allocation.
75+
76+
- <b>Personalized AI Optimization Plans for Clients:</b> The system offers clients intelligent, data-driven power usage plans. By analyzing past consumption behaviors, the AI recommends actionable strategies to optimize energy usage, reduce costs, and promote sustainable consumption habits.
3177

3278
<br><br>
3379

amp-client/src/Components/LandingPageComponents/PriceCard/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* PriceCard.css */
22
.price-card {
33
width: 300px;
4-
height: 400px;
4+
height: 350px;
55
border-radius: 8px;
66
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
77
text-align: center;

amp-client/src/Components/LandingPageComponents/PricesSection/PricesSection.jsx

Lines changed: 15 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,34 @@ import PriceCard from "../PriceCard/PriceCard";
44
function PricesSection({ id }) {
55
const pricingData = [
66
{
7-
title: "Recruit Basic",
7+
title: "Basic Plan",
88
features: [
9-
"Access to core HR features",
10-
"Employee record management",
9+
"Manage and Control up to 1500 apartments",
1110
"Basic reporting tools",
12-
"Manage up to 10 team members",
1311
],
14-
price: 17,
12+
price: 15000,
1513
badgeText: "Active",
1614
isActive: true,
1715
},
1816
{
19-
title: "Talent Pro",
17+
title: "Advanced Plan",
2018
features: [
21-
"Access to core HR features",
22-
"Employee record management",
23-
"Basic reporting tools",
24-
"Manage up to 10 team members",
25-
"Track employee attendance",
26-
"Assign and monitor tasks",
19+
"Manage and Control up to 2500 apartments",
20+
"Advanced reporting tools",
2721
],
28-
price: 19,
29-
badgeText: "Save 27%",
22+
price: 22000,
23+
badgeText: "Save 12%",
24+
isPopular: true,
3025
},
3126
{
32-
title: "HR Master",
27+
title: "Premium Plan",
3328
features: [
34-
"Access to core HR features",
35-
"Employee record management",
36-
"Basic reporting tools",
37-
"Manage up to 10 team members",
38-
"Track employee attendance",
39-
"Assign and monitor tasks",
40-
"Email support",
41-
"Simple onboarding process",
42-
"User-focused design",
29+
"Manage and Control unlimited number of apartments",
30+
"Advanced reporting tools",
31+
"Access to anti-theft dashboards",
4332
],
44-
price: 34,
45-
badgeText: "Popular",
46-
isPopular: true,
33+
price: 33000,
34+
badgeText: "Best",
4735
},
4836
];
4937

readme/demo/Amp_Intelligence.png

99.7 KB
Loading

0 commit comments

Comments
 (0)