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

    MQTT Issues

    Scheduled Pinned Locked Moved UIFlow
    5 Posts 2 Posters 4.5k Views 2 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.
    • C Offline
      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 Offline
        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 Offline
          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 Offline
            pandian.nano @cwdallas
            last edited by

            Hi @cwdallas, problem solved or not?

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

              @pandian-nano Yes! thank you so much

              1 Reply Last reply Reply Quote 1

              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