Send the value, not the text!
This commit is contained in:
parent
8129c81491
commit
7d4fe87e05
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +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" % (text))
|
||||
ws.send("%s" % (value))
|
||||
ws.close()
|
||||
|
||||
def devEUI(self, data):
|
||||
|
|
Loading…
Reference in a new issue