Commit Graph

37 Commits

Author SHA1 Message Date
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
Sietse Jonker
44b1317e33 save website from rpi 2024-02-16 11:56:11 +01:00
Sietse Jonker
e8ab30fbb1 adds website for rpi 2024-02-14 16:58:00 +01:00
HBO-ICT Bot
5f4395e3dc Project-bestanden van TI blok 3 gekopieerd 2024-02-06 16:21:12 +01:00