Added webserver font
Added bigger example data Html changes in formating and in function Json now gets Read in a function Matplotlib now uses the 'Agg' backend Modified gitignore
This commit is contained in:
parent
4c654ec969
commit
70c4de1a30
10 changed files with 2218 additions and 140 deletions
38
webserver/data_smol.json
Normal file
38
webserver/data_smol.json
Normal file
|
@ -0,0 +1,38 @@
|
|||
|
||||
{
|
||||
"location": "Building A - Lab 3",
|
||||
"sensors": [
|
||||
{
|
||||
"id": "sensor_001",
|
||||
"type": "temperature",
|
||||
"unit": "°C",
|
||||
"readings": [
|
||||
{ "ts": 1747814400, "value": 22.5 },
|
||||
{ "ts": 1747818000, "value": 23.0 },
|
||||
{ "ts": 1747821600, "value": 23.7 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "sensor_002",
|
||||
"type": "humidity",
|
||||
"unit": "%",
|
||||
"readings": [
|
||||
{ "ts": 1747814400, "value": 45.2 },
|
||||
{ "ts": 1747818000, "value": 47.1 },
|
||||
{ "ts": 1747821600, "value": 46.8 },
|
||||
{ "ts": 1747821700, "value": 35.8 },
|
||||
{ "ts": 1747821800, "value": 48.2 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "sensor_003",
|
||||
"type": "pressure",
|
||||
"unit": "hPa",
|
||||
"readings": [
|
||||
{ "ts": 1747814400, "value": 1012.4 },
|
||||
{ "ts": 1747818000, "value": 1012.8 },
|
||||
{ "ts": 1747821600, "value": 1013.0 }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue