MQTT Pub and Sub
Unraid plugin that lets you publish messages to and subscribe to topics on an MQTT (Message Queuing Telemetry Transport) broker.
Platform availability
Available on 1 of 10 platforms
- Unraid
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
11/100 Low
- Maintained
- 0last commit 746 days ago
- Popular
- 187 GitHub stars
- Easy to install
- 251 install platform, install notes
- Light to run
- No data
Based on 3 of 4 factors.
Availability: platform listings confirmed today, links checked 2 days ago
- GitHub stars
- 7
- Open issues
- 1
- Last commit
- 2024-11-04
- License
- MIT
- Activity
- stale
Checked today - source: GitHub (giganode/unraid-mqtt-pub-sub)
Resources & Compatibility
Requirements not published yet.
First-install notes
- MQTT broker required Have a running MQTT broker such as Mosquitto reachable before configuring publish or subscribe topics. source
- Configure MQTT broker credentials After installation, enter your MQTT broker's host, port, user, password, and client ID under Settings > MQTT. source
- Installation Install from Unraid's Community Apps plugin, or via Plugins > Install Plugin. source
- MQTT credentials Set MQTT host, port, user, password, and client ID under Settings: MQTT. source
- Settings Enter your MQTT host, port, user, password, and client ID under Settings > MQTT. source
Fetched yesterday - each note links to its source
Variants
Alternatives
No alternatives collected yet.
Common questions
How do I install MQTT Pub and Sub on Unraid?
Install it from Plugins > Install Plugin, or from the Community Apps plugin.
Can I configure the plugin before an MQTT broker is reachable?
No, you need a reachable MQTT broker such as Mosquitto before configuring publish or subscribe topics.
Where should I store broker credentials for Unraid scripts?
Enter the MQTT credentials under Settings > MQTT. Scripts can then source /boot/config/mqttcredentials and use variables such as MQTT_HOST, MQTT_PORT, MQTT_USER, MQTT_PASSWORD, and MQTT_CLIENT_ID.
Can I perform float calculations in scripts used with the plugin?
Yes, the plugin includes bc, which is useful for float calculations in bash scripts.
Will missed messages be queued for a later subscriber?
No, MQTT pub/sub is not message queuing. Retained messages can be held by the broker and sent to later subscribers.
Answers sourced from github.com, stackoverflow.com, unanswered.io
Community
- Everything you need to know about MQTT : r/programming - Reddit (reddit)
- Publishing and subscribing through mqtt in Linux - Stack Overflow (forum)
- Edge MQTT Pub/Sub Capabilities - Ignition - Inductive Automation Forum (forum)
Collected 48 days ago - public community threads