• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    MQTT Support

    Scheduled Pinned Locked Moved Mervis
    6 Posts 3 Posters 4.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • roberts_landoR
      roberts_lando
      last edited by

      Does Mervis contains libraries for MQTT support (Mqtt Client publish/subscribe)?

      T 1 Reply Last reply
      Reply Quote 0
      • T
        tomas_hora administrators @roberts_lando
        last edited by

        @roberts_lando Not yet, but there were a few discussions about this. Please send us a feedback how would you like to use it to our email - application, will you make your own Mqtt server or Mervis will be the server,...? Anything :)

        1 Reply Last reply
        Reply Quote 0
        • roberts_landoR
          roberts_lando
          last edited by

          @tomas_hora I just would like to be able to publish/subscribe to topics (Mqtt Client). About MQTT Server I already have mine or I use mosquitto or Mosca as MQTT borker.

          1 Reply Last reply
          Reply Quote 0
          • G
            Giamba
            last edited by

            Hi @roberts_lando,
            I do the trick with modbus client on Mervis and libmosquitto in C that give me all the variable I want to export in my web browser in JSON format.

            1 Reply Last reply
            Reply Quote 0
            • roberts_landoR
              roberts_lando
              last edited by

              Do you use libmosquitto as MQTT client than when you need to publish/subscribe you edit a Modbus register/coil?

              1 Reply Last reply
              Reply Quote 0
              • G
                Giamba
                last edited by

                @roberts_lando
                For me I have Mervis Modbus client wich write registers in my C program modbus thread.
                Then I have an other thread wich take care of changed values and publish on a topic to the mosquitto broker.
                I have an other thread wich make some stuff on values, like a subscribed return value wich update modbus register before reply to modbus client.

                1 Reply Last reply
                Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post