Bridges MQTT topics to a pseudo-terminal device
Project description
mqtty
mqtty bridges an MQTT topic to a local pseudoterminal (PTY), allowing you to interact with serial ports over MQTT as if they were local TTY devices.
This is useful for debugging, automation, or tunneling serial communication through a networked MQTT broker.
Usage
mqtty mqtt://<host>/<topic> [--pts-only | --wrap-picocom]
You must choose one of the two modes:
-
--pts-only,-p: Print the path to the PTS device and keep it open. Useful for tools or scripts that want to use the virtual serial port. -
--wrap-picocom,-w: Launchpicocom --quietattached to the PTS device. This allows interactive use of a remote serial port over MQTT.
The <topic> segment of the URI is used as the base path for MQTT messages:
.../device_serial_inputreceives data from your local PTY (sent to the device).../device_serial_outputsends incoming data from the device to your PTY
Example
mqtty mqtt://broker.local/mydevice --wrap-picocom
This opens a local PTS device, bridges it to mydevice/device_serial_input and mydevice/device_serial_output, and launches picocom on the virtual port.
License
MIT
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 mqtty-0.1.0.tar.gz.
File metadata
- Download URL: mqtty-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa94225c31f9df23f9f0aed85d65898dcc69ad37080a1fc64e3c8a054265cf54
|
|
| MD5 |
9cd8a889b4e356c091bb72a52bf924f4
|
|
| BLAKE2b-256 |
4d05977074577ee534e59dd25688b95791e6b80c9cdf9d966a2bffed0a9c4c70
|
Provenance
The following attestation bundles were made for mqtty-0.1.0.tar.gz:
Publisher:
release.yml on embeddedTS/mqtty
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mqtty-0.1.0.tar.gz -
Subject digest:
aa94225c31f9df23f9f0aed85d65898dcc69ad37080a1fc64e3c8a054265cf54 - Sigstore transparency entry: 291983491
- Sigstore integration time:
-
Permalink:
embeddedTS/mqtty@44cf9a5a88dd671345c76e26b1b31f799d9cd24c -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/embeddedTS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@44cf9a5a88dd671345c76e26b1b31f799d9cd24c -
Trigger Event:
release
-
Statement type:
File details
Details for the file mqtty-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mqtty-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f828ad28bf48bc25068e0de2f379b38acd4d174f8d633fcc35e65f951f858c23
|
|
| MD5 |
ccdd4592e3394cf905cab851fd72c9aa
|
|
| BLAKE2b-256 |
ca6d5901c5cdd73b30fa45cf0dfd250c1f19f73372258b9d670e5c4d2ce41160
|
Provenance
The following attestation bundles were made for mqtty-0.1.0-py3-none-any.whl:
Publisher:
release.yml on embeddedTS/mqtty
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mqtty-0.1.0-py3-none-any.whl -
Subject digest:
f828ad28bf48bc25068e0de2f379b38acd4d174f8d633fcc35e65f951f858c23 - Sigstore transparency entry: 291983494
- Sigstore integration time:
-
Permalink:
embeddedTS/mqtty@44cf9a5a88dd671345c76e26b1b31f799d9cd24c -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/embeddedTS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@44cf9a5a88dd671345c76e26b1b31f799d9cd24c -
Trigger Event:
release
-
Statement type: