šŸ¤–Have you ever tried Chat.M5Stack.com before asking??šŸ˜Ž
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    MQTT Publish working but subscribe hangs device

    Bug Report
    2
    3
    3.3k
    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.
    • T
      tobievii
      last edited by

      Hi, I've been testing on 3 different MQTT instances, i can publish from the UI FLOW on my Fire Core unit. As soon as i add the subscribe to a topic the units freeze and nothing happens. Ive tried on 4 different Fire Cores i have with me and on 2 different stick C models, add do the same, as soon as you add subscribe the units boot and seem like it tries to connect to MQTT then freezes

      Using firmware 1.4.2

      0_1577528071067_00ec3a9f-6b32-4d7b-a382-648b218706bc-image.png w

      1 Reply Last reply Reply Quote 0
      • world101W
        world101
        last edited by

        Try removing the ā€œConvert to strā€ block from label0 to see if that helps.

        world101W 1 Reply Last reply Reply Quote 0
        • world101W
          world101 @world101
          last edited by

          @world101 said in MQTT Publish working but subscribe hangs device:

          Try removing the ā€œConvert to strā€ block from label0 to see if that helps.

          On second thought, after some testing I’m seeing the same thing. It doesn’t have to do with the Convert to str block in the subscribe block. It seems to hang for me in the loop when reading the temperature or humidity values from the env unit. If you put some dummy text values as strings into the map, it works fine. So I’ll continue testing to see if I can find another way to fix it. If I come up with something, I’ll post it here.

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