Code Monkey home page Code Monkey logo

Comments (9)

alengwenus avatar alengwenus commented on June 22, 2024 1

Manual charging release lets you protect the wallbox from external misuse. When enabled the charging process will not start automatically when a car is connected.

If you turn the big black knob on your wallbox, then you can switch the charging mode to "Smart Charging". That means that the wallbox only charges if there is enough solar power available. In Smart Charging, you can use the input controls to "program" a charging session: The energy, you need at least for your next trip and the time, when the charging process should be finished. These are the same settings as there are in the SMA app (provided that the wallbox has been set to Smart Charging).
In "Boost Charging" mode the input controls do nothing.

from ha-sma-ev-charger.

alengwenus avatar alengwenus commented on June 22, 2024

Hi @nanosonde ,
itβ€˜s basically done and already implemented in this branch. I also wrote the underlying Python library here.
I just need some time to make a custom component out of it (or integrate it into HACS), write some documentation and publish the Python package. πŸ™„

from ha-sma-ev-charger.

alengwenus avatar alengwenus commented on June 22, 2024

Hi @nanosonde,
I pushed the files to this repo and added the necessary files for a custom_component.
Still missing some documentation but if you know how to add a custom_component to HomeAssistant (manual or as a user defined repo via HACS), the integration should be self explanatory.
Once the custom_component is added go to your integrations page and you should be able to add the "SMA EV Charger" integration which will setup all implemented entities.
Please provide feedback, wishes or issues!

from ha-sma-ev-charger.

nanosonde avatar nanosonde commented on June 22, 2024

Hi @alengwenus,
thanks for the update.

I have already fiddled with it a bit.

This is how the config flow looks like in HA core 11.3.

grafik

However, it seems to be added correctly:

grafik

I wonder why the entities are editable.

Any ideas?

from ha-sma-ev-charger.

nanosonde avatar nanosonde commented on June 22, 2024

It seems that I have been impatient. :-)

After some time it looks like this now:

grafik

from ha-sma-ev-charger.

alengwenus avatar alengwenus commented on June 22, 2024

Do not fiddle around. I can't support each fiddling. πŸ˜‰
Just copy the custom_components folder from this repo into your config folder (where the configuration.yaml resides) and it should work just fine.

from ha-sma-ev-charger.

nanosonde avatar nanosonde commented on June 22, 2024

Do not fiddle around. I can't support each fiddling. πŸ˜‰ Just copy the custom_components folder from this repo into your config folder (where the configuration.yaml resides) and it should work just fine.

Yes, that's what I finally did. See the result above. ;-)

For me the config screen is broken: no labels. However, looking into the code, I figured out that I have to enter the IP, the user and password.

I used an account with "Admin" role.

from ha-sma-ev-charger.

alengwenus avatar alengwenus commented on June 22, 2024

Looks right. πŸ‘ I'll have a look at the config dialogue. On my system the labels are shown. Sometimes it helps to clear the browser cache.

from ha-sma-ev-charger.

nanosonde avatar nanosonde commented on June 22, 2024

Tested things so far:

  • Operating mode: manually toggling between boost and stop -> working
  • Session energy -> working
  • Session status -> working shows "active" or "sleeping" if car is connected
  • Station meter total -> working, shows the the same value as in the app
  • Station power -> working, shows the the same value as in the app
  • Position rotary -> shows the correct value for boost (others not tested yet)
  • LEDs status -> shows correctly, control not tested yet
  • Disconnect after full charge -> shows correct status, control not tested yet
  • Standby time -> shows correct value as in the parameters as well, control not tested yet

Things unclear (what do they do?):

  • Manual charging release
  • Duration of the session (why can I control them?)
  • Energy of the session (why can I control them?)

from ha-sma-ev-charger.

Related Issues (10)

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.