Basic html file
commit
36b66ad9d7
@ -0,0 +1 @@
|
||||
{ "temperature": 24.60, "humidity": 52.68 }
|
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="BeagleBone Dashboard for sensor cape">
|
||||
<title>Sensor Dashboard</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>HTU21D data</h1>
|
||||
<div id="htu21d">
|
||||
<p>🌡️ Temperature: <span id="temp">--</span>C</p>
|
||||
<p>💧 Humidity: <span id="hum">--</span>%</p>
|
||||
</div>
|
||||
<button onclick="fetchSensorData()">🔄 Refresh</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue