From HFML-FELIX Wiki
Revision as of 10:54, 5 October 2020 by Claessen (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


https://mattermost.science.ru.nl/hooks/xxx-generatedkey-xxx
  • Create a new rule, for instance:
SELECT topic, payload FROM "building/RSS/#" 
WHERE topic not in ("building/RSS/daemon time", "building/RSS/Ready for sweep", "building/RSS/Door config")
 {"text": "${topic}: ${payload}"}
  • This will now go to the default channel of the webhook. It is possible to add "channel": "channelname" into the JSON payload.