Git Product home page Git Product logo

Comments (8)

brandgul01 avatar brandgul01 commented on July 4, 2024 2

Update: Found an extra extreme value, changed it to "0" and now everything works.

from ha-ferroamp.

bj00rn avatar bj00rn commented on July 4, 2024 1

Edit: I resolved the problem and removed all the incorrect negative statistics for all total increasing sensors.

from ha-ferroamp.

argoyle avatar argoyle commented on July 4, 2024 1

The energy dashboard uses the long term statistics (which of course is based on the sensor values). It stores differences over a given time period for the sensor values. Some of the sensors are of the "strictly increasing" type and when a value is received from the EH that is lower than the previous value the sensor is reset which will cause a spike. The value should be strictly increasing from EH as well but I know that there was a problem for some users in a firmware update version some time back.

from ha-ferroamp.

brandgul01 avatar brandgul01 commented on July 4, 2024 1

@bj00rn I used the button "find extreme values". Very useful. Will go through all again. Also strange that I get no values on the home-icon. But I guess it's caused by the same fault.
@argoyle Thanks for your input as well. If the problem is on the EH-side with a suddenly changed value to the negative I guess it's impossible for anyone then Ferroamp to adjust that. Should be possible to see in the web portal stats though.

from ha-ferroamp.

argoyle avatar argoyle commented on July 4, 2024

Hmmm, it shouldn't happen just because the sensor goes unavailable I think. Those are strictly increasing sensors if I don't misremember and those are reset if the values decrease. Could be that you were bitten by the problem some others have had that the EnergyHub decreased some sensor values in some update.

from ha-ferroamp.

bj00rn avatar bj00rn commented on July 4, 2024

Hmmm, it shouldn't happen just because the sensor goes unavailable I think. Those are strictly increasing sensors if I don't misremember and those are reset if the values decrease.

Could be that you were bitten by the problem some others have had that the EnergyHub decreased some sensor values in some update.

Hard to tell since state (kept for two weeks) has been cleared from state tables and moved to statistics by now. When I removed the statistics outliers the statistic recovered fine though. I highly suspect this is related to MQTT bridge coming back online. I will try checking what the EH is reporting.

from ha-ferroamp.

brandgul01 avatar brandgul01 commented on July 4, 2024

I might have a similar problem. installed MQTT bridge via mosquito yesterday and had a gap in maybe two weeks with no statistics saved. Before I connected directly with HAs client to Energyhubs broker. Today my energy-view is bananas. I found a large minus stat in mars with the method you used bjOOrn and removed it. but it didn't solve the problem. If I look at the sensors individually everything looks ok to me but added to HA internal energy page it doesn't make sense at all. I will try to continue to solve this, with the limited HA knowledge I have.
Skärmavbild 2024-05-14 kl  23 13 58
Skärmavbild 2024-05-14 kl  23 09 00
Skärmavbild 2024-05-14 kl  23 08 52

from ha-ferroamp.

bj00rn avatar bj00rn commented on July 4, 2024

@brandgul01 adjust all weird looking statistic entries to 0 fixed it for me. You probably forgot some. Once you have found the exact time the process is straightforward

from ha-ferroamp.

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.