iobroker.teslafi 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +78 -0
- package/admin/jsonConfig.json +110 -0
- package/admin/teslafi.png +0 -0
- package/admin/teslafiwt.png +0 -0
- package/build/lib/teslafiAPICaller.js +601 -0
- package/build/lib/teslafiAPICaller.js.map +1 -0
- package/build/lib/teslafiHelper.js +261 -0
- package/build/lib/teslafiHelper.js.map +1 -0
- package/build/main.js +199 -0
- package/build/main.js.map +1 -0
- package/docu/bluePayPal.svg +118 -0
- package/io-package.json +156 -0
- package/package.json +86 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Hombach <TeslaFi@homba.ch>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# ioBroker.teslafi
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/iobroker.teslafi)
|
|
6
|
+
[](https://www.npmjs.com/package/iobroker.teslafi)
|
|
7
|
+

|
|
8
|
+

|
|
9
|
+
|
|
10
|
+

|
|
11
|
+

|
|
12
|
+

|
|
13
|
+

|
|
14
|
+

|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
[](https://github.com/hombach/ioBroker.teslafi/actions/workflows/codeql-analysis.yml)
|
|
18
|
+
[](https://ci.appveyor.com/project/hombach/iobroker-teslafi)
|
|
19
|
+
[](https://snyk.io/test/github/hombach/ioBroker.teslafi)
|
|
20
|
+
|
|
21
|
+
## Versions
|
|
22
|
+
|
|
23
|
+

|
|
24
|
+

|
|
25
|
+

|
|
26
|
+
|
|
27
|
+
[](https://nodei.co/npm/iobroker.teslafi/)
|
|
28
|
+
|
|
29
|
+
## Adapter to poll TeslaFi data of your car
|
|
30
|
+
|
|
31
|
+
This adapter facilitates the connection of data from your TeslaFi account API to be used within ioBroker.
|
|
32
|
+
|
|
33
|
+
## Sentry
|
|
34
|
+
|
|
35
|
+
This adapter employs Sentry libraries to automatically report exceptions and code errors to the developers. For more details and information on how to disable error reporting, please consult the [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is initiated starting with js-controller 3.0.
|
|
36
|
+
|
|
37
|
+
## Donate
|
|
38
|
+
|
|
39
|
+
<a href="https://www.paypal.com/donate/?hosted_button_id=6EE4YUJRK7UWC"><img src="https://raw.githubusercontent.com/Hombach/ioBroker.teslafi/master/docu/bluePayPal.svg" height="40"></a>
|
|
40
|
+
If you enjoyed this project � or just feeling generous, consider buying me a beer. Cheers! :beers:
|
|
41
|
+
|
|
42
|
+
## Changelog
|
|
43
|
+
|
|
44
|
+
### 0.1.1 (2024-10-26)
|
|
45
|
+
|
|
46
|
+
- (hombach) fix npm error
|
|
47
|
+
|
|
48
|
+
### 0.1.0 (2024-10-26)
|
|
49
|
+
|
|
50
|
+
- (hombach) first working version
|
|
51
|
+
|
|
52
|
+
### 0.0.1 (2024-10-24)
|
|
53
|
+
|
|
54
|
+
- (hombach) initial release
|
|
55
|
+
|
|
56
|
+
## License
|
|
57
|
+
|
|
58
|
+
MIT License
|
|
59
|
+
|
|
60
|
+
Copyright (c) 2024 C.Hombach <TeslaFi@homba.ch>
|
|
61
|
+
|
|
62
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
63
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
64
|
+
in the Software without restriction, including without limitation the rights
|
|
65
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
66
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
67
|
+
furnished to do so, subject to the following conditions:
|
|
68
|
+
|
|
69
|
+
The above copyright notice and this permission notice shall be included in all
|
|
70
|
+
copies or substantial portions of the Software.
|
|
71
|
+
|
|
72
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
73
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
74
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
75
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
76
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
77
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
78
|
+
SOFTWARE.
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "tabs",
|
|
3
|
+
"tabsStyle": {
|
|
4
|
+
"width": "calc(100% - 100px)"
|
|
5
|
+
},
|
|
6
|
+
"items": {
|
|
7
|
+
"_StandardTab": {
|
|
8
|
+
"type": "panel",
|
|
9
|
+
"label": {
|
|
10
|
+
"en": "Standard settings",
|
|
11
|
+
"de": "Standard-Einstellungen",
|
|
12
|
+
"ru": "Стандартные настройки",
|
|
13
|
+
"pt": "Configurações padrão",
|
|
14
|
+
"nl": "Standaardinstellingen",
|
|
15
|
+
"fr": "Paramètres standard",
|
|
16
|
+
"it": "Impostazioni predefinite",
|
|
17
|
+
"es": "Configuración estándar",
|
|
18
|
+
"pl": "Ustawienia standardowe",
|
|
19
|
+
"uk": "Стандартні налаштування",
|
|
20
|
+
"zh-cn": "标准设置"
|
|
21
|
+
},
|
|
22
|
+
"items": {
|
|
23
|
+
"TeslaFiAPIToken": {
|
|
24
|
+
"type": "text",
|
|
25
|
+
"label": {
|
|
26
|
+
"en": "Token for TeslaFi API",
|
|
27
|
+
"de": "Token für TeslaFi API",
|
|
28
|
+
"ru": "Токен для TeslaFi API",
|
|
29
|
+
"pt": "Token para a API TeslaFi",
|
|
30
|
+
"nl": "Token voor TeslaFi API",
|
|
31
|
+
"fr": "Token pour l'API TeslaFi",
|
|
32
|
+
"it": "Token per l'API di TeslaFi",
|
|
33
|
+
"es": "Token para la API de TeslaFi",
|
|
34
|
+
"pl": "Token do API TeslaFi",
|
|
35
|
+
"uk": "Токен для API TeslaFi",
|
|
36
|
+
"zh-cn": "TeslaFi API 的令牌"
|
|
37
|
+
},
|
|
38
|
+
"maxLength": 100,
|
|
39
|
+
"xs": 12,
|
|
40
|
+
"sm": 12,
|
|
41
|
+
"md": 10,
|
|
42
|
+
"lg": 8,
|
|
43
|
+
"xl": 6,
|
|
44
|
+
"newLine": true
|
|
45
|
+
},
|
|
46
|
+
"UpdateInterval": {
|
|
47
|
+
"type": "number",
|
|
48
|
+
"label": {
|
|
49
|
+
"en": "Update interval in seconds",
|
|
50
|
+
"de": "Aktualisierungsintervall in Sekunden",
|
|
51
|
+
"ru": "Интервал обновления в секундах",
|
|
52
|
+
"pt": "Intervalo de atualização em segundos",
|
|
53
|
+
"nl": "Update-interval in seconden",
|
|
54
|
+
"fr": "Intervalle de mise à jour en secondes",
|
|
55
|
+
"it": "Intervallo di aggiornamento in secondi",
|
|
56
|
+
"es": "Intervalo de actualización en segundos",
|
|
57
|
+
"pl": "Interwał aktualizacji w sekundach",
|
|
58
|
+
"uk": "Інтервал оновлення у секундах",
|
|
59
|
+
"zh-cn": "更新间隔(秒)"
|
|
60
|
+
},
|
|
61
|
+
"hidden": "!data.TeslaFiAPIToken",
|
|
62
|
+
"min": 30,
|
|
63
|
+
"max": 3600,
|
|
64
|
+
"step": 1,
|
|
65
|
+
"default": 60,
|
|
66
|
+
"xs": 12,
|
|
67
|
+
"sm": 12,
|
|
68
|
+
"md": 10,
|
|
69
|
+
"lg": 8,
|
|
70
|
+
"xl": 6,
|
|
71
|
+
"newLine": true
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
"_headerDocumentation": {
|
|
75
|
+
"type": "header",
|
|
76
|
+
"text": "",
|
|
77
|
+
"noTranslation": true,
|
|
78
|
+
"sm": 12,
|
|
79
|
+
"md": 12,
|
|
80
|
+
"lg": 12,
|
|
81
|
+
"size": 3
|
|
82
|
+
},
|
|
83
|
+
"_helpLink": {
|
|
84
|
+
"type": "staticLink",
|
|
85
|
+
"button": true,
|
|
86
|
+
"variant": "contained",
|
|
87
|
+
"icon": "info",
|
|
88
|
+
"label": {
|
|
89
|
+
"en": "Show adapter documentation",
|
|
90
|
+
"de": "Adapter-Dokumentation anzeigen",
|
|
91
|
+
"ru": "Показать документацию по адаптеру",
|
|
92
|
+
"pt": "Mostrar documentação do adaptador",
|
|
93
|
+
"nl": "Toon adapterdocumentatie",
|
|
94
|
+
"fr": "Afficher la documentation de l'adaptateur",
|
|
95
|
+
"it": "Mostra la documentazione dell'adattatore",
|
|
96
|
+
"es": "Mostrar la documentación del adaptador",
|
|
97
|
+
"pl": "Pokaż dokumentację adaptera",
|
|
98
|
+
"uk": "Показати документацію адаптера",
|
|
99
|
+
"zh-cn": "显示适配器文档"
|
|
100
|
+
},
|
|
101
|
+
"href": "https://github.com/hombach/ioBroker.teslafi/blob/master/README.md",
|
|
102
|
+
"newLine": true,
|
|
103
|
+
"sm": 12,
|
|
104
|
+
"md": 12,
|
|
105
|
+
"lg": 12
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
Binary file
|
|
Binary file
|