Remove obsolete code
This commit is contained in:
parent
9516ca3617
commit
be55ff2d99
1 changed files with 1 additions and 4 deletions
|
@ -10,10 +10,7 @@ import websocket
|
||||||
|
|
||||||
channels = [ "loriot", "swisscom", "ttn" ]
|
channels = [ "loriot", "swisscom", "ttn" ]
|
||||||
|
|
||||||
def to_nodered(self, provider, data):
|
def to_nodered(provider, data):
|
||||||
dev = self.devEUI(data)
|
|
||||||
text = self.payload(data)
|
|
||||||
|
|
||||||
ws = websocket.create_connection("ws://localhost:1880/{}".format(provider))
|
ws = websocket.create_connection("ws://localhost:1880/{}".format(provider))
|
||||||
ws.send("%s" % data)
|
ws.send("%s" % data)
|
||||||
ws.close()
|
ws.close()
|
||||||
|
|
Loading…
Reference in a new issue