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

Current development status #1

Closed
nanosonde opened this issue Nov 27, 2023 · 9 comments
Closed

Current development status #1

nanosonde opened this issue Nov 27, 2023 · 9 comments

Comments

@nanosonde
Copy link

Hi Andre!

Very nice that you are are working on a native integration for the SMA EV Chargers.

What is the current state of your custom integration?
Do you also plan to integrate mode switching as far as possible?

@alengwenus
Copy link
Owner

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. 🙄

@alengwenus
Copy link
Owner

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!

@nanosonde
Copy link
Author

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?

@nanosonde
Copy link
Author

nanosonde commented Nov 30, 2023

It seems that I have been impatient. :-)

After some time it looks like this now:

grafik

@alengwenus
Copy link
Owner

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.

@nanosonde
Copy link
Author

nanosonde commented Nov 30, 2023

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.

@alengwenus
Copy link
Owner

alengwenus commented Nov 30, 2023

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.

@nanosonde
Copy link
Author

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?)

@alengwenus
Copy link
Owner

alengwenus commented Nov 30, 2023

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.

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

No branches or pull requests

2 participants