GithubHelp home page GithubHelp logo

Update Interval about ha-solarman HOT 3 CLOSED

Summer-of69 avatar Summer-of69 commented on August 23, 2024
Update Interval

from ha-solarman.

Comments (3)

davidrapan avatar davidrapan commented on August 23, 2024 1

Hi Barnie, the update interval of the integration is somewhat hardcoded and due to many reasons is not really possible to make it any lower.

That being said if you want to fine control update intervals of specific sensors you can do it inside inverter definition yaml file by setting for example 'update_interval: 30' which translates to update every 30 seconds or 'realtime:' which translates to every 5 seconds which is integration minimum. But you have to remove registry sets at the start of the yaml file (if it's present) which are used to determine requests. Removing those 'request sets' will activate dynamic requests.

You can see all that in practice for example in the 'deye_sg04lp3.yaml' file.

Have fun!

from ha-solarman.

Summer-of69 avatar Summer-of69 commented on August 23, 2024 1

Hi David!
Thanks for the explanations, now I'm a bit smarter again!
I have now found the file in which the interval can be set. The 5 seconds are too often for me, so I have now set a value of 15 seconds.
Thank you for your commitment and this great solution!

from ha-solarman.

davidrapan avatar davidrapan commented on August 23, 2024 1

The possibility of too often never even occurred to me.. As there for sure are sensor which don't need to be requested often which are for example those 'Total' ones.. But for sensors which shows for example PV Power I wanted to always have the most accurate value possible. But sure others might see it differently and that's why is there the possibility to change it. 😉

Even when one takes into consideration the question of too 'much data'.. HA does 5m sampling anyway so sub 5m intervals does not make any difference other than impact to direct observability.

Thank you for your kind words! And as always, have fun!

from ha-solarman.

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.