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

    MQTT and m5 core ink

    UIFlow
    2
    3
    3.0k
    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.
    • L
      luarmr
      last edited by

      Hi everyone, I am having an issue.

      I create a program with uiFlow where I subscribe the decide on a topic in mqtt and change the screen with the text in the topic.
      The program worked perfectly for a while, but it looks like it lost the subscription to the MQTT broker because after a period of inactivity stop to reacting to the topic change.

      The broker seems to work fine with other devices, so I assume that the problem is on the M5.

      Do I have to loop m5mqtt.start() ???

      Also, the keep-alive is on 300

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

        Hello @luarmr

        are you running the M5CoreInk from USB or battery? If from battery, could it simply have run out of juice?

        Thanks
        Felix

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

        1 Reply Last reply Reply Quote 0
        • L
          luarmr
          last edited by

          Battery, but the battery looks fine.
          If I turn the power on and off. the device picks up. Also, we are talking about minutes not days. After a full charge.

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