mLinux conduit and setting up a MQTT client

Home Forums Conduit: mLinux Model mLinux conduit and setting up a MQTT client

Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #18408
    johann van Niekerk
    Participant

    Hello guys

    I hope someone can help me here, I have configured the conduit as a lora gateway and is pushing the info out via ethernet port. I have the mosquitto broker running on the conduit and confirmed that is works but running
    “$ mosquitto_sub -t lora/+/up” and I can see the incoming messages, the next step for me is to install a mosquitto client on pc and see messages in the client. I have done so but i cant seem to get the mqtt.fx client to connect to the broker.
    i have the following info and have added it to the client but does not work.
    username :xxxx
    password: xxxx
    IP 127.0.0.1 and have tried 192.168.2.1 neither works
    port 1883
    dev/test is the topic

    what else do i need to look at to get this working ?

    #18410
    johann van Niekerk
    Participant

    Does the conduit have to be in basic packet forward mode?

    #18416
    Jason Reiss
    Keymaster

    The MQTT broker service on Conduit is attached to the local interface (127.0.0.1) so it is not available from outside. Enabling the service on the remote interface has resulted in issues with the network server connection.

    What you will want to do is setup a remote MQTT broker and then proxy the messages between the local MQTT service on Conduit and the remote.

    A node.js application could use these packages to implement.
    https://www.npmjs.com/package/mqtt
    https://www.npmjs.com/package/mqtt-bridge

    #18418
    johann van Niekerk
    Participant

    Few questions then

    Can i install “Home assistant” on the conduit and setup a MQTT broker with the local address on the same device?

    if not is there then no other why without development to connect this device to a remote Broker ?

    #18419
    Jason Reiss
    Keymaster

    The AEP version of Conduit provides a platform with Node-Red.

    #18432
    johann van Niekerk
    Participant

    That doesn’t really answer my question but okay.
    Is there away to upgrade the mlinux version to AEP?

    #18469
    Darrik Spaude
    Keymaster

    Hi Johann,

    Create a support case at https://support.multitech.com and request instructions on how to switch from mLinux to AEP and we’ll get you those instructions and binaries.

    Thanks,
    Darrik

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.