File tree Expand file tree Collapse file tree 6 files changed +36
-3
lines changed
Expand file tree Collapse file tree 6 files changed +36
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.2.2
4+
5+ ### Changed
6+
7+ - NEW Feature: Try to wake car if command fails with "Error: context deadline exceeded"
8+ - NEW Feature: Added maximum allowable setting to limit the current slider in HA entities
9+
10+ #### Contributors - Thank you!
11+ - @g4rb4g3 Clear logging on charging current setting
12+
313## 0.2.0-1
414
515Minor version - no change in core code
Original file line number Diff line number Diff line change 11name : " Tesla Local Commands"
2- version : " 0.2.0-1 "
2+ version : " 0.2.2 "
33slug : " tesla_local_commands"
4- description : " Local BLE calls to control your Tesla. "
4+ description : " Control your Tesla locally with bluetooth "
55url : " https://github.com/tesla-local-control/tesla-local-control-addon"
66stage : experimental
77host_network : true
@@ -22,15 +22,18 @@ options:
2222 mqtt_port : " 1883"
2323 mqtt_username : " "
2424 mqtt_password : " "
25+ max_current : " 48"
2526
2627schema :
2728 vin_list : ' match(^([A-HJ-NPR-Z0-9]{17})(\|[A-HJ-NPR-Z0-9]{17})*$)'
2829 mqtt_server : str
2930 mqtt_port : str?
3031 mqtt_username : str?
3132 mqtt_password : password?
33+ max_current : " int(0,)?"
3234
3335 debug : bool?
36+ temperature_unit_fahrenheit : bool?
3437 presence_detection_ttl : " int(0,)?"
3538 presence_detection_loop_delay : " int(1,)?"
3639 ble_cmd_retry_delay : " int(1,)?"
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ function initConfigVariables() {
88 export MQTT_PORT=" $( bashio::config ' mqtt_port' ) "
99 export MQTT_USERNAME=" $( bashio::config ' mqtt_username' ) "
1010 export MQTT_PASSWORD=" $( bashio::config ' mqtt_password' ) "
11+ export MAX_CURRENT=" $( bashio::config ' max_current' ) "
12+ export TEMPERATURE_UNIT_FAHRENHEIT=" $( bashio::config ' temperature_unit_fahrenheit' ) "
1113 export VIN_LIST=" $( bashio::config ' vin_list' ) "
1214
1315 # ## Optional Configuration Settings
@@ -38,6 +40,12 @@ function initConfigVariables() {
3840 export PRESENCE_DETECTION_LOOP_DELAY=" "
3941 fi
4042
43+ if bashio::config.exists ' temperature_unit_fahrenheit' ; then
44+ export TEMPERATURE_UNIT_FAHRENHEIT=" $( bashio::config ' temperature_unit_fahrenheit' ) "
45+ else
46+ export TEMPERATURE_UNIT_FAHRENHEIT=" "
47+ fi
48+
4149 # Prevent bashio to complain for "unbound variable"
4250 export BLE_LN_LIST=" "
4351 export BLE_MAC_LIST=" "
Original file line number Diff line number Diff line change @@ -17,9 +17,15 @@ configuration:
1717 mqtt_password :
1818 name : MQTT Password
1919 description : MQTT User's password
20+ max_current :
21+ name : Maximum vehicle charging current with this connector
22+ description : As given in the Tesla app or by the charger itself
2023 debug :
2124 name : Debug Logging
2225 description : Print verbose messages to the log for debugging
26+ temperature_unit_fahrenheit :
27+ name : Enable Fahrenheit temperature unit
28+ description : Set climate slider range based on Fahrenheit; Default false (Celsius)
2329 ble_cmd_retry_delay :
2430 name : Delay to retry a command
2531 description : Delay in second to retry sending a command to the vehicle over BLE; Default 5
Original file line number Diff line number Diff line change @@ -17,9 +17,15 @@ configuration:
1717 mqtt_password :
1818 name : Mot de passe MQTT
1919 description : Mot de passe de l'utilisateur MQTT
20+ max_current :
21+ name : Courant maximum admissible par le véhicule sur ce connecteur
22+ description : Tel que donné dans l'appli Tesla, sur le connecteur actuellement utilisé
2023 debug :
2124 name : Journalisation du débogage
2225 description : Imprimer des messages détaillés dans le journal pour le débogage
26+ temperature_unit_fahrenheit :
27+ name : Utiliser Fahrenheit comme unité de température
28+ description : Définir la plage de température basé sur Fahrenheit; Défault faux (Celsius)
2329 ble_cmd_retry_delay :
2430 name : Délai pour re-essayer une commande
2531 description : Délai en seconde pour re-essayer d'envoyer une commande au véhicule via BLE; Défault 5
You can’t perform that action at this time.
0 commit comments