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

Car preparation / calendar improvement #95

Open
benjamingros69 opened this issue Oct 19, 2023 · 2 comments
Open

Car preparation / calendar improvement #95

benjamingros69 opened this issue Oct 19, 2023 · 2 comments

Comments

@benjamingros69
Copy link

First of all, thanks a lot for this amazing job.
Integration works perfectly for me with no bug at all !!!
PHEV cars now allow to plan departure times to allow air conditioning and battery to be heated / prepared for the next trip. Example : you can tell your app / Pivi Pro that your next trip will be today at 6 PM, and, if the car is plugged in, car preparation will start before the trip : air conditioning (already available through the preconditioning service in the integration ; AND battery conditioning, not available right now.
It would be amazing if this functionality could be added :)

Again, thanks a lot for the amazing work.

@msp1974
Copy link
Owner

msp1974 commented Oct 19, 2023

This can be done as the api does support. Help me with how you see this working in HA. My thoughts are that it might have to be a service that allows setting this departure time and a sensor(s) that show what is set. I am not sure that an integration can create a date time entity like the date time helper and use this to set it.

Also, there are 2 options available. Add a single departure timer or add a repeating one. You seem to be able to add multiples of each as it has an index key. I am not sure at this point how to handle this so maybe we limit it it to 1 departure timer as this stage and allow for single/repeat in one service and delete as another service.

Does this sound like you would hope?

Couple of additional notes:

  1. I have a full rewrite of this in progress. Was hoping to have finished by now but been a little time poor recently. It would have to be part of that and there are some breaking changes in it. I intend to release it as a beta initially to allow some real world testing by volunteers before final release. See point 2.
  2. My RRS does not allow departure timers, so i would need some help testing it. Would you be ok to do this (inc rewritten integration)?

@benjamingros69
Copy link
Author

Thanks a lot for your answer.
In my opinion, the process is not the same that the one that allows climate preconditioning. I explain :

  • the Remote app allows the user to launch the climate preconditioning immediately.
  • the remote apps also has a functionality allowing the driver to set a departure date/time, with a weekly calendar, or for a single departure. My guess is that planification should be done with home assistant, which could send a service to setup a departure at T+ 30 minutes. this planification functionality works for both samart charging (when plugged) and climate (plugged in or not). In my opinion, as soon as we get the possibility to setup a departure time with the battery on, all the calendar / repeat functionality can be managed through HA, with some planification / scheduler plugins.
    One thing is, for me, unclear : what is smart charging exactly ? What is this used for ? My guess is that is allow to heat a bit the battery in order to make it more efficient, when the outside temperature is very low or very high.

I am more than open to test your new integration. I have a brand new 2024 velar, but as far as I know, all the new Pivi Pro systems are integrated on all new (and PHEV) RR, RRS, RR Evoque and Velar.
Here are some screenshots of the Remote app with planing functionality:

IMG_3379
IMG_3378
IMG_3377
IMG_3376

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