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

    MQTT Issues

    UIFlow
    2
    5
    2.4k
    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.
    • C
      cwdallas
      last edited by

      I'm attempting to control a relay via MQTT. I've tried both io.adafruit.com and cloudmqtt.com. Using MQTTool on my phone, I'm able to connect/subscribe/publish to both services utilizing the same information as shown in the blocks.

      Are there any glaring issues with my code blocks here? I've attempted this many different ways and I believe that this should work, but it doesn't appear that the M5Stack is connecting to either service. I've upgraded to firmware V1.12.6 and I'm working with UiFlow1.

      0_1698431375562_adafruit.PNG

      Is there anyone out there who has been successful with this? It looks like there have been firmware issues in the past - is there a firmware version that is stable with MQTT?

      1 Reply Last reply Reply Quote 0
      • P
        pandian.nano
        last edited by pandian.nano

        Hi @cwdallas,
        We tested for mqtt based on m5core and it works for my side
        Are you testing in "RUN" or "DOWNLOAD" mode?
        If using "DOWNLOAD" mode, you need to configure wifi first

        0_1698718757417_2953831a-f740-4fda-ac0a-b7c693c15028-image.png

        0_1698718909793_9e765fac-aeb9-4c58-bcaf-436234907b50-image.png

        0_1698718954595_325f61a6-0037-45bb-b75f-10fb2fbbd57c-image.png

        1 Reply Last reply Reply Quote 0
        • C
          cwdallas
          last edited by

          That was the problem - thank you! I didn't receive any notifications that anyone had responded...

          P 1 Reply Last reply Reply Quote 0
          • P
            pandian.nano @cwdallas
            last edited by

            Hi @cwdallas, problem solved or not?

            C 1 Reply Last reply Reply Quote 0
            • C
              cwdallas @pandian.nano
              last edited by

              @pandian-nano Yes! thank you so much

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