Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Total wallbox usage missing #90

Open
3 tasks done
derhappy opened this issue Nov 24, 2023 · 3 comments
Open
3 tasks done

Total wallbox usage missing #90

derhappy opened this issue Nov 24, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@derhappy
Copy link

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

There is an entity for wallbox consumption (kW), but the entity for the total consumption (kWh) is missing.

This is the only entity missing for me to switch from my previous e3dc interface to this integration. There is also more detailed data available (kWh solar / net), but for me the sum is already enough.

Describe the solution you'd like

A new entity for wallbox_consumption_total (or _today) is available.

Describe alternatives you've considered

A Riemann integral would technically be possible.
Using another interface to get the data like before would be the another valid option.

Additional context

Currently I'm using the go-rscp command line utility by @spali (https://github.com/spali/go-rscp/). I can get the wallbox data with these keys:

  [ # day current
    "DB_REQ_HISTORY_DATA_DAY",
    [
      ["DB_REQ_HISTORY_TIME_START", some nonsense ],
      ["DB_REQ_HISTORY_TIME_INTERVAL", more nonsense ],
      ["DB_REQ_HISTORY_TIME_SPAN", guess ]
    ]
  ],
  [
    "WB_REQ_DATA",
    [
      ["WB_INDEX", 0],
      "WB_REQ_ENERGY_ALL",
      "WB_REQ_ENERGY_SOLAR"
    ]
  ]
]

example result

result:
  DB_SUM_CONTAINER:
    DB_GRAPH_INDEX: -1
    DB_BAT_POWER_IN: 799.5
    DB_BAT_POWER_OUT: 731.5
    DB_DC_POWER: 4714
    DB_GRID_POWER_IN: 57
    DB_GRID_POWER_OUT: 57612
    DB_CONSUMPTION: 63710
    DB_PM_0_POWER: 0
    DB_PM_1_POWER: -1874.5
    DB_BAT_CHARGE_LEVEL: 17.696
    DB_BAT_CYCLE_COUNT: 0
    DB_CONSUMED_PRODUCTION: 99.07392
    DB_AUTARKY: 9.571495
  WB_INDEX: 0
  WB_ENERGY_ALL: 60670
  WB_ENERGY_SOLAR: 599
friendly_name: e3dc_today

Diagnostics dump

e3dc_dump.json

@derhappy derhappy added the enhancement New feature or request label Nov 24, 2023
@derhappy
Copy link
Author

I think this data is still missing from the library you're using, so I updated a feature request there with some additional data.

@torbennehmer
Copy link
Owner

@derhappy I'll look into this. One thing, could you send me a diagnostics dump when your WB is loading? I've not yet seen how the existing API reacts if the WB is active. Please attach it to #54. That would be cool!

@T1ppes
Copy link

T1ppes commented Apr 28, 2024

Wallbox Interactions have been merged to python-e3dc today.
fsantini/python-e3dc#116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants