Giter VIP home page Giter VIP logo

Comments (5)

atc1441 avatar atc1441 commented on July 20, 2024 3

That is a good catch, also here the stock firmware does advertise the service uuid all the time so it cant be that bad, they send about 8 bytes less when not sending the Sensor data so yes its not so much but still the rest.

What i could imagine what draws a lot is the measuring of the battery voltage. did set that to only do on advertising interval on even less, like every 5 minutes or so for now.

Just added it

from atc_mithermometer.

atc1441 avatar atc1441 commented on July 20, 2024 2

Also added to display the battery level as percent on the LCD indicated via the battery symbol

from atc_mithermometer.

atc1441 avatar atc1441 commented on July 20, 2024

There is already an closed issue ablut that topic.

The thing is that BLE is way more often active. For the Stock firmware every 1700ms and for the custom firmware every 1900ms in that period it will advertise its name and additional data like the advertising data.
On stock firmware the advertising data is only once every ten minutes the Sensor data and all the other time it is just 0x08 so even then it will be transmitted. Hope its understandable.

So in theory even changeing the advertising data every 5 seconds should not drain more power but i am not 100% shure about it

from atc_mithermometer.

KoalaBear84 avatar KoalaBear84 commented on July 20, 2024

Sorry about sort of a duplicate ticket. I indeed didn't check that out.

Wow, I didn't expect it was that active by default. It's insane that it could work for 6 months or more by stock firmware. With only deep sleep it could reach 4 years I check, according to your tweets 😂

I guess really sending a lot of updates would drain the battery more, but that is only a feeling, as I don't have any experience with all of this.

from atc_mithermometer.

TheNitek avatar TheNitek commented on July 20, 2024

Well there is one thing to consider: Sending more data in the advertisment means the transmitter has to send more data, which means more power consumption. So even if the adv frequency is the same, it might be bad for the battery if more data is sent.

from atc_mithermometer.

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.