🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    use new MQTT unit with UIFlow?

    UIFlow
    4
    8
    8.6k
    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.
    • ArnoA
      Arno
      last edited by Arno

      Hello,

      I just received the new MQTT unit.
      I was using MQTT in WIFI with my M5s like this with UIFlow:
      0_1637010663460_666e51af-52f2-4ae1-9367-37d6844298d8-image.png
      avec les fonctions suivantes :
      0_1637010712632_1ce5ee80-a0d6-4be4-99ef-2bca4a429034-image.png

      With the new unit I am a little confused to do the same. I do not find the same functions to carry out "MQTT subscribe"
      0_1637010600771_a597c6d0-7d66-4097-b122-25250570ecb6-image.png
      How to achieve the same?

      Thanks for your help

      I only use Uiflow ! with M5STACK Gray, RED, CORE2, ATOM, ATOM Lite,M5Paper, M5Tough, ATOM Display, M5 Stamp pico and more Unit...

      1 Reply Last reply Reply Quote 0
      • m5stackM
        m5stack
        last edited by m5stack

        0_1637296490518_6f94ce47-1dad-4772-9ca7-f23169d4fbd6-image.png

        you could take a variable to connect the block. after the block is executed, it will return a result of subscribing successfully.

        ArnoA 1 Reply Last reply Reply Quote -1
        • ArnoA
          Arno @m5stack
          last edited by

          @m5stack
          Sorry, but I still cannot recover my data from the broker with the MQTT unit. It works perfect with MQTT in Wifi and my CORE2.
          Here is my code with UIFlow, the LAMPES variable is always at TRUE, as the BOOKER MQTT communicates values "On" or "Off"
          How to get the GET TOPIC DATA function?

          0_1637418577227_4289a9a4-29aa-4974-a34c-eb270c0b6bac-image.png

          I only use Uiflow ! with M5STACK Gray, RED, CORE2, ATOM, ATOM Lite,M5Paper, M5Tough, ATOM Display, M5 Stamp pico and more Unit...

          1 Reply Last reply Reply Quote 0
          • ArnoA
            Arno
            last edited by

            My problem is that I can't find the basic MQTT functionality in wifi on the MQTT unit.
            As indicated in my previous email, my one and only problem is to recover my data (Subscribe) since there is no GET DATA function in UIflow with the MQTT Unit.

            In MQTT wifi there is this:

            0_1639761555424_2c013dca-ee02-48c2-8ea8-4d5e26baf148-image.png

            How do you proceed with MQTT unit to achieve the same thing ????

            There is no example in Uiflow on the use of the MQTT unit!

            I only use Uiflow ! with M5STACK Gray, RED, CORE2, ATOM, ATOM Lite,M5Paper, M5Tough, ATOM Display, M5 Stamp pico and more Unit...

            ArnoA 1 Reply Last reply Reply Quote 0
            • ArnoA
              Arno @Arno
              last edited by

              THE new version 1.9.0 brings changes in the MQTT unit.
              All that's left to do is test to take advantage of my MQTT unit.

              Thanks M5STACK!

              0_1640945202682_24728e13-c835-4a17-b150-2aeea9d49fc8-image.png

              I only use Uiflow ! with M5STACK Gray, RED, CORE2, ATOM, ATOM Lite,M5Paper, M5Tough, ATOM Display, M5 Stamp pico and more Unit...

              ArnoA 1 Reply Last reply Reply Quote 0
              • J
                jimbol
                last edited by jimbol

                @Arno
                Where did you find this? I am using the current versions of the web UIflow(V 1.9.0), and the Desktop version(V 1.7.5) for Mac, but I only find the old version. I would very much like to have a second Mqtt client running.
                J

                Ohhhh, I see it's for the Ethernet MQTT unit. Does anyone know how I could have a second instance of MQTT on a core2 using UIflow?

                1 Reply Last reply Reply Quote 0
                • ArnoA
                  Arno @Arno
                  last edited by

                  With the new version UIFLOW 1.9.0 I finally have used my MQTT UNIT. But the limit of 4 subscribe strongly limits my project ... I hope this limit will be delete during a future version.

                  I only use Uiflow ! with M5STACK Gray, RED, CORE2, ATOM, ATOM Lite,M5Paper, M5Tough, ATOM Display, M5 Stamp pico and more Unit...

                  1 Reply Last reply Reply Quote 0
                  • felmueF
                    felmue
                    last edited by

                    Hello @Arno

                    I think the limit is not in UIFlow but in the MQTT unit firmware - probably due so some restricted resources.

                    From the specification: Support 4x Topic subscription, not support MQTTS

                    Thanks
                    Felix

                    GPIO translation table M5Stack / M5Core2
                    Information about various M5Stack products.
                    Code examples

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post