Only send the data
This commit is contained in:
parent
01fbd097a6
commit
8129c81491
1 changed files with 1 additions and 2 deletions
|
@ -57,8 +57,7 @@ class testHTTPServer_RequestHandler(BaseHTTPRequestHandler):
|
|||
if dev == "9CD90BB52B6A1D01":
|
||||
key, value = text.split("=")
|
||||
ws = websocket.create_connection("wss://home-safety-visual.eu-gb.mybluemix.net/%s" % (key))
|
||||
|
||||
ws.send("%s:%s" % (dev, text))
|
||||
ws.send("%s" % (text))
|
||||
ws.close()
|
||||
|
||||
def devEUI(self, data):
|
||||
|
|
Loading…
Reference in a new issue