Commit Graph

51 Commits

Author SHA1 Message Date
ishak jmilou.ishak
a41ea1b70c styling website 2024-11-20 17:14:54 +01:00
ishak jmilou.ishak
c16ba3cf9d busy with website redesign 2024-11-20 15:38:56 +01:00
661fdb9d26 Added placeholder webite for main website 2024-11-12 14:30:45 +01:00
0e30854b51 fix html and added password to enter page 2024-11-12 14:13:43 +01:00
ishak jmilou.ishak
a67f5238b6 Enhance MQTT message handling and add data fetching in Flask app 2024-11-06 14:44:12 +01:00
ishak jmilou.ishak
d534940370 Refactor safety checks and improve message handling in CKobuki class 2024-11-06 14:06:15 +01:00
89b608b759 comments and cleanup 2024-11-06 14:01:39 +01:00
6dba1d0262 added sensordata to website 2024-11-06 13:59:40 +01:00
f95b78d236 comment 2024-11-06 13:08:48 +01:00
6326227be6 made working endpoint for kobuki data 2024-11-05 19:11:29 +01:00
5f4a7606ce attempt to fix endpoint 2024-11-05 17:07:40 +01:00
9cdf9aa44d intergrated everything and added simple endpoint for mqtt data 2024-11-05 17:06:07 +01:00
ishak jmilou.ishak
1b747edb8d FIXED CSS 2024-11-04 14:06:27 +01:00
ishak jmilou.ishak
d14108d656 Add 'Stop' button to direction control in index.html 2024-11-04 12:32:32 +01:00
ishak jmilou.ishak
38dfccbd28 Change fetch endpoint from /send-direction to /move 2024-11-04 12:17:17 +01:00
ishak jmilou.ishak
99676cc83a Refactor button event handling to send direction via fetch to /send-direction 2024-11-04 12:14:42 +01:00
ishak jmilou.ishak
ca9b81c03e Refactor move endpoint to accept JSON input and update form submission method 2024-11-04 11:54:21 +01:00
ishak jmilou.ishak
d673b4e0ad loading js correctly 2024-11-04 11:43:20 +01:00
ishak jmilou.ishak
41034ba85c fixed fetch 2024-11-04 11:34:42 +01:00
ishak jmilou.ishak
21ed9c5080 changed location 2024-11-04 10:55:39 +01:00
ishak jmilou.ishak
19bc1a4184 made get method 2024-11-04 10:26:15 +01:00
ishak jmilou.ishak
6f17c1ed6f named action /move 2024-11-04 09:23:07 +01:00
ishak jmilou.ishak
0f8d68f391 added a newline at the end of script.js 2024-10-31 16:19:06 +01:00
ishak jmilou.ishak
dd49de9d8c wrote some small comments 2024-10-28 16:57:53 +01:00
ishak jmilou.ishak
a9003d5299 Merge branch 'test_script_movement' of ssh://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79 into test_script_movement 2024-10-24 13:23:38 +02:00
ishak jmilou.ishak
80771dc740 started with fetch 2024-10-24 13:23:37 +02:00
0089be40d3 flask bugfix 2024-10-24 10:22:24 +00:00
ishak jmilou.ishak
c84c0d2cef Refactor button handling in index.html form action 2024-10-24 12:20:24 +02:00
ishak jmilou.ishak
5fe14a2f8f Refactor button handling in index.html and app.py 2024-10-24 12:14:52 +02:00
ishak jmilou.ishak
07451d0188 fixed error 2024-10-23 17:03:42 +02:00
ishak jmilou.ishak
30933b0ca7 Refactor button handling in index.html and app.py 2024-10-23 15:08:23 +02:00
ishak jmilou.ishak
89968e40a0 REMOVED TYPE OF BUTTON 2024-10-23 15:00:31 +02:00
ishak jmilou.ishak
bf276d5d81 removed type of button 2024-10-23 14:59:12 +02:00
ishak jmilou.ishak
9d6816f210 making page stay on the same page when pressing button 2024-10-23 14:56:39 +02:00
ishak jmilou.ishak
76315649f7 Refactor move function to publish direction from request form 2024-10-23 14:32:03 +02:00
e523018fec mqtt loop so it doesnt disconect 2024-10-23 12:24:58 +00:00
d768be0b18 added mqtt_client loop 2024-10-23 14:22:48 +02:00
ishak jmilou.ishak
0b40f63af0 made print to see if message is sent correctly 2024-10-22 14:53:14 +02:00
ishak jmilou.ishak
5739655e97 Update MQTT topic to publish button press event 2024-10-22 14:38:54 +02:00
ishak jmilou.ishak
714910d61e Update MQTT topic to publish button press event 2024-10-22 13:03:18 +02:00
ishak jmilou.ishak
995b3858ab Update MQTT version to 3.1.1 and change address to use SSL
- In main.cpp, update the MQTT version to 3.1.1 and change the address to use SSL instead of TCP.
- In app.py, create a new MQTT client using MQTTv311 protocol.
2024-10-22 12:27:29 +02:00
ishak jmilou.ishak
2efa191c07 added username and password 2024-10-21 12:55:37 +02:00
ishak jmilou.ishak
9aec5eaaa4 Refactor MQTT connection and message sending in Flask app 2024-10-21 09:55:06 +02:00
ishak jmilou.ishak
17333a6939 changed ip 2024-10-17 12:04:11 +02:00
ishak jmilou.ishak
ab38b4928b changed port 2024-10-16 17:11:11 +02:00
ishak jmilou.ishak
55c24eabf7 wrote message and connect function for the mqtt connection to pi 2024-10-16 16:26:51 +02:00
ishak jmilou.ishak
9de0bbf50e no idea what this is 2024-10-10 12:11:40 +02:00
ishak jmilou.ishak
30628cf16e test 2024-10-09 16:08:26 +02:00
ishak jmilou.ishak
ff93036a00 changed website 2024-10-09 14:10:34 +02:00
0dba5f3d93 Added endpoint for controlling kobuki 2024-10-01 16:35:45 +02:00