-
Notifications
You must be signed in to change notification settings - Fork 63
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
MIN and DEFAULT scan interval #58
Comments
Please note I'm currently testing a branch that does this in the controller so automations won't be necessary. The issue is testing the values to make sure it wont' cause issues for the larger population. |
Great, thanks. Will test it when available. |
Great. I didn't notice the PR was in progress and you were adding more stuff. Note that for |
For each item beyond sentry, can you explain how you know it won't sleep? Is it based on testing or some documentation you've seen? I just want to make sure we only add conditions that are verified. |
During my testing I'm seeing that Sentry/Charging prohibits sleep as @llluis mentions. The only one I have not tested (but sounds logical) is climate on.. Never had that running for any period of time. |
Unfortunately, there’s no documentation. Just experience. Those are the ones I can identify. According to “internet knowledge”, if the car reports null instead of P in shift state is because it wants to sleep. But this can change with future firmwares. |
(I already had climate running for 1h30 and car didn’t sleep. :-) ) |
Ok, latest build in #57 ignores trying to sleep on charging and climate on. The null for shift_state isn't accurate because as you noted, sentry, climate, or charging override the null. |
By the way, the adaptive behavior is already merged in to HA. Let me know if you're not seeing it. |
Hey @alandtse, I was looking into your home-assistant dev and found this: alandtse/home-assistant@ee73d56
I like this change. May I suggest something I'm running currently with good results (however, I did it hardcoded):
This way, automations would change the polling interval instead of disabling it.
3 automations are enough to control this switch to allow the car to sleep as well do a fast polling inbetween.
I'm running with min = 60 and default = 900 and it's working really good. After a 15min idle time, polling is reduced from min to default. It returns to min when car awakes from sleep or it's not idle anymore.
Point me to a branch and I can try to implement and submit the pull request.
Thanks!
The text was updated successfully, but these errors were encountered: