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

    Atom Socket UIFlow example?

    Scheduled Pinned Locked Moved Units
    atom socket
    5 Posts 2 Posters 6.0k 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.
    • R Offline
      robjasey
      last edited by

      I purchased an Atom Socket that I want to control using MQTT. I see there is an arduino example on the website but no UIFlow version. If there is no micropython module to control the socket , is there a description of the communication protocol so I can create the class myself?

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

        Hello @robjasey

        see this post to switch Atom Socket on / off.

        Thanks
        Felix

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

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          robjasey @robjasey
          last edited by

          @robjasey Looks like I was able to figure it out from the arduino code. Note that at this time I was only interested in turning on or off the socket, not monitoring the voltage or current. Basically you control the socket through Pin 23. I created a simple example that would turn on or turn off the socket from the button or an MQTT message to "socket" which I would have attached but it appears attachments are not supported in the community (or I don't know how to do it).
          Cheers!

          1 Reply Last reply Reply Quote 0
          • R Offline
            robjasey @felmue
            last edited by

            @felmue Thanks! I made a simple MQTT UIflow example that I'd be willing to post. Do you know if there is a way to do that ?

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

              Hello @robjasey

              I am glad to hear you got it working to your liking. The forum allows to upload pictures (cloud symbol with arrow) or you could post the resulting python code.

              Thanks
              Felix

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

              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