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

    Working MQTT and AtomS3 sample

    Scheduled Pinned Locked Moved Atom
    1 Posts 1 Posters 1.3k Views
    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.
    • B Offline
      bluedude
      last edited by

      Hi,

      I took me a while to get MQTT subscribe working, i'm always surprised how sparse M5's documentation is. This company would do so much better with more samples and better documentation. The hardware and price is great but it lacks a certain degree of details.

      Anyway, hereby a working sample with a EMQX MQTT broker which we setup on our own server with elast.io.

      We tested the sample and it works. The trick for Subscribe was using MQTT apply for messaging in the Loop. Without that it wont't work.

      See the blog

      Next problem is getting some code to be able to change WIFI credentials on the fly without needing to burn an image again. What happened to WIFI Smart Config?

      blog

      1 Reply Last reply Reply Quote 0
      • robskiR robski referenced this topic on

      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