Giter Site home page Giter Site logo

HA Energy Dashboard about ha_sonnenbatterie HOT 7 OPEN

weltmeyer avatar weltmeyer commented on August 27, 2024
HA Energy Dashboard

from ha_sonnenbatterie.

Comments (7)

weltmeyer avatar weltmeyer commented on August 27, 2024 1

I would advice to use 'left' as discussed on ha forums here: https://community.home-assistant.io/t/riemann-integral-calculates-wrong-values-with-electrical-devices/328174

this way, you dont sum the spike values you can have from you appliances over to the previous value. also, the sensor updates on change. this means you can assume the wattage was the same since last value until the sensor changed.

from ha_sonnenbatterie.

WLammert avatar WLammert commented on August 27, 2024

Ah, ok, maybe it's worth taking it into the main readme file ;-)

Thank you anyway, great plugin!

from ha_sonnenbatterie.

KlavsKlavsen avatar KlavsKlavsen commented on August 27, 2024

One thing not mentioned here. The Rieman integration also wants to know which of 3 methods to use: Trapezoidal rule, Left Riemann Sum or Right Riemann Sum.
I have assumed the default, Trapezoidal rule is to be used (we'll see if things work when its run a bit).
,

from ha_sonnenbatterie.

jezzaaa avatar jezzaaa commented on August 27, 2024

Thanks for doing this integration. I don't yet have a battery, but I'm looking at Sonnen, and it would be really awesome to have this integrated with HA.

Because it may confuse people (and this is quite a common cause of confusion), I feel I should point out some errors in what you wrote:

As Energy is Power over Time, you need to measure power that is pushed through your home for a certain time.

No, energy is not power over time; it's the reverse: power is energy over time. Power is in Watts. Energy is in Watt-hours (Watts x hours), not Watts-per-hour (W/h). But yes, your conclusion is absolutely correct, we need to measure power AND time to get energy.

Example: You are using a fridge, which is drawing a constant 100W. After one hour your fridge used 100W/h, after 24h it used 2400Wh or 2.4kWh :)

The answers are correct, but the W/h unit is not. After one hour your fridge used 100Wh (not 100W/h). After 24h it used 2400Wh (24 * 100). If it was Watts/h then the calculation would be 100/24 = around 4.2W/h.

There's really no such thing as Watts-per-hour (or W/h or kW/h or MW/h). In this context, it's a meaningless unit. The correct unit is Watt-hours (Wh or kWh, etc).

from ha_sonnenbatterie.

weltmeyer avatar weltmeyer commented on August 27, 2024

@jezzaaa you are right. I hated that in math but its that simple
its not w/h but w*h so 100w * 1h=100 * w * 1 *h =100 * 1 * w * h .. sorry for my missung of "per" and the wrong unit maths.
the outcome is still right looking only at the numbers ;)

I corrected my description and hope that fits better.

from ha_sonnenbatterie.

justinmstark avatar justinmstark commented on August 27, 2024

Out of interest, are you able to share the full YAML code for the dashboard.
I am still learning all of the YAML coding models and learning by working example is perfect for me.

Thanks.

from ha_sonnenbatterie.

KAES3187 avatar KAES3187 commented on August 27, 2024

You need no YAML-Coding -> https://www.home-assistant.io/integrations/integration/

from ha_sonnenbatterie.

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.