Coder Social home page Coder Social logo

Log book entries about irrigation_unlimited HOT 4 CLOSED

rgc99 avatar rgc99 commented on July 17, 2024
Log book entries

from irrigation_unlimited.

Comments (4)

rgc99 avatar rgc99 commented on July 17, 2024

I don't think so. The adjustment is triggered by a change in the average sensor which is triggered by a change in sensor.wupws_temp. So what's going on? If you put this code into Developer Tools->Template->Template editor it will show the last update of the sensor.wupws_temp and the sensor created by the average platform.

wupws_temp: {{ states.sensor.wupws_temp.last_updated }}
Moving average: {{ states.sensor.irrigation_unlimited_temperature_5_day_moving_average.last_updated }}

Looks like the 5 day moving average sensor has updated yet the input sensor sensor.wupws_temp did not. Not sure why it would update when the dependent entities did not. Worth posting a question to https://github.com/Limych/ha-average

The good news is Irrigation Unlimited checks the adjustment request against the current and will ignore if it is the same.

from irrigation_unlimited.

johnnysmithy852456 avatar johnnysmithy852456 commented on July 17, 2024

Hi thanks for that info. After checking the Template editor I found the temp sensor updating as normal looks like every 1℃ increments defiantly not every 30sec like the average sensor is changing. Ill ask the question over at https://github.com/Limych/ha-average.

from irrigation_unlimited.

johnnysmithy852456 avatar johnnysmithy852456 commented on July 17, 2024

Ok Limych has replied and it's normal for the average sensor to pole that often.
"If you are not satisfied with this, you can change the refresh rate of the sensor. https://www.home-assistant.io/docs/configuration/platform_options/#scan-interval

from irrigation_unlimited.

rgc99 avatar rgc99 commented on July 17, 2024

It would be nice if it only updated when something changed but this a polling integration. Can't think of an easy workaround so I will change the scan_interval in the examples to say 10 minutes.

from irrigation_unlimited.

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.