Enable encryption for HA API calls
Also extract configs from btproxy into API and btproxy for reuse later.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
api:
|
||||
encryption:
|
||||
key: !secret api_encryption_key
|
||||
|
||||
# Disable MQTT discovery to prevent duplicate device.
|
||||
mqtt:
|
||||
discovery: false
|
||||
@@ -0,0 +1,16 @@
|
||||
# Remember to enable HA API (api.yaml) for the proxy to be available.
|
||||
|
||||
esp32:
|
||||
# Required for BLE.
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
esp32_ble_tracker:
|
||||
scan_parameters:
|
||||
# Recommended scan intervals for esphome.
|
||||
interval: 1100ms
|
||||
window: 1100ms
|
||||
active: true
|
||||
|
||||
bluetooth_proxy:
|
||||
active: true
|
||||
@@ -5,3 +5,4 @@ mqtt_password: "ttqm"
|
||||
lock_pin: 314
|
||||
wifi_ap_lookup:
|
||||
- "12:34:56:AB:CD -> Upper Floor AP"
|
||||
api_encryption_key: "K3g+SB5OYgLxKtEXhWJd1Mryfy9hGol+mAq+nq/JDsY="
|
||||
|
||||
Reference in New Issue
Block a user