Giter Club home page Giter Club logo

Comments (8)

technyon avatar technyon commented on July 3, 2024

There's nothing obvious in your settings. What could drain your battery is constant querying of the lock, but to confirm this you'd need to get serial or MQTT logs.

from nuki_hub.

iranl avatar iranl commented on July 3, 2024

In the supplied info nrRetry: is empty.
This translates to the Number of retries if command failed in Advanced Nuki Configuration page.
This might cause a loop?

Please check that Number of retries if command failed is set to a positive integer (3 is default)

from nuki_hub.

spaggi avatar spaggi commented on July 3, 2024

Thanks a lot for answering! @technyon I enabled MQTT logging but I cannot see anything here for the last 5 minutes
image

@iranl thanks a lot, I changed the setting. Will see if itmakes a difference!

from nuki_hub.

spaggi avatar spaggi commented on July 3, 2024

@technyon have you seen my remark before:

"What I can see in the MQTT Log that there are messages every 3 seconds on nuki/presence/devices."

image

Is this normal?

from nuki_hub.

iranl avatar iranl commented on July 3, 2024

Yes. Presence detection updates these values every few seconds. Presence detection works independently from the lock/opener (its a function of Nuki Hub, not the Nuki device) and does not cause battery drain on the Nuki device.

from nuki_hub.

spaggi avatar spaggi commented on July 3, 2024

Hi, after changing the setting the discharge of 2% a day seems still to be the case.

The lock is fully locked and unlocked 2 times a day and the latch is opened maybe 5 times a day.

Do you have a suggestion how I can diagnose this further?

from nuki_hub.

technyon avatar technyon commented on July 3, 2024

@spaggi If you don't see continuous messages coming in, that's how it should be. If there's constant querying of the lock (which drains the battery), each query will generate log messages. Keep observing the messages though, and best case keep a history of messages for a day or so.

Are you sure this is related to Nuki Hub? You could easily check by unplugging your ESP for some time and observe the battery.

from nuki_hub.

spaggi avatar spaggi commented on July 3, 2024

I will go on vacation soon so this will be a good time to monitor potential drain. Ill check the messages too. Thank you! For now I will close this as there might be nothing wrong

from nuki_hub.

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.