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
ishak jmilou.ishak
30933b0ca7
Refactor button handling in index.html and app.py
2024-10-23 15:08:23 +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
0dba5f3d93
Added endpoint for controlling kobuki
2024-10-01 16:35:45 +02:00
f1225711ce
Change flask directory
2024-10-01 12:15:00 +02:00