• Skip to main content
  • assistive.skiplink.to.breadcrumbs
  • assistive.skiplink.to.header.menu
  • assistive.skiplink.to.action.menu
  • assistive.skiplink.to.quick.search
  • Log in
  • Help / Tips Help
    • Online Help
    • Keyboard Shortcuts
    • Feed Builder
    • What’s new
    • About Confluence
  • Search
Hit enter to search
  • Start
Information Technology

    Content

  • Pages
  • Blog

    Space Tools

  • Settings
  • Content Tools
    • Attachments (0)
    • Page History
    • Page Information
    • Resolved comments
    • View in Hierarchy
    • View Source
    • Export to PDF
    • Export to Word
    • Export to HTML
    • Export to PDF
  1. Pages
  2. Information Technology
Skip to end of banner
  • Jira links
Go to start of banner

Listen on MQTT messages on Ubuntu

  • Created by Normann P. Nielsen, last updated on 28-04-2021 1 minute read

Install the client on Ubuntu:

sudo apt update
sudo apt install mosquitto-clients


The client is now installed and can be stated to Listen on a Topic:

mosquitto_sub -h localhost -t test

or with username and password:

mosquitto_sub -h localhost -t test -u "sammy" -P "password"


Read more on https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messaging-broker-on-ubuntu-18-04

Sider med lignende indhold (Related Content)


  • Page:
    Home Assistant on Docker (Information Technology)
  • Page:
    Listen on MQTT messages on Ubuntu (Information Technology)
  • Page:
    Adding Mosquitto (MQTT) to my Home Automation (Information Technology)

  • mqtt

          null