You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -27,18 +27,20 @@ The idea was born during discussing a [feature request](https://github.com/adria
27
27
-[Features](#features)
28
28
-[Dependencies](#dependencies)
29
29
-[Installation](#installation)
30
+
-[Update](#update)
31
+
-[Usage](#usage)
30
32
-[Contributing](#contributing)
31
-
-[Dontation](#dontation)
33
+
-[Donation](#donation)
32
34
-[Disclaimer](#disclaimer)
33
35
34
36
## Security
35
37
36
38
Why not using [Tasker Plugin for Tesla](https://play.google.com/store/apps/details?id=com.crazydog.teslatasker)? You never know what a closed source application will do with your credentials :-)
37
39
38
-
So this Project ist different.
40
+
So this Project is different.
39
41
Access token is generated: asked for Tesla account data with Tasker scene, store data only in local variable to get access token from Tesla and than destroy local copy of access data.
40
42
41
-
Token will be refreshed when exipres in 10 or less days.
43
+
Token will be refreshed when expires in 10 or less days.
42
44
43
45
## Features
44
46
@@ -64,18 +66,18 @@ Token will be refreshed when exipres in 10 or less days.
64
66
-[x] set temps (driver temp, passenger temp default:20.5)
65
67
-[x] auto conditioning start
66
68
-[x] auto conditioning stop
67
-
-[x] set remote seat heater request
68
-
-[x] set remote steering wheel heater request
69
+
-[x] set remote seat heater request (heater=0..5, level=0...3 default:0=driver,3=max)
70
+
-[x] set remote steering wheel heater request (true|false default:true)
69
71
-[ ] get charge state
70
-
-[x] set charge limit
72
+
-[x] set charge limit (0...100 default:80)
71
73
-[x] set charge limit max range
72
74
-[x] set charge limit standard
73
75
-[x] charge port door open
74
76
-[x] charge port door close
75
77
-[x] charge start (untested)
76
78
-[x] charge stop (untested)
77
79
-[ ] get drive state
78
-
-[ ]~remote start drive~ (will not be included, because current tesla account password is needed)
80
+
-[ ]~remote start drive~ (will not be included, because current Tesla account password is needed)
79
81
-[ ] upcoming calendar entries
80
82
-[ ] set valet mode
81
83
-[ ] reset valet pin
@@ -93,14 +95,32 @@ Everything not yet included will be when my Tesla is connected to my account and
93
95
94
96
## Installation
95
97
96
-
Install [Dependencies](#dependencies). Import [Tesla_API_in_Tasker.prj.xml](https://github.com/JakobLichterfeld/Tesla_API_in_Tasker/blob/master/Tesla_API_in_Tasker.prj.xml) on your Android Phone using Tasker, see [Tasker-FAQs](https://tasker.joaoapps.com/userguide/en/faqs/faq-how.html#q) on how to import xml files.
98
+
Install [Dependencies](#dependencies).
99
+
100
+
The easiest way is to open the [Taskernet url](https://taskernet.com/shares/?user=AS35m8mPVeymuldo3aQ2E0w%2Fp%2FdMHwTGvFh2n1G5x85hnLdHZqYoME1ldso6LRp%2Bcuv%2FWQNaht3AkEhes%2FTJwbA%3D&id=Project%3ATesla+API+in+Tasker) on you Android Phone and press import.
101
+
102
+
If you prefer to install in manually: Import [Tesla_API_in_Tasker.prj.xml](https://github.com/JakobLichterfeld/Tesla_API_in_Tasker/blob/master/Tesla_API_in_Tasker.prj.xml) on your Android Phone using Tasker, see [Tasker-FAQs](https://tasker.joaoapps.com/userguide/en/faqs/faq-how.html#q) on how to import xml files.
97
103
It is recommended to backup your data first.
98
104
105
+
## Update
106
+
107
+
To update Tesla API in Tasker the same steps as described under [Installation](#installation) are necessary.
108
+
109
+
## Usage
110
+
111
+
This project provides Tasker tasks to access the Tesla API. To use them in your own automation projects/tasks/profiles/scenes in Tasker just call the function: use the "Perform Task" Action in Tasker to call the desired function.
112
+
113
+
If parameters are needed the function name gives you a hint about what is needed. For example: "set temps (driver temp, passenger temp default:20.5)" --> this function accepts two parameters, driver temp and passenger temp. If both or one is not given, the default value is taken, in this case 20.5. To call the function with the parameters use the "Perform Task" action and use "Parameter 1" and "Parameter 2" for the parameters you want to set.
114
+
115
+
You only need to call the function you want, for example set temps (driver temp, passenger temp default:20.5). The Tesla API in Tasker project does take care of the token, wakeup and other preconditions.
116
+
117
+
Do not store your own automation tasks within the Tesla API in Tasker Project in Tasker to prevent data loss when updating Tesla API in Tasker.
118
+
99
119
## Contributing
100
120
101
121
All contributions are welcome and greatly appreciated!
102
122
103
-
## Dontation
123
+
## Donation
104
124
105
125
Maintaining this project isn't effortless, or free. If you would like to kick in and help me cover those costs, that would be awesome. If you don't, no problem; just share your love and show your support.
0 commit comments