Coder Social home page Coder Social logo

Comments (5)

rgc99 avatar rgc99 commented on August 15, 2024 1

Stale issue.

from irrigation_unlimited.

johnnysmithy852456 avatar johnnysmithy852456 commented on August 15, 2024

Just for your reference my installation takes 1.18sec to setup.
You could check your error logs that might help

from irrigation_unlimited.

rgc99 avatar rgc99 commented on August 15, 2024

Check your history as well. During startup it gets the previous enabled state to restore and loads the history data. By default it is stored in the config directory called home-assistant_v2.db. Make sure it hasn't grown out of control for some reason and is working properly. Mine takes 1.31 seconds to load.

from irrigation_unlimited.

drthanwho avatar drthanwho commented on August 15, 2024

what does previous enabled state mean exactly btw?

I'm not using sqlite but MariaDB and on an SSD so I wouldn't expect that to be an issue. Usually things load pretty fast for history.
On last restart it took 40s which is perhaps a bit longer but at least acceptable compared to 3mins. I don't see any errors but I'll enable debug for it and see if anything there gives any hints

from irrigation_unlimited.

rgc99 avatar rgc99 commented on August 15, 2024

The enabled is an attribute on the controller and zone entities. It is manipulated by the enable/disable/toggle service calls. The attribute is persistent and survives HA restarts. The previous state of this attribute is read from HA and set accordingly during startup. Kind of like how one might attempt restarting watering...

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.