From 08c671cd0992b900d7872d9b19dfe2cdfefbf956 Mon Sep 17 00:00:00 2001 From: Florian Date: Sun, 16 Apr 2017 23:48:46 +0200 Subject: [PATCH] Update Sms77.py Adapting to new API --- plugins/Sms77/Sms77.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Sms77/Sms77.py b/plugins/Sms77/Sms77.py index 82ae514..51ce7b5 100644 --- a/plugins/Sms77/Sms77.py +++ b/plugins/Sms77/Sms77.py @@ -80,8 +80,8 @@ def run(typ,freq,data): # logging.debug("send Sms77 %s", typ) - conn = httplib.HTTPSConnection("gateway.sms77.de:443") - conn.request("POST", "", + cconn = httplib.HTTPSConnection("gateway.sms77.io",443) + conn.request("POST", "/api/sms", urllib.urlencode({ "u": globalVars.config.get("Sms77", "user"), "p": globalVars.config.get("Sms77", "password"),