-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (70 loc) · 2.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Energy Management Dashboard</title>
<link rel="stylesheet" href="styles.css">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
<body>
<header>
<div class="navbar">
<div class="navbar-brand">MySolarSystem</div>
<nav>
<a href="#">Overview</a>
<a href="#">Solar Panels</a>
<a href="#">Inverters</a>
<a href="#">Batteries</a>
</nav>
</div>
</header>
<div class="container">
<h1>Overview</h1>
<p>System status in a nutshell</p>
<div class="dashboard">
<div class="card">
<h2>Solar Radiance</h2>
<canvas id="solarRadianceChart"></canvas>
</div>
<div class="card">
<h2>Power Output</h2>
<canvas id="powerOutputChart"></canvas>
</div>
<div class="card">
<h2>Energy Storage</h2>
<canvas id="energyStorageChart"></canvas>
</div>
<div class="card">
<h2>System Health</h2>
<p id="system-health">Good</p>
</div>
</div>
<div class="panel-status">
<h2>Panel Status</h2>
<table>
<thead>
<tr>
<th>Enabled</th>
<th>Panel</th>
<th>Solar Radiance</th>
<th>Output Voltage</th>
<th>Output Current</th>
</tr>
</thead>
<tbody id="panelStatusTable">
<!-- Rows will be inserted dynamically -->
</tbody>
</table>
<button id="disableAll">Disable All</button>
<button id="enableAll">Enable All</button>
</div>
<div class="voice-control">
<h2>Voice Commands</h2>
<button id="startVoiceCommand">Start Voice Command</button>
<p id="voiceCommandResult">Command Result: </p>
</div>
</div>
<script src="script.js"></script>
</body>
</html>