Skip to content

Commit 8a79a2a

Browse files
baylangeriainbullockraphmur
authored
v0.2.0 release; merge stage to main (#107)
* [chg] auto Generate Keys to ReGenerateKeys (#89) * [feat] Info Bluetooth Adapter (#88) * [feat] Info Bluetooth Adapter (#88) (#90) * [fix] counter loop condition * [fix] topic & missing retry values (#92) * [chg] delete old scan-bleln-macaddr * [feat] Auto MAC address detection (#86) * small rewrite logic to detect MAC addr * [chg] skip menu mgmt (#96) * [fix] Prevent presence unknown, set qos=1 (#97) * [fix] Prevent presence unknown, set qos=1 * [CHG] info-bt-adapter; run mgmt.info before show * [CHG] Presence disable? Set Unknown and Delete * [CHG] CHANGELOG Update * [fix] presence unkown at start * [fix] presence unkown at start * Update subroutines.sh shfmt * Update mqtt-discovery.sh shfmt * [issue 99] Buttons to switches covers merged with PR85 (#105) * [chg] Add loop to generate JSON enteties based on a paramater list * Merge with 85 * [chg] run.sh add -e to ash (#95) * [Feature-Issue #99] Transform buttons to switches & covers; Add Cmds & Icons (#103) * Group entities * Update CHANGELOG.md * Reorder legacies cleaning * tabs to spaces (shfmt) * Anticipate clearing MQTT entities * shfmt * add newline * [feat] Transform buttons to switches & covers; Add Commands & Icons * Make delete_legacies* vin aware * Add/fix icons; adjust CHANGELOG * [chg] revert ash -e * [chg] add back media-ctrl, remove ping * [chg] changelog add new commands --------- Co-authored-by: Pierre Belanger <[email protected]> * [chg] raise tesla-control command timeout (#108) * [chg] changelog add note on command-timeout (#109) * [chg] raise tesla-control command timeout * [chg] changelog add note on command-timeout * [chg] remove arguments to tesla-control and use env vars --------- Co-authored-by: Iain Bullock <[email protected]> Co-authored-by: Raphael Murray <[email protected]>
1 parent 8c104ba commit 8a79a2a

File tree

9 files changed

+678
-540
lines changed

9 files changed

+678
-540
lines changed

CHANGELOG.md

Lines changed: 61 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,70 @@
11
# Changelog
22

3+
## 0.2.0
4+
5+
### <p>**WARNING WARNING WARNING**<br>
6+
Upgrading from 0.0.10 or previous? DO NOT UPGRADE PRIOR TO READ THE 0.1.0 UPGRADE INSTRUCTIONS.</p>
7+
8+
### <p>**BREAKING CHANGE**<br>
9+
On/off and Open/Close entities have been grouped under switches and covers.</p>
10+
/!\ It will affect your current Home Assistant MQTT entities (if you use them)
11+
12+
| Old Entity Name | New Entity Name |
13+
|:------------------|:-------------------------|
14+
| windows-close | windows (open/close) |
15+
| windows-vent | " |
16+
| charging-start | charger (start/stop) |
17+
| charging-stop | " |
18+
| charge-port-open | charge-port (open/close) |
19+
| charge-port-close | " |
20+
| climate-on | climate (on/off) |
21+
| climate-off | " |
22+
| trunk-open | trunk (open/close) |
23+
| trunk-close | " |
24+
25+
26+
### Changed
27+
28+
- NEW Feature: Car's BLE MAC address is now auto-detected
29+
- NEW Feature: Info Bluetooth Adapter, view in add-on's Log tab
30+
- NEW Feature: Added more car specific commands; see below for the list
31+
- NEW Feature: Migrated buttons to covers and switches
32+
- NEW: Icons were added in the UI!
33+
- CHG: Increased tesla-control command-timeout from 5s to 20s
34+
- CHG: Removed Setting ble\_mac\_list; obsoleted by BLE MAC address auto-detection
35+
- CHG: Removed scan-bleln-macaddr, obsoleted by BLE MAC address auto-detection
36+
37+
- Added commands
38+
39+
| Commands | Note |
40+
|:------------------|:---------------|
41+
| autosecure-modelx | Model X |
42+
| auto-seat-and-climate | |
43+
| body-controller-state | |
44+
| drive | |
45+
| flash-lights | |
46+
| frunk-open | |
47+
| honk | |
48+
| lock | |
49+
| media-toggle-playback | |
50+
| tonneau-close | Cybertruck |
51+
| tonneau-open | Cybertruck |
52+
| tonneau-stop | Cybertruck |
53+
| trunk-close | |
54+
| trunk-move | |
55+
| trunk-open | |
56+
| unlock | |
57+
58+
## 0.1.2
59+
60+
### Changed
61+
62+
- CHG: Fix allow empty setting BLE MAC addr (Docker standalone)
63+
364
## 0.1.1
465

566
### Changed
667

7-
<p>WARNING WARNING WARNING<br>
8-
DO NOT UPGRADE PRIOR TO READ THE 0.1.0 UPGRADE INSTRUCTIONS<br>
9-
WARNING WARNING WARNING</p>
10-
1168
- CHG: Fix upgrade forcing to redeploy the key to the car
1269

1370
## 0.1.0

env.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# shellcheck shell=dash
44
#
5-
export SW_VERSION=0.1.1
5+
export SW_VERSION=0.2.0
66

77
### LOAD LIBRARIES (FUNCTIONS & ENVIRONMENT ) #################################
88
echo "[$(date +%H:%M:%S)] loading libproduct.sh"
@@ -34,14 +34,14 @@ export PRESENCE_DETECTION_LOOP_DELAY=${PRESENCE_DETECTION_LOOP_DELAY:-120}
3434
export PRESENCE_DETECTION_TTL=${PRESENCE_DETECTION_TTL:-240}
3535

3636
export BLE_LN_REGEX='S[0-9A-Fa-f]{16}C'
37+
export BLTCTL_COMMAND_DEVICES=false
3738
export KEYS_DIR=/share/tesla_ble_mqtt
38-
export MAC_REGEX='([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})'
39+
export MAC_REGEX='([0-9A-Fa-f]{2}[:]){5}([0-9A-Fa-f]{2})'
3940
export VIN_REGEX='[A-HJ-NPR-Z0-9]{17}'
4041

4142
### LOG CONFIG VARS ###########################################################
4243
log_info "Configuration Options are:
4344
BLE_CMD_RETRY_DELAY=$BLE_CMD_RETRY_DELAY
44-
BLE_MAC_LIST=$BLE_MAC_LIST
4545
DEBUG=$DEBUG
4646
MQTT_SERVER=$MQTT_SERVER
4747
MQTT_PORT=$MQTT_PORT

0 commit comments

Comments
 (0)