Skip to content

Supported Services

Brandon Swenson edited this page May 26, 2023 · 1 revision

Overview

The Meshtastic Web API can be configured to send all messages to a Mattermost channel via webhooks, as well as receive incoming messages from Mattermost to push to the Meshtastic network.

  • Messages from Meshtastic (to Mattermost) will be posted with the long name of the Meshtastic node that sent the message.

image

  • Messages to Meshtastic (from Mattermost) will have an extra line on top that is FROM: <mattermost username>

image

Setup On Mattermost

Push to Meshtastic

  • Setup an outgoing webhook.
    • Callback URL should be similar to http:/${meshtastic-web-api-host}/mattermost.
  • Once the webhook is setup, copy the generated token and supply to the docker container as an environment variable.
    • See below.

Push to Mattermost

  • Setup and incoming webhook.
  • Once the webhook is etup, copy the generated URL and supply to the docker container as an environment variable.
    • See below.

Environment Variables

Name Description Example Default
MATTERMOST_ENABLED Boolean; if set to anything, Mattermost integration will be enabled TRUE Empty
MATTERMOST_TOKEN String; the token of the Mattermost server to communicate with zmigewsanbbsdf59xnmduzypjc Empty
MATTERMOST_WEBHOOK String; URL to POST messages to http://mattermost.com/hooks/p9crnwz8uiyk5mjk1tm745q4ky Empty