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

    M5Stack (Stick|Atom) with Xiaomi LYWSD03MMC

    PROJECTS
    3
    4
    8.2k
    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.
    • T
      Thrasher
      last edited by

      Hi,
      Just wonder if anyone tried to read data from bluetooth xiaomi temp/humi sensors
      I've seen examples with arduino/esp32 but Im looking for micropython code as its more convinient to build UI with it
      Not interested in MQTT for now, just getting data and transmitting it on screen label
      I can get thermometer ID with some phone bluetooth software but got no clue (yet) how to send handshake and aquire data

      Thanks

      1 Reply Last reply Reply Quote 0
      • E
        ehm.education
        last edited by

        Most likely possible through GATT client
        https://docs.micropython.org/en/latest/library/ubluetooth.html#gatt-client

        1 Reply Last reply Reply Quote 0
        • T
          Thrasher
          last edited by

          Sorry can't tolerate GATT with my problem,
          trying with Arduino C++ right now

          1 Reply Last reply Reply Quote 0
          • alperianA
            alperian
            last edited by

            did you find any micropython code any bluetooth communication for arduino. with arduino c code communication is not hard.i made reader https://i.ibb.co/tLJyWht/mireader.png
            it is reads actual values and creates array for histogram.half part of the screen show histograms graph
            alt metni
            i used nRF Connect app on android which bt id and details will be used on the code.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post