restmesh is a Meshtastic-related REST API app I’m developing. Its purpose is to have a simple REST interface to send messages via Meshtastic using other software such as Apprise.
Messages can be sent to channels (IDs 0 to 7) — Meshtastic can handle up to 8 channels, with 0 being the primary one — or to single nodes. If a message is too long, it is automatically truncated to the first 200 bytes, which is more or less Meshtastic’s MTU.
Personally, I use restmesh for important and critical system notifications. Since restmesh is a Python package, you can install it via pip.
The app stack is as follows:
- FastAPI: provides a nice and self-documenting REST API which you can use in other projects
- Meshtasic: the Python bindings to manage the radio
Chapters
- 0:00 Intro
- 0:57 Internet monitoring example with notification sent via Apprise on failure
- 2:19 CLI options, curl examples and integrations
- 3:41 Running restmesh and testing the endpoints via the
/docspage, including message truncation - 8:43 Testing the Apprise endpoints using the Apprise CLI interface
- 9:46 Outro
Top comments (0)