Giter Site home page Giter Site logo

Comments (2)

Ernst79 avatar Ernst79 commented on June 29, 2024

I think that this is a difference in how the information is obtained.

  • The TelinkFlasher is connecting to the device and "asking" for the temperature. In BLE terms, this is called reading the characteristics.
  • BLE monitor is passively listening to BLE broadcasts. This won't require to set up a connection, the sensor is just broadcasting every x minutes its current temperature.

The passive BLE advertisements are with one digit precision. It actually sends an integer (zero precision) and divides that by 10 making it 1 digit precision. So it is not possible to get 2 digit precision, unless you make a connection (which is out of the scope of BLE monitor.

def obj1004(xobj):
    """Temperature"""
    if len(xobj) == 2:
        (temp,) = T_STRUCT.unpack(xobj)
        return {"temperature": temp / 10}
    else:
        return {}

from ble_monitor.

MichalLytek avatar MichalLytek commented on June 29, 2024

Thanks for the clarification.

I wanted to calibrate the readings from my sensors by manipulating the offset but 1 digit precision rounding is a bit limitating. It's ok for temperature tracking in HA although.

opera_prJEuB2i4Z

from ble_monitor.

Related Issues (20)

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.