added websocktet support.

all sensors should now send data to the webserver at the ip and port defined in sender.py.
This commit is contained in:
Chiara 2025-06-17 22:57:01 +02:00
parent 42ca11f965
commit fc98a1283e
8 changed files with 8071 additions and 518 deletions

View file

@ -2,7 +2,7 @@ import socket
import json
import time
SERVER_HOST = "127.0.0.1"
SERVER_HOST = "172.20.10.5"
SERVER_PORT = 9999
def send_data(data):