• Gå til hovedindhold
  • assistive.skiplink.to.breadcrumbs
  • assistive.skiplink.to.header.menu
  • assistive.skiplink.to.action.menu
  • assistive.skiplink.to.quick.search
  • Log ind
  • Help / Tips Hjælp
    • Online hjælp
    • Genvejstaster
    • Feed-bygger
    • Hvad er nyt
    • Om Confluence
  • Search
Tryk på Enter for at søge
  • Start
Information Technology

    Content

  • Sider
  • Blog

    Rum-værktøjer

  • Settings
  • Indholdsværktøjer
 Rediger profil
    • Vedhæftninger (0)
    • Sidehistorik
    • Sideinformation
    • Løste kommentarer
    • Vis i hierarki
    • Se kilde
    • Eksportér til PDF
    • Eksportér til Word
    • Export to HTML
    • Export to PDF
  1. Dashboard
  2. Information Technology
Spring til slutningen af banner
  • Jira-links
Hop til starten af banneret

Listen on MQTT messages on Ubuntu

  • Oprettet af Normann P. Nielsen, senest opdateret den 28-04-2021 Læsetid: 1 minutter

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)


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

  • mqtt

          null