diff --git a/web-to-db.py b/web-to-db.py index 0c77b6f..ae11e05 100644 --- a/web-to-db.py +++ b/web-to-db.py @@ -44,6 +44,9 @@ class testHTTPServer_RequestHandler(BaseHTTPRequestHandler): # Send to Martin + # Sendo to dashboard + to_dashboard(post_data) + def to_dashboard(self, data): ws = websocket.create_connection("wss://home-safety-visual.eu-gb.mybluemix.net/alarmsocket") ws.send(data)