From e26e4d49ca43bdc40bac03ca96dfdf0f3126c710 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 20 Oct 2016 11:00:11 +0200 Subject: [PATCH] Also SAVE the actual values into the DB --- swisscom-receive-packet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swisscom-receive-packet.py b/swisscom-receive-packet.py index 55f8ed6..b4411ff 100644 --- a/swisscom-receive-packet.py +++ b/swisscom-receive-packet.py @@ -38,7 +38,7 @@ class testHTTPServer_RequestHandler(BaseHTTPRequestHandler): print("{}:{}".format(deveui, payload)) # And insert into the db - self.insert_json("swisscom", post_data) + self.insert_json("swisscom", post_data, payload, deveui) # Sendo to dashboard # self.to_dashboard(post_data)