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

[tesla] Introduce "allowWakeUpForCommands" option #12184

Merged
merged 2 commits into from
Feb 2, 2022

Conversation

kaikreuzer
Copy link
Member

This introduces a new configuration option to the vehicle thing, which allows the binding to wake up the vehicle in case that commands are sent to it.
This is specifically handy for things like activating the auto-conditioning, Sentry mode or similar things.
As waking up the vehicle usually takes ~15 seconds, sending the command is retried 3 times (with 15 secs pause) until it succeeds. Naturally, this means that the command is not executed immediately, but that it is delayed by a considerable time.

Signed-off-by: Kai Kreuzer kai@openhab.org

Signed-off-by: Kai Kreuzer <kai@openhab.org>
@kaikreuzer kaikreuzer added the enhancement An enhancement or new feature for an existing add-on label Feb 1, 2022
@kaikreuzer kaikreuzer changed the title Introduce "allowWakeUpForCommands" option [tesla] Introduce "allowWakeUpForCommands" option Feb 1, 2022
@kaikreuzer kaikreuzer requested a review from a team February 1, 2022 09:06
@@ -136,6 +136,12 @@
<label>Allow Wake-Up</label>
<description>Allows waking up the vehicle. Caution: This can result in huge vampire drain!</description>
</parameter>
<parameter name="allowWakeupForCommands" type="boolean" required="false">
<default>false</default>
<label>Allow Wake-Up For Commands</label>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the file tesla.properties.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks for noticing, I always forget...

Signed-off-by: Kai Kreuzer <kai@openhab.org>
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lolodomo lolodomo merged commit ca1e2b0 into openhab:main Feb 2, 2022
@lolodomo lolodomo added this to the 3.3 milestone Feb 2, 2022
volkmarnissen pushed a commit to volkmarnissen/openhab-addons that referenced this pull request Mar 3, 2022
* Introduce "allowWakeUpForCommands" option

Signed-off-by: Kai Kreuzer <kai@openhab.org>
NickWaterton pushed a commit to NickWaterton/openhab-addons that referenced this pull request Apr 27, 2022
* Introduce "allowWakeUpForCommands" option

Signed-off-by: Kai Kreuzer <kai@openhab.org>
Signed-off-by: Nick Waterton <n.waterton@outlook.com>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Jun 29, 2022
* Introduce "allowWakeUpForCommands" option

Signed-off-by: Kai Kreuzer <kai@openhab.org>
andan67 pushed a commit to andan67/openhab-addons that referenced this pull request Nov 6, 2022
* Introduce "allowWakeUpForCommands" option

Signed-off-by: Kai Kreuzer <kai@openhab.org>
andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Nov 12, 2022
* Introduce "allowWakeUpForCommands" option

Signed-off-by: Kai Kreuzer <kai@openhab.org>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
psmedley pushed a commit to psmedley/openhab-addons that referenced this pull request Feb 23, 2023
* Introduce "allowWakeUpForCommands" option

Signed-off-by: Kai Kreuzer <kai@openhab.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants