Giter VIP home page Giter VIP logo

esp32_atc_mithermometer_library's Introduction

⚠️ This repository is deprecated and no longer maintained. The recommended alternative is ATC_MiThermometer which inherits many benefits from using NimBLE-Arduino instead of ESP32 BLE for Arduino (aka Bluedroid). ATC_MiThermometer can be used as a direct replacement without any changes of the sketch.

ESP32_ATC_MiThermometer_Library

Build Status GitHub release License: MIT

ESP32 BLE Client Library for receiving ATC_MiThermometer Data (as Advertising Data) - currently only the "custom" format is supported, not the original atc1441 format!

This project allows to receive data from a battery-powered bluetooth low energy thermometer/hygrometer like the Xiaomi Mijia (LYWSD03MMC) running the custom firmware ATC_MiThermometer. The software runs in the Arduino environment on an ESP32.

The ATC_MiThermometer firmware sends the sensor and status data as BLE advertisements, i.e. multiple clients can receive and use the sensor data.

Note:

There is a known bug in the Arduino BLE library (fix available): ESP32 BLE scan, example works but devices found is always 0

You must apply this fix for using this library!

If you have the Arduino esp32 library >= 2.0.4 installed, you don't need to apply the the fix.

esp32_atc_mithermometer_library's People

Contributors

matthias-bs avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

esp32_atc_mithermometer_library's Issues

Incorrect values

Hi!
I really appreciate the dedicated work on this project, I did countless tests without success on this model.

I installed your custom firmware and library from Arduino repository.
IDE 1.8.19
Fixed BLEScan.cpp

          } //else if (!m_wantDuplicates && !found) {   // if no callback and not want duplicate, and not already in vector, record it
          if (!m_wantDuplicates && !found) { 

Result:

Sensor0:
102.41°C
97.73%
3.594V
43%
-58dBm

Sensor1:
107.53°C
87.48%
59.401V
60%
-59dBm

Devices found: 7

At the display 29.7C 43% for sensor 0 and 29.8 44% for sensor1

What am I doing wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.