-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
[FR] Re-implement the old departure timer service to update timers #627
Comments
Hi @virtualdj, Thanks for the detailed info, I will check what can i do... I think I will release v5.0.0 to the public and after that will start looking into the departure timer service as the v5.1.0 milestone. Have a great weekend! 😊 |
This issue is stale because it has been open for 30 days with no activity. |
Hey bot, this is a feature request, not a stale issue 😉 |
This issue is stale because it has been open for 30 days with no activity. |
I'm still interested, of course. |
This issue is stale because it has been open for 30 days with no activity. |
Still a feature request. |
This issue is stale because it has been open for 30 days with no activity. |
Feature requests should be excluded from the automatic stale tagging of the bot. |
This issue is stale because it has been open for 30 days with no activity. |
Same than before. |
Still valid. |
Is it currently possible to update a timer with a script, or is there currently no possibility to update a timer from HA? |
At the moment it is NOT possible to change the departure timers (only enable or disable them). Please vote this feature request if you're interested too. |
This issue is stale because it has been open for 30 days with no activity. |
Why the bot continuosly tries to add the |
At the moment the gitactions-bot tries to set the `stale` label even on issues/feature requests already marked as acknowledged or even on milestones (see robinostlund#627 for example). This modification should tell the bot to avoid those types of issues.
At the moment the gitactions-bot tries to set the `stale` label even on issues/feature requests already marked as acknowledged or even on milestones (see robinostlund#627 for example). This modification should tell the bot to avoid those types of issues.
I would really much want this feature as well. |
Is your feature request related to a problem? Please describe.
No, there are no real issues. But "resurrecting" the departure timer service, implemented in #352 with the old backend, could allow to stop charging at a specific value (using
departureTimers > departureTimersStatus > Min SoC
) without polling and also when the VW backend is down, especially at night. See below.Describe the solution you'd like
Having the deprecated service with commit ab0a2fb back, with its parameters and ability to set a single or repeating timer (using attributes).
Describe alternatives you've considered
At the moment both the timer date and the Min SOC parameter can be set up in the VW app and then enabled/disabled using this integration. However the fact the app and backend handle 3 timers/profiles only doesn't allow many variations, which on the contrary would be possible by using the service and HA automations.
Additional context
When #547 has been opened, I was skeptical about the timer service to be really useful and I voted for a timer on/off being enough.
However, I later found out that there's an useful use case: if you want to stop the charge at night at a specific percentage, say 30%, both the integration and the VW backend must be running and polling the battery percentage to work successfully.
It happened to me two times that the battery value hasn't updated at night (due to the VW backend of course) and the automation wasn't able to stop the charge... and I actually charged 100% one time and 54% another (because the value updated with a delay).
The use case, when I would like to charge the battery until it reaches 30%, would be the following:
Min SOC
value to 30% (with the app it can be set to 0, 10, 20, 30, 40 or 50%)True
and the weekday to(current weekday + 2)
This triggers the charging immediately and then stops at 30%; an HA automation could then disable the timer to avoid charging the remaining percentage the day after... the wonderful thing is that stopping at the 30% doesn't require the VW backend and it really stops at that value exactly.
The
(current weekday + 2)
calculations can be done with templates, but setting the date/weekday and SOC requires having the old service back, so that we can set up specific attributes for the 3 timers.I know this is a hard work, but think about it (with low priority). Maybe most of the work can be recovered from the old code; I see that the API is still there, for example
domains/departureTimers/departureTimersStatus/minSOC_pct
has the minimum charging percentage anddomains/departureTimers/departureTimersStatus/timers/3
has several properties (enabled, climatisation, charging, singleTimer, recurringTimer, preferredChargingTimes
) that seem to resemble to the old ones... 🤞No hurry, no pressure. Just a milestone idea.
The text was updated successfully, but these errors were encountered: