🤖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

    Scheduled Pinned Locked Moved UIFlow
    3 Posts 2 Posters 3.9k Views 1 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.
    • L Offline
      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 Offline
        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 Offline
          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

          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