-
Notifications
You must be signed in to change notification settings - Fork 21
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
Comments
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? |
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. |
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. |
first thanks for developing this component. |
Is it possible to enable/disable ECO Mode without specifying any parameters? I.e. what happens if the following is issued I'm asking, because if these parameters must be supplied, we have to make entities/controls in HA for the value/setting of them. Alternatively implement them as service calls and let the user implement all the necessary values as needed. But that way it won't be a toggle. |
In the zaptec app you can enable/disable without touching the parameters. They are mostly a set and forget thing. |
Yes, but I need to know if that information is required to accompany the enable/disable ECO mode operation. Please remember, this is using an undocumented feature of the Zaptec portal, so we need to figure out ourselves what dials to turn.
What happens if this is done with only "EnabledFeatures": 12 is present? Is it possible to use without any other arguments? Does |
If I can help with testing anything, do let me know. Enable / disable Eco mode would indeed be nice, but I would also love to be able to see the time charging starts and set the departure time. Charging starts: because I never fully trust systems and want to be able to see what they're up to :-) Sometimes I have my car connected for a few hours and it still doesn't charge, but it is re-assuring then when I can see that the App says it will start at 22:00 Departure time setting: Since I work very irregular schedules, I'm constantly changing the start time in the app. |
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.
The text was updated successfully, but these errors were encountered: