mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-02-09 00:34:17 +01:00
Update Sms77.py
Adapting to new API
This commit is contained in:
parent
642d95b11a
commit
08c671cd09
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue