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

Use longer wake allowance #53

Merged
merged 1 commit into from
Jan 5, 2025
Merged

Use longer wake allowance #53

merged 1 commit into from
Jan 5, 2025

Conversation

jhansche
Copy link
Owner

@jhansche jhansche commented Jan 5, 2025

The TeslaFi API supports adding a wake=N argument that instructs TeslaFi to wait for up to N seconds for the car to wake up before sending the requested command. In my testing, wake=10 was sufficient to allow the car to wake up, but that testing was performed at home on wifi.

#39 and #47 report that 10 seconds may not be enough time to wake the car fully, but 30 seconds appears to be more reliable.

If the car is already awake when a command is being sent, then the argument will have no effect. So this should be a safe change.

The TeslaFi API supports adding a `wake=N` argument that instructs
TeslaFi to wait for up to `N` seconds for the car to wake up before
sending the requested command. In my testing, wake=10 was sufficient
to allow the car to wake up, but that testing was performed at home
on wifi.

Issues #39 and #47 report that 10 seconds may not be enough time to
wake the car fully, but 30 seconds appears to be more reliable.

If the car is already awake when a command is being sent, then the
argument will have no effect. So this should be a safe change.
@jhansche jhansche merged commit 0080edb into main Jan 5, 2025
5 checks passed
@jhansche jhansche deleted the pr/wake-30 branch January 5, 2025 17:15
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

Successfully merging this pull request may close these issues.

Allow customisation of the wait parameter time Climate fails to turn on when vehicle is asleep
1 participant