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

[feature_request] Expose EVCC controls to HA #78

Open
andreas-bulling opened this issue Dec 16, 2023 · 10 comments
Open

[feature_request] Expose EVCC controls to HA #78

andreas-bulling opened this issue Dec 16, 2023 · 10 comments

Comments

@andreas-bulling
Copy link

I have successfully configured EVCC in my HA installation, everything works perfectly.

The only thing that is a bit annoying: I have to manually enable the charging by clicking on "fast charging" in the EVCC web interface. I don't seem to find a way to automate this as the EVCC integration doesn't expose any of the controls to HA. Would be great if that was possible.

@Skeeve245
Copy link

This is exactly the same request I have right now 😄

@andreas-bulling
Copy link
Author

One can enable MQTT in EVCC, of course, and then create custom sensors, e.g.

mqtt:
  sensor:
    - name: Vehicle Charge Power
      icon: mdi:ev-station
      state_topic: "evcc/loadpoints/1/chargePower"
      unit_of_measurement: W

But this is super tedious as there are a large number of MQTT values...

@Skeeve245
Copy link

This is exactly what I did and what worked for me!

@andreas-bulling
Copy link
Author

It does of course - but it is tedious. Would be nicer if all values would be exposed "by default"/automatically

@Skeeve245
Copy link

To create not only a sensor but also a switch you need the following code:
`mqtt:
sensor:
- name: Vehicle Charge Power
icon: mdi:ev-station
state_topic: "evcc/loadpoints/1/chargePower"
unit_of_measurement: W

- name: Lade IONIQ mit voller Leistung
  icon: mdi:ev-station
  state_topic: "evcc/loadpoints/1/mode"

switch:
- name: "Lademodus IONIQ"
command_topic: "evcc/loadpoints/1/mode/set"
state_topic: "evcc/loadpoints/1/mode"
payload_off: "pv"
payload_on: "now"`

@andreas-bulling
Copy link
Author

Do you also have to start charging through the app or does the car start charging immediately once you activate fast charge in evcc?

@Skeeve245
Copy link

Hi Andreas, depends on your configuration of hardware (car, wallbox and possible energy manager) and software EVCC and Home Assistant and the parameters of all ....
Yesterday evening I used above described switch to switch to full load if connected and then connected my car this morning. I was expecting that the car would start immediately because of the switch. Nothing happend ...
Unfortunatley I installed the update of Home Assistant before this which restarted the Home Assistant and with this EVCC. And after restart EVCC goes to PV mode ...
So maybe its working maybe not, I am too lazy to go out and try it again, car is happy charging now :-D

@Skeeve245
Copy link

Okay it was not the restart of EVCC but that I set the mode in EVCC.yaml. Commented it out and will see whether the choosen mode will stay ...

@Skeeve245
Copy link

The mode stayed, so everything is as I want it :-D

@hzpz
Copy link
Sponsor

hzpz commented Jan 22, 2024

This was requested on the main project as well: evcc-io/evcc#11256

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

3 participants