Download OpenAPI specification:Download
A web interface for interacting with a Meshtastic node over serial connection.
Returns all the known nodes as list.
X-Fields | string <mask> An optional fields mask |
{- "num": 1439136840,
- "user": {
- "id": "!55c77c48",
- "longName": "Meshtastic Device 1",
- "shortName": "MD1",
- "macaddr": "lLVVx3xI",
- "hwModel": "TBEAM"
}, - "position": {
- "uuid": 111234,
- "sender": "!55c77c48",
- "target": "^all",
- "altitude": 327,
- "latitude": 33.5415,
- "longitude": 112.3755,
- "timestamp": "2022-12-23T14:51:15.784133"
}, - "lastHeard": 1671952630,
- "deviceMetrics": {
- "batteryLevel": 77,
- "voltage": 4.159,
- "channelUtilization": 5.4733334,
- "airUtilTx": 3.154972
}
}
Returns info of a node in JSON format.
node required | string The Node ID, Long Name, Short Name, or MAC Address. |
X-Fields | string <mask> An optional fields mask |
{- "num": 1439136840,
- "user": {
- "id": "!55c77c48",
- "longName": "Meshtastic Device 1",
- "shortName": "MD1",
- "macaddr": "lLVVx3xI",
- "hwModel": "TBEAM"
}, - "position": {
- "uuid": 111234,
- "sender": "!55c77c48",
- "target": "^all",
- "altitude": 327,
- "latitude": 33.5415,
- "longitude": 112.3755,
- "timestamp": "2022-12-23T14:51:15.784133"
}, - "lastHeard": 1671952630,
- "deviceMetrics": {
- "batteryLevel": 77,
- "voltage": 4.159,
- "channelUtilization": 5.4733334,
- "airUtilTx": 3.154972
}
}
Update the current configuration
owner | string |
owner_short | string |
ownerShort | string |
channel_url | string |
channelUrl | string |
object (Location) | |
object (AbstractConfig) | |
object (AbstractConfig) |
{- "owner": "string",
- "owner_short": "string",
- "ownerShort": "string",
- "channel_url": "string",
- "channelUrl": "string",
- "location": {
- "alt": 0,
- "lat": 0,
- "lon": 0
}, - "config": {
- "*": {
- "property1": "string",
- "property2": "string"
}
}, - "module_config": {
- "*": {
- "property1": "string",
- "property2": "string"
}
}
}
Send a message on a channel, defaults to primary channel
text required | string The text to send |
destinationId | string Default: "^all" Where to send this message |
wantAck | boolean Default: true If you want the message sent in a reliable manner (with retries and ack/nak provided for delivery) |
wantResponse | boolean Default: false If you want the service on the other side to send an application layer response |
channelIndex | integer Default: 0 The channel to send the message on |
{- "text": "Hello world!",
- "destinationId": "^all",
- "wantAck": true,
- "wantResponse": false,
- "channelIndex": 0
}
Get messages stored in the database
limit | string Limit how many messages to output |
dm | string Shows only direct messages |
X-Fields | string <mask> An optional fields mask |
{- "uuid": 0,
- "sender": "!9388f81c",
- "target": "^all",
- "text": "Hello world!",
- "channel": "0",
- "timestamp": "2022-12-23T14:51:15.784133"
}
Get position entries from the database, most recent first.
X-Fields | string <mask> An optional fields mask |
{- "uuid": 111234,
- "sender": "!55c77c48",
- "target": "^all",
- "altitude": 327,
- "latitude": 33.5415,
- "longitude": 112.3755,
- "timestamp": "2022-12-23T14:51:15.784133"
}
Get the positions of a single node, by name, ID, etc.
node required | string |
X-Fields | string <mask> An optional fields mask |
{- "uuid": 111234,
- "sender": "!55c77c48",
- "target": "^all",
- "altitude": 327,
- "latitude": 33.5415,
- "longitude": 112.3755,
- "timestamp": "2022-12-23T14:51:15.784133"
}
Send a message from Mattermost to Meshtastic
channel_id | string Mattermost Channel ID |
channel_name | string Mattermost Channel Name |
team_domain | string Mattermost Team Name |
team_id | string Mattermost Team ID |
post_id | string Mattermost Post ID |
text required | string Text to send to Meshtastic |
timestamp | integer Mattermost timestamp for message |
token required | string Mattermost token, changes per deployment |
trigger_word | string Trigger word that activated the webhook |
user_id | string Mattermost User ID |
user_name required | string Mattermost Usernam |
{- "channel_id": "hawos4dqtby53pd64o4a4cmeoo",
- "channel_name": "town-square",
- "team_domain": "someteam",
- "team_id": "kwoknj9nwpypzgzy78wkw516qe",
- "post_id": "axdygg1957njfe5pu38saikdho",
- "text": "some+text+here",
- "timestamp": 1445532266,
- "token": "zmigewsanbbsdf59xnmduzypjc",
- "trigger_word": "some",
- "user_id": "rnina9994bde8mua79zqcg5hmo",
- "user_name": "somename"
}