-
Notifications
You must be signed in to change notification settings - Fork 3
Supported Services
Brandon Swenson edited this page May 26, 2023
·
1 revision
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.
- Messages to Meshtastic (from Mattermost) will have an extra line on top that is
FROM: <mattermost username>
- Setup an outgoing webhook.
- Callback URL should be similar to
http:/${meshtastic-web-api-host}/mattermost
.
- Callback URL should be similar to
- Once the webhook is setup, copy the generated token and supply to the docker container as an environment variable.
- See below.
- 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.
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 |