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:
parent
42ca11f965
commit
fc98a1283e
8 changed files with 8071 additions and 518 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue