Commit Graph

153 Commits

Author SHA1 Message Date
sietse jonker
c6a6ba72f0 Add new website files and update navigation links 2024-03-29 11:40:07 +01:00
d21bae4b19 fixed scaling 2024-03-28 15:07:57 +01:00
899d2bb868 removed original gaugecontainer 2024-03-28 14:15:53 +01:00
1c13d20b49 added location and nodename 2024-03-28 13:32:22 +01:00
627af72f0f Added websocket script and modified it to work with the class 2024-03-28 00:59:43 +01:00
883460cdaa better scaling + styling 2024-03-28 00:59:30 +01:00
9ddcfe88f5 Added navbar 2024-03-28 00:59:18 +01:00
3ecb87a9e4 fixed it so you can set types as text under the gauges 2024-03-28 00:59:11 +01:00
f3cd6bd011 Added font 2024-03-27 22:38:02 +01:00
cbf6cf1484 background color 2024-03-27 20:52:09 +01:00
d54c020144 redid styling 2024-03-27 20:48:40 +01:00
e920298df8 class file change 2024-03-27 20:48:33 +01:00
f5ebaa676e GaugeGroup class creation 2024-03-27 20:48:24 +01:00
28f5153cee Made the box look good 2024-03-27 20:05:52 +01:00
a36b6746fd created row of gauges 2024-03-27 18:53:42 +01:00
502ae3c614 starting gauge 2024-03-27 14:19:47 +01:00
Sietse Jonker
12909d3650 Add Node and Graph classes for website functionality 2024-03-26 11:01:16 +01:00
Sietse Jonker
2221be88bf Refactor class constructors and update graph creation 2024-03-22 14:44:25 +01:00
Sietse Jonker
ca5d92bd86 Refactor graph class constructor and methods 2024-03-22 12:38:39 +01:00
Sietse Jonker
07cc13d573 Refactor classes.js to update connection status and add feedbackNode and graph classes 2024-03-22 12:31:53 +01:00
Sietse Jonker
1982db8c50 Add node class and update liveGraph class 2024-03-22 11:30:04 +01:00
sietse jonker
065cb42ef7 Remove unused code and update graph in updateNodeData function 2024-03-14 17:27:15 +01:00
sietse jonker
b3d80c1194 fixes dynamic node function 2024-03-14 15:21:51 +01:00
sietse jonker
4fd8c3d958 Fix node event handling and live graph creation 2024-03-14 15:05:38 +01:00
sietse jonker
b13824afe5 adds fucntion to dynamically scale according to amount of nodes 2024-03-14 15:01:15 +01:00
Sietse Jonker
856775c2a8 Update WiFi password and handle node addresses 2024-03-08 16:46:02 +01:00
Sietse Jonker
3886292110 Refactor code and update websocket connection 2024-03-08 12:58:33 +01:00
Sietse Jonker
08c9bedb44 adds mac adress code to arduino folder 2024-03-08 11:38:31 +01:00
Dano van den Bosch
67aaaca588 Merge branch '43-als-gebruiker-wil-ik-een-grafiek-hebben-met-live-data-zodat-de-dat-van-de-laatste-paar-minuten' into 'main'
Resolve "Als gebruiker wil ik een grafiek hebben met live data, zodat de dat van de laatste paar minuten live kan terugzien en veranderingen beter zie"

Closes #43

See merge request propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-3/qaajeeqiinii59!5
2024-03-07 14:26:19 +01:00
sietse jonker
598dd54521 Add new lines for temperature, humidity, eCO2, and TVOC in liveGraph class 2024-03-07 13:18:12 +01:00
sietse jonker
1472c17125 Fix variable name and update amount of nodes 2024-03-07 13:09:28 +01:00
sietse jonker
0b8ae0ef34 Refactor main.js: Add descriptions, declare variables, and update loop condition 2024-03-07 13:03:28 +01:00
sietse jonker
bc8cc500cb Refactor code to dynamically create node data and live graphs 2024-03-07 13:00:22 +01:00
sietse jonker
2e394f3d45 Update liveGraphs to include temperature, humidity, eCO2, and TVOC data 2024-03-07 12:57:54 +01:00
sietse jonker
6070ba7480 edits css 2024-03-07 11:22:25 +01:00
sietse jonker
656cd83aee Refactor CSS styles and remove unnecessary code 2024-03-06 21:27:19 +01:00
sietse jonker
bd66f21082 Update interval delay and refactor liveGraph creation 2024-03-06 21:16:30 +01:00
Sietse Jonker
36277a7e5d Update file index.html 2024-03-06 20:56:19 +01:00
sietse jonker
2c0b7df0a1 Refactor HTML structure in index.html 2024-03-06 20:55:43 +01:00
Sietse Jonker
c14c18deb0 Remove commented out code and update graph in main.js 2024-03-06 17:38:09 +01:00
Sietse Jonker
63be84e287 Update graph colors and scale for temperature, eCO2, and TVOC 2024-03-06 15:59:54 +01:00
Sietse Jonker
199283d3e0 Add live graph plots for humidity, eCO2, and TVOC 2024-03-06 15:51:01 +01:00
Sietse Jonker
8ed556d856 Refactor liveGraph class and updateNodeData function 2024-03-06 15:38:46 +01:00
Sietse Jonker
951fc64e6d adds graph class 2024-03-06 15:03:47 +01:00
Dano van den Bosch
026bd92d65 I did it 😊 2024-03-05 16:03:15 +01:00
Dano van den Bosch
de1ae975a4 added code for muliple nodes 2024-03-05 14:46:43 +01:00
Dano van den Bosch
d127a6001d Add WebSocket connection error handling and JSON in to array 2024-03-05 13:38:09 +01:00
Dano van den Bosch
d1714fabec Added code for handeling websocket data, And made the html code fariable in a js function 2024-02-29 16:59:04 +01:00
Dano van den Bosch
71981d193a Update navigation links and styling*** 2024-02-16 13:15:38 +01:00
Dano van den Bosch
9255b8ab97 Refactor HTML and JavaScript code, update graph data 2024-02-16 12:28:41 +01:00