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

Support for enable/disable Zaptec Eco Mode #153

Open
peterlindqnet opened this issue Jan 5, 2025 · 3 comments
Open

Support for enable/disable Zaptec Eco Mode #153

peterlindqnet opened this issue Jan 5, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@peterlindqnet
Copy link

Zaptec seems to offer a charge optimization service called EcoMode that can be enabled via API or via the Zaptec portal, which can be useful for some users.

To override the EcoMode one needs to disable it, it would be very useful to be able to do this via HomeAssistent.

To enable/disable, it seems one uses the API calls:

curl 'https://api.zaptec.com/api/installation/000000000-1111-2222-333333333333333' -X PUT

with data like:
"EnabledFeatures": 12,
"Feature_PowerManagement_EcoMode_DepartureTime": 360,
"Feature_PowerManagement_EcoMode_MinEnergy": 10,
"Feature_PowerManagement_EcoMode_DeliveryArea": 8,

It would be super to have this feature in the integration.

@sveinse
Copy link
Collaborator

sveinse commented Jan 5, 2025

How would you envision using this from HA? There are a few additional parameters here, like DepatureTime, MinEnergy and DeliveryArea. Any suggestions on how to adjust those? Do you know what they represent?

The parameters could be entity number dials and the Eco mode could be a binary switch that enable and disable the function. If these additional parameters are not intuitively added as entities, it is possible to offer this as a service call. Then you need to use automation to activate/deactivate Eco mode.

Any thoughts?

@sveinse sveinse added the enhancement New feature or request label Jan 5, 2025
@peterlindqnet
Copy link
Author

I envision this would be used as a simple binary toggle only.

When Zaptec Eco mode is enabled you would need to disable it if you want to recharge the car. You could do this from the Zaptec App but it would be much nicer to have it in Homeassistant.

I don't really see the need to modfy the other dials and settings of Eco mode from HomeAssistant, it seems more like a one time config that can be done directly via Zaptec.

Using automation to trigger this would work well.

@zarilion
Copy link

zarilion commented Jan 7, 2025

I second this, a simple toggle is a good solution for this.

The other parameters are for the Eco mode to know when to start charging, departure time for when you normally leave and need the car to be charged. MinEnergy is the minimum charged amount it has to be by that time. And the DeliveryArea is what pool you are part of for pricing. With those parameters the charger knows when to start charging to charge the needed amount, by the time you normally leave in the cheapest hours possible.

I have mine set to 8:00 departure, NO1 zone, and 45kWh(I drive a lot every day). That way I can always just put it in the charger when I get home, and know that the charger starts charging when it is cheapest, and that I get enough charge.

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