Compare commits

..

4 Commits

Author SHA1 Message Date
hasslesstech ae69bd601e [P] Add second agent in docker-compose.yaml
Component testing / Hub testing (push) Successful in 27s
Component testing / Store testing (push) Successful in 27s
Component testing / Integration smoke testing (push) Successful in 3m11s
2026-03-25 23:14:40 +02:00
hasslesstech 2b8d042306 [P] Add GPS file selection to agent 2026-03-25 23:00:26 +02:00
hasslesstech 5ab16fec72 [P] Add TRACK_ID selection in MapView
Component testing / Hub testing (push) Successful in 25s
Component testing / Store testing (push) Successful in 31s
Component testing / Integration smoke testing (push) Successful in 2m26s
2026-03-25 22:58:23 +02:00
hasslesstech d633926a1a [P] Fix wrong row sending order
Component testing / Hub testing (push) Successful in 20s
Component testing / Store testing (push) Successful in 25s
Component testing / Integration smoke testing (push) Successful in 2m39s
2026-03-25 22:57:52 +02:00
3 changed files with 2 additions and 15 deletions
-13
View File
@@ -1,13 +0,0 @@
print('lat,lon')
try:
while True:
i = input()
if '<trkpt' not in i:
continue
si = i.split('"')[1::2]
print(f"{si[0]},{si[1]}")
except EOFError:
pass
+1 -1
View File
@@ -148,7 +148,7 @@ services:
MQTT_BROKER_HOST: "mqtt"
MQTT_BROKER_PORT: 1883
MQTT_TOPIC: "processed_data_topic"
BATCH_SIZE: 4
BATCH_SIZE: 20
ports:
- "9000:8000"
networks:
+1 -1
View File
@@ -45,7 +45,7 @@ async def websocket_endpoint(websocket: WebSocket, user_id: int):
try:
# send already available data
r = processed_agent_data.select().order_by(processed_agent_data.c.timestamp)
r = processed_agent_data.select()
stored_data = SessionLocal().execute(r).fetchall()
jsonable_data = [{c.name: getattr(i, c.name) for c in processed_agent_data.columns} for i in stored_data]