Remove obsolete code

This commit is contained in:
Nico Schottelius 2016-11-02 17:19:17 +01:00
parent 9516ca3617
commit be55ff2d99

View file

@ -10,10 +10,7 @@ import websocket
channels = [ "loriot", "swisscom", "ttn" ]
def to_nodered(self, provider, data):
dev = self.devEUI(data)
text = self.payload(data)
def to_nodered(provider, data):
ws = websocket.create_connection("ws://localhost:1880/{}".format(provider))
ws.send("%s" % data)
ws.close()