Convert frontdoorlock to btproxy

This commit is contained in:
2025-02-09 10:55:57 +01:00
parent 5b948b259f
commit d832cfa957
3 changed files with 1 additions and 60 deletions
-11
View File
@@ -1,11 +0,0 @@
esphome:
name: frontdoorlock
friendly_name: "Front door lock"
area: "Entryway"
project:
name: dasfoo.frontdoorlock
version: "1.0"
packages:
device_base: !include templates/nuki.yaml
+1
View File
@@ -48,6 +48,7 @@ done
for btproxy_replica in \
c257a8 \
c25bac \
c2577c \
c25b74
do
flash+=("${command?} btproxy.yaml --device btproxy-${btproxy_replica?}")
-49
View File
@@ -1,49 +0,0 @@
esphome:
libraries:
- Preferences
- https://github.com/vinmenn/Crc16.git
- https://github.com/h2zero/NimBLE-Arduino#1.4.2
- https://github.com/I-Connect/NukiBleEsp32
external_components:
# Path is relative to the main YAML file, not this device_base template!
- source: components
packages:
device_base: !include esp32-poe.yaml
time: !include time.yaml
button:
- platform: factory_reset
name: "Forget the lock and restart"
disabled_by_default: true
time:
- platform: sntp
servers: !secret sntp_servers
id: sntp_time
lock:
- platform: nuki_lock
name: None
request_battery_reports: true
beacon_rssi:
name: "Beacon RSSI"
heartbeat_latency:
name: "Heartbeat latency"
beacon_latency:
name: "Beacon latency"
beacon_ble_address:
name: "Beacon BLE address"
lock_current_datetime:
name: "Lock current datetime"
config_update_count:
name: "Config update count"
last_action:
name: "Last action"
last_action_trigger:
name: "Last action trigger"
last_action_completion_status:
name: "Last action completion status"
time_source: sntp_time
pin: !secret lock_pin