Giter Club home page Giter Club logo

Comments (10)

KlausPuchner avatar KlausPuchner commented on July 18, 2024 1

Home Assistant 2022.7.5
Frontend 20220707.1 - latest

Thank you very much for your efforts :)

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024 1

Please take another look after a few hours at your energy dashboard. The propagation of the data just takes some time.

from homeassistant-goecharger-mqtt.

KlausPuchner avatar KlausPuchner commented on July 18, 2024 1

Awesome, it works! Thank you so much! :)

from homeassistant-goecharger-mqtt.

KlausPuchner avatar KlausPuchner commented on July 18, 2024

I just found that in the energy dashboard setting there is a warning/error hidden:

image

No idea if this has something to do with my issue mentioned above

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

Which Home Assistant version do you use? I will try to reproduce the issue with a fresh Home Assistant instance (2022.8.0) tomorrow.

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

Which version of this custom component do you use?

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

I made some progress: It looks like you are the first one using the key wh at the energy dashboard. More common is using eto (total energy). Could you do me a favor? Please check the history of your wh sensor. Does the value reset once a day or does it increase without resets? Could you try to explain the difference between eto (total energy) and wh (energy charged)?

Is this assumption correct: If you charge your car 3 times a day the wh sensor increases 3 times from 0 to charged energy?

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

I've pushed a fix which should fix the issue (hopefully): 9274c85

Home Assistant is able to convert between Wh and kWh. There is no need to help here / changed units. Changing units is a breaking change which I'm trying to avoid.

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

I've published some fake traffic using

I=0
while true;
do
  I=$(($I+1000))
  mosquitto_pub -r -t /go-eCharger/111111/wh -m $I
  sleep 60
  echo $I
done

and checked the energy dashboard 1-2 hours later:

a
b
c

On my side it looks fine now. I will prepare a release now. Please update your custom component to the new version and close the issue if it's solved.

from homeassistant-goecharger-mqtt.

KlausPuchner avatar KlausPuchner commented on July 18, 2024

Hi! Thank you for your incredible support! :) And sorry for my late response :(

I just updated the custom component to 1.12.1 and home assistant to 2022.8.1 (which was requested due to compatibility issues).

Unfortunately the energy dashboard still does not show the charged energy amount (it seems to still get it in wh instead of kwh), although the weird warning/error message I mentioned earlier did disappear now.

Regarding eto (total energy) vs. charged energy: I can not choose any sensor named eto in the energy dashboard configuration. I also cannot tell the difference beteeen eto and charged energy, but imo only charged energy makes sense in the case of the energy dashboard (since it is only necessary to include the actually consumed power).

Loading multiple times should work, but unfortunately it seems I have lost the old charging data when I readded the charged energy sensor to the energy board.

from homeassistant-goecharger-mqtt.

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.