Commit Graph

66 Commits

Author SHA1 Message Date
ishak jmilou.ishak
2396d61eae fix: update on_message function signature to include userdata parameter 2025-01-09 13:24:57 +01:00
ishak jmilou.ishak
d066f68ad2 replaced /data endpoint 2025-01-09 12:56:25 +01:00
ishak jmilou.ishak
a2aa80804e fix: move mqtt_client.on_message assignment under function definition 2025-01-09 12:47:39 +01:00
ishak jmilou.ishak
1a4056ff77 return raw kobuki_message instead of jsonify in data endpoint 2025-01-09 12:02:36 +01:00
ishak jmilou.ishak
52eff9ec39 return JSON response for /data endpoint 2024-12-19 22:02:36 +01:00
ishak jmilou.ishak
a6b1c04ea3 returned global variables 2024-12-19 20:03:36 +01:00
ishak jmilou.ishak
9cd6d3aa79 removed variable 2024-12-19 20:01:09 +01:00
ishak jmilou.ishak
072b54af04 added kobuki_message 2024-12-17 15:49:32 +01:00
ishak jmilou.ishak
e0560d7162 changed mqtt port 2024-12-17 15:43:05 +01:00
ishak jmilou.ishak
4da91f22ca changed 2024-12-17 15:03:21 +01:00
ishak jmilou.ishak
c4d2888fbf changed order 2024-12-17 14:58:31 +01:00
ishak jmilou.ishak
4307d0a8d5 test if i still get error 2024-12-17 14:57:01 +01:00
ishak jmilou.ishak
12c4e63022 test 2024-12-17 14:48:39 +01:00
ishak jmilou.ishak
9ea6ed5e2d removed in /move 2024-12-17 14:43:13 +01:00
ishak jmilou.ishak
92992288b5 returned function i removed by accident 2024-12-17 14:41:13 +01:00
ishak jmilou.ishak
ef572c6539 made function for db connection 2024-12-17 14:38:16 +01:00
ishak jmilou.ishak
10a7a2b98c add direction to db when pressed button 2024-12-17 14:08:42 +01:00
ishak jmilou.ishak
651dcbc6a5 see if connection is actually made 2024-12-17 14:01:15 +01:00
ishak jmilou.ishak
3c3f8b93db changed data i want to execute 2024-12-17 13:58:18 +01:00
ishak jmilou.ishak
d6c3383ef0 check to see if website is updated 2024-12-17 13:44:35 +01:00
ishak jmilou.ishak
df6a49bbaa test to get db info 2024-12-17 13:42:14 +01:00
ishak jmilou.ishak
869f320446 fixed typo 2024-12-12 14:01:35 +01:00
ishak jmilou.ishak
820cb39781 changed mysql package 2024-12-12 14:00:26 +01:00
ishak jmilou.ishak
5c4a0f1e9d busy with sending command to database 2024-12-11 18:45:22 +01:00
ishak jmilou.ishak
e77aa4b2dc try to get data from database 2024-12-11 14:54:33 +01:00
ishak jmilou.ishak
b2432ab9cd removed execute to test if page works 2024-12-11 14:39:47 +01:00
ishak jmilou.ishak
93167e67f6 changed table name 2024-12-09 15:01:29 +01:00
ishak jmilou.ishak
3bb40d5929 Replace MariaDB connection with Flask-MySQLdb integration 2024-12-09 14:59:42 +01:00
ishak jmilou.ishak
9689d70104 Uncommented mariadb conn 2024-12-09 13:12:51 +01:00
ishak jmilou.ishak
01535607fc removed mariadb 2024-12-09 10:14:10 +01:00
ishak jmilou.ishak
cd374dab81 rename index route to database and update response message 2024-12-05 13:40:34 +01:00
ishak jmilou.ishak
f9cb54a1cf start db connection 2024-12-04 17:46:40 +01:00
ishak jmilou.ishak
a03894e52e changed MQTT connection port from 1884 to 80 2024-12-03 12:18:02 +01:00
dd2a1b56c4 changed port 2024-12-02 12:58:14 +00:00
ishak jmilou.ishak
2e5af52ba8 changed mqtt port to 8080 2024-12-02 12:45:26 +01:00
ishak jmilou.ishak
62cdf98098 testing phpmyadmin 2024-11-30 15:18:01 +01:00
eb804c888c updated credentials to secure mqtt 2024-11-20 16:29:22 +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
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
ca9b81c03e Refactor move endpoint to accept JSON input and update form submission method 2024-11-04 11:54:21 +01:00
ishak jmilou.ishak
19bc1a4184 made get method 2024-11-04 10:26:15 +01:00
ishak jmilou.ishak
dd49de9d8c wrote some small comments 2024-10-28 16:57:53 +01:00
0089be40d3 flask bugfix 2024-10-24 10:22:24 +00: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