Gateway modules for MoaT-Link (KV and MQTT)
Project description
moat-link-gate
% start synopsis % start main
Gateway modules for MoaT-Link providing KV and MQTT integrations.
This package provides gateway functionality for MoaT-Link, including:
- MoaT-KV gateway for data storage integration
- Raw MQTT gateway, using configurable codecs
- Optional separate MQTT backend per gateway instance
% end synopsis
Features
The gateway bidirectionally translates from MoaT-Link to various other destinations. Messages are timestamped and marked, so there are no update cycles.
MQTT gateway
The MQTT gateway (driver mqtt) bridges a subtree in MoaT-Link to a
subtree of MQTT topics.
Configuration
The gate entry at :R.gate.NAME accepts:
src
Source path inside MoaT-Link (!P path).
dst
Destination topic prefix on the MQTT broker (!P path, must not
be inside the MoaT-Link root).
codec
Codec for external MQTT messages. Either a codec name (string) or a
!P path to a conversion vector stored under :R.conv.
backend (optional)
When present, the gateway connects to a separate MQTT broker for its
external side instead of reusing the primary MoaT-Link broker. Any
field supported by moat.link.backend.mqtt may be given here;
driver defaults to mqtt. Example::
backend:
driver: mqtt
host: broker.example.com
port: 1883
codec: std-cbor
The backend connection is kept alive for the whole lifetime of the gateway and is torn down cleanly when the gateway stops.
speed (optional)
Minimum interval in seconds between consecutive writes to MoaT-Link
for the same path. Rapid external updates are coalesced.
% end main
License
This project is licensed under the same terms as MoaT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file moat_link_gate-0.0.8.tar.gz.
File metadata
- Download URL: moat_link_gate-0.0.8.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44c1327af4c9e5733554ff6d6c3cf73914f62c4314db4c3ffb0792bfef85fbf6
|
|
| MD5 |
d3a977d6e0cfdb35b6ba64d5718e5b72
|
|
| BLAKE2b-256 |
7941433e9aa351c8f8ba0a5a29ff15fa973b476d947576c6789c60df93c9d83a
|
File details
Details for the file moat_link_gate-0.0.8-py3-none-any.whl.
File metadata
- Download URL: moat_link_gate-0.0.8-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8ec20a14f732c936985f800a8d6ff222bdae89b7379ed77dc135cf523e1c6ed
|
|
| MD5 |
568fa548758acd2fc4c34116429250bb
|
|
| BLAKE2b-256 |
5451fe2a990a3be03843c3c1c5fb841ce69176bb39f0b08fbaa749c8bcff577d
|