mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-05 14:35:17 +00:00
Added some more Logging
Added more Debug Logging for the alarmHeaders
This commit is contained in:
parent
25365b0ba0
commit
fcae71a7d1
1 changed files with 1 additions and 0 deletions
|
|
@ -132,6 +132,7 @@ def run(typ,freq,data):
|
|||
"selectiveCallCode": selectiveCallCode,
|
||||
"hmac": hmac.new(webApiKey, webApiToken + selectiveCallCode + accessToken + alarmData, digestmod=hashlib.sha256).hexdigest()
|
||||
}
|
||||
logging.debug(alarmHeaders)
|
||||
|
||||
if globalVars.config.get("FFAgent", "live") == "1":
|
||||
r = requests.post(url, data=alarmData, headers=headers, verify=serverCertFile, cert=(clientCertFile, clientCertPass))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue