Code: Select all
2020-06-04 07:46:07.843 Status: dzVents: Info: Handling events for: "TestContact", value: "On"
2020-06-04 07:46:07.843 Status: dzVents: Info: Slack-script: ------ Start internal script: 20200604 dz slackMessage: Device: "TestContact (Virtual)", Index: 312
2020-06-04 07:46:07.844 Status: dzVents: Debug: Slack-script: OpenURL: url = https://slack.com/api/chat.postMessage
2020-06-04 07:46:07.844 Status: dzVents: Debug: Slack-script: OpenURL: method = POST
2020-06-04 07:46:07.844 Status: dzVents: Debug: Slack-script: OpenURL: post data = {"channel":"sensors","text":"This is a test message","token":"xoxb-my-bot-token"}
2020-06-04 07:46:07.844 Status: dzVents: Debug: Slack-script: OpenURL: headers = {["content-Type"]="application/json"}
2020-06-04 07:46:07.844 Status: dzVents: Debug: Slack-script: OpenURL: callback = slackrequest
2020-06-04 07:46:07.844 Status: dzVents: Info: Slack-script: ------ Finished 20200604 dz slackMessage
2020-06-04 07:46:08.189 Status: dzVents: Info: Handling httpResponse-events for: "slackrequest"
2020-06-04 07:46:08.189 Status: dzVents: Info: Slack-script: ------ Start internal script: 20200604 dz slackMessage: HTTPResponse: "slackrequest"
2020-06-04 07:46:08.189 Status: dzVents: Debug: Slack-script: OK we got a response
2020-06-04 07:46:08.189 Status: dzVents: HTTPResponse> _contentType: application/json; charset=utf-8
2020-06-04 07:46:08.189 Status: dzVents: HTTPResponse> isHardware: false
2020-06-04 07:46:08.189 Status: dzVents: HTTPResponse> isCustomEvent: false
2020-06-04 07:46:08.189 Status: dzVents: HTTPResponse> protocol: HTTP/2
2020-06-04 07:46:08.189 Status: dzVents: HTTPResponse> trigger: slackrequest
2020-06-04 07:46:08.189 Status: dzVents: HTTPResponse> data: {"ok":false,"error":"not_authed","warning":"missing_charset","response_metadata":{"warnings":["missing_charset"]}}
2020-06-04 07:46:08.189 Status: dzVents: HTTPResponse> json:
2020-06-04 07:46:08.189 Status: dzVents: HTTPResponse> response_metadata:
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> warnings:
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> 1: missing_charset
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> error: not_authed
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> warning: missing_charset
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> ok: false
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> baseType: httpResponse
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> isXML: false
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> headers:
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> server: Apache
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> content-length: 104
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> access-control-allow-origin: *
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> x-xss-protection: 0
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> x-content-type-options: nosniff
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> x-via: haproxy-www-tbq6
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> content-type: application/json; charset=utf-8
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> content-encoding: gzip
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> strict-transport-security: max-age=31536000; includeSubDomains; preload
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> x-accepted-oauth-scopes: chat:write:bot
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> x-slack-backend: h
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> access-control-expose-headers: x-slack-req-id, retry-after
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> access-control-allow-headers: slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid, x-b3-sampled, x-b3-flags
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> referrer-policy: no-referrer
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> vary: Accept-Encoding
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> date: Thu, 04 Jun 2020 05:46:08 GMT
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> x-slack-req-id: 5ec6cde4386738058bfcc2ca270cf6a8
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> callback: slackrequest
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> isVariable: false
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> isSystem: false
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> isGroup: false
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> isHTTPResponse: true
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> isSecurity: false
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> isDevice: false
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> isTimer: false
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> statusCode: 200
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> statusText: OK
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> isScene: false
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> dump()
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> isJSON: true
2020-06-04 07:46:08.190 Status: dzVents: HTTPResponse> ok: true
2020-06-04 07:46:08.190 Status: dzVents: Debug: Slack-script: {["_contentType"]="application/json; charset=utf-8", ["isHardware"]=false, ["isCustomEvent"]=false, ["protocol"]="HTTP/2", ["trigger"]="slackrequest", ["data"]="{"ok":false,"error":"not_authed","warning":"missing_charset","response_metadata":{"warnings":["missing_charset"]}}", ["json"]={["response_metadata"]={["warnings"]={"missing_charset"}}, ["error"]="not_authed", ["warning"]="missing_charset", ["ok"]=false}, ["baseType"]="httpResponse", ["isXML"]=false, ["headers"]={["server"]="Apache", ["content-length"]="104", ["access-control-allow-origin"]="*", ["x-xss-protection"]="0", ["x-content-type-options"]="nosniff", ["x-via"]="haproxy-www-tbq6", ["content-type"]="application/json; charset=utf-8", ["content-encoding"]="gzip", ["strict-transport-security"]="max-age=31536000; includeSubDomains; preload", ["x-accepted-oauth-scopes"]="chat:write:bot", ["x-slack-backend"]="h", ["access-control-expose-headers"]="x-slack-req-id, retry-after", ["access-control-allow-headers"]="slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid, x-b3-sampled, x-b3-flags", ["referrer-policy"]="no-referrer", ["vary"]="Accept-Encoding", ["date"]="Thu, 04 Jun 2020 05:46:08 GMT", ["x-slack-req-id"]="5ec6cde4386738058bfcc2ca270cf6a8"}, ["callback"]="slackrequest", ["isVariable"]=false, ["isSystem"]=false, ["isGroup"]=false, ["isHTTPResponse"]=true, ["isSecurity"]=false, ["isDevice"]=false, ["isTimer"]=false, ["statusCode"]=200, ["statusText"]="OK", ["isScene"]=false, ["dump"]=nil, ["isJSON"]=true, ["ok"]=true}
2020-06-04 07:46:08.190 Status: dzVents: Debug: Slack-script: Ok result. Slack response is: Ok
2020-06-04 07:46:08.191 Status: dzVents: Info: Slack-script: ------ Finished 20200604 dz slackMessage