Hi everyone, I have a question for you. Thanks for taking time trying to help me.

This is the scenario:
I have a Channel with MQTT Configuration. (URI: mqtt.flespi.io:8883 and so on...)
On channel configuration, I can see there is a tab called "Connections" I would like to add my ioT devices there.

The thing is that, when I create the device it is never recognized. This is the device configuration:

And as you can see, the device is recognized as a Session on MQTT section:

But it is not recognized as a device on Telematics Hub section. What I am doing wrong?

Could you please help me, letting me know what I am doing wrong? Or maybe it doesn't make sense to have a device type MQTT?

Thanks so much in advice!

    Hello orlo26
    The idea behind MQTT channel in flespi is the following:

    • MQTT channel connects to mqtt broker (let it be mqtt.flespi.io:8883) and subscribes to the topic, say "MQTT007XA".
    • Your IoT device connects to the same broker and publishes messages to the same topic "MQTT007XA".

    Once your channel is configured to take ident from the mqtt topic, so messages in the channel are registered with "ident":"MQTT007XA".

    • Then if you create a device in flespi with device type MQTT and ident MQTT007XA - all messages registered in the channel under this ident will automatically be registered into the device either.

    As a result of correct setup - you have message from the IoT device in flespi device.

    Please note, that "Connections" tab in mqtt channel will always be empty and connection status for MQTT device will always be "Disconnected" - and this is absolutely OK for mqtt channel and device.

    I also suggest you yo read this page to get full information about flespi mqtt channel.

    ok namo ,This is exactly what I need it... Thanks so much! ;)

      namo just one more thing... why a device can only subscribe to main topics? For example:

      Allowed: myTopic
      Not allowed: myTopic/DF1

      I hope this would be my last question around this topic. Thanks in advise.!!

        orlo26
        This is device ident on your screenshot, not mqtt topic.
        Topic is specified in mqtt channel configuration.
        Again, please read this article and links inside carefully

        Write a Reply...