I saw it today when I was fixing my xmpp server…

I recall mqtt being a standard for getting measurements from iot devices?

So is it for sending data…or receiving… Both? Neither? Am I fundamentally misunderstanding what mqtt is?

  • Djoot@feddit.dk
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    MQTT is just a messaging protocol, it’s mostly used for iot purposes like you mention, but can in theory be used for any kind of project.

    Never used ejabberd, but one of their selling points are multiprotocol support, so it’s not so weird to support a multipurpose standardized messaging protocol.

  • CAPSLOCKFTW@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    mqtt works topic based. It is for sending and recieving messages. You’ll need a broker to distribute the messages. Every client can subscribe to list of topics, the broker saves that list. If a client sends a new message with the topic foo, the broker recieves it and will try to send it to every subscriber of foo. When some client is offline and comes back up later the broker will still send it to them. Therefore it is great for IoT and smart Home devices