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

    Unit V2 MQTT support

    Scheduled Pinned Locked Moved Units
    3 Posts 3 Posters 5.9k Views 2 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.
    • A Offline
      ariese
      last edited by

      how can I get a MQTT support for the Unit V2. Is it possible to remotely control the Unit V2 functionality like with JSON?
      Where can a get the MQTT Jupiter page?
      Thanks a lot

      1 Reply Last reply Reply Quote 0
      • m5stackM Offline
        m5stack
        last edited by

        1. configure wifi connect. tutorial

        2. run some MQTT python script

        such like:

        https://www.emqx.com/en/blog/how-to-use-mqtt-in-python

        1 Reply Last reply Reply Quote 0
        • konacurrentsK Offline
          konacurrents
          last edited by konacurrents

          I just received my Unit V2 and was wondering the same about running MQTT. Doing some digging on the chip and I found they already include the mosquito broker, and it works right out of the box.

          I also got the wpa_supplicant to connect this device to an ssid of my network. Now the device can just startup without the serial wire.

          Has anyone connected the existing server.py code to MQTT or other interfaces?

          Is the best approach just to modify the server.py code to start performing the additional operations, like publishing the JSON data over MQTT?

          thanks.

          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