Git Product home page Git Product logo

Comments (7)

Kane610 avatar Kane610 commented on September 6, 2024 1

Not yet, but I'm doing nearly a full rewrite of the library and those changes might affect this as well

from deconz.

Kane610 avatar Kane610 commented on September 6, 2024 1

This has been solved 🎉

from deconz.

Kane610 avatar Kane610 commented on September 6, 2024

Why would you need two decimals of precision? The sensors aren't calibrated anyway so even one decimal is generous here :)

from deconz.

ACrazyConcept avatar ACrazyConcept commented on September 6, 2024

Mainly because it is there. It was made available in the device firmware and in the deCONZ REST API. Of course I acknowledge that precision<>accuracy and that this might be nitpicking and I am totally fine either way :)
It just seems more correct to provide the values that are actually there and let people round them in HA if they want to.

I am doing some testing atm and I can see that I get more readings and by that a smoother graph for some sensors.
Edit: This is a Tuya based sensor:
image

I have tried to "calibrate" by setting the offset value via the REST API.
image

from deconz.

Kane610 avatar Kane610 commented on September 6, 2024

Interesting. I could Probably change it in the lib but since it's been like this for a long time I should still limit the resolution on hass side as not to break possible automations.

The more I think about it trying to respond here I'm not certain changing it would affect anyone negatively. Could possibly be used together with significant change logic in hass to not trigger too many updates to the state machine.

This requires more thought

from deconz.

ACrazyConcept avatar ACrazyConcept commented on September 6, 2024

Sure thing. No rush about it. Let me know if I can assist with some testing if it gets to that.

from deconz.

ACrazyConcept avatar ACrazyConcept commented on September 6, 2024

Hi @Kane610
Have you given this any further thoughts?

from deconz.

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.