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.
Release files for moat-link-gate 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| moat_link_gate-0.0.11.tar.gz | 20.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| moat_link_gate-0.0.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.0 kB
Release files / moat_link_gate-0.0.11.tar.gz
| Download URL | moat_link_gate-0.0.11.tar.gz |
|---|---|
| Size | 20.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6817680f5c6e4878761e8713d3dbafb45701fb6dc8ac8dcf5d4ba67032f6b5c9
|
|
BLAKE2b-256 checksum How to use checksums |
19e49ae8bdfce6e987c6582afd9e86c021e929ad3e48f4bf8ce63b76f37092d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.14
|
Release files / moat_link_gate-0.0.11-py3-none-any.whl
| Download URL | moat_link_gate-0.0.11-py3-none-any.whl |
|---|---|
| Size | 22.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a4822581beab48ffff8010ab12858b9f211c4a42d3176a1909950a5d5a65d6b
|
|
BLAKE2b-256 checksum How to use checksums |
bc18a87f0adebb9123bc717a253cf2d02a7c2662ab6b1423be68444e3d5a0582
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.14
|