Pre-release
This release is a pre-release and may not be stable for production use.
Simple MQTT debug helper
This is a simple tool that allows subscribing to an arbitrary number of MQTT topics as well as publishing to an MQTT broker using a command line utility.
Example usage
Configuration file
The configuration file that's sourced by both tools is supplied in JSON format:
{
"broker" : {
"broker" : "example.com",
"port" : 1883
},
"auth" : {
"user" : "exampleuser",
"password" : "examplepassword"
}
}
Subscribing to all topics
Dumping as plain text:
$ mqttsubscribe --cfg /path/to/configfile --topic "#"
Dumping as JSON:
$ mqttsubscribe --cfg /path/to/configfile --topic "#" --json
Subscribing to specific topics
$ mqttsubscribe --cfg /path/to/configfile --topic "quakesr/experiment/camera/ebeam/raw/stored" --json
Publishing a message from the CLI
$ mqttpublish --cfg /path/to/configfile --topic "examples/testtopic" --payload "Test payload"
Release files for mqttdebug-tspspi 0.0.1a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mqttdebug_tspspi-0.0.1a2.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mqttdebug_tspspi-0.0.1a2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / mqttdebug_tspspi-0.0.1a2.tar.gz
| Download URL | mqttdebug_tspspi-0.0.1a2.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08e0d7f6529cbaa38037dd5758e5fbc55b5387c96f50b051b83164c353929c66
|
|
BLAKE2b-256 checksum How to use checksums |
289fe2816d17b465ec96bdc4a1f128309e4e50cd4193b767d8cffcdba1b5408a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.13
|
Release files / mqttdebug_tspspi-0.0.1a2-py3-none-any.whl
| Download URL | mqttdebug_tspspi-0.0.1a2-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
182d8e0e940aa386849ebed55def28c10a579397e4fa385ac0b0c25ac66850ee
|
|
BLAKE2b-256 checksum How to use checksums |
68f1c8a9ce373e0f7627ff8218ca4602437615bec48d2ac53210e4b272b9d14e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.13
|