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

    Unit V2 MQTT support

    Units
    3
    3
    4.9k
    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
      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
        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
          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
          • First post
            Last post