mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-12-06 09:06:52 +01:00
Vehicle beacons: LED dark except a boot blink and while the gate's home beacon is seen, Wi-Fi + OTA on a 3 s button hold, 9 dBm, esp32_ble without the empty advertisement; gate: own home beacon, scan window 160/320 ms
This commit is contained in:
1 parent
6591b47c01
commit
0da0cd1544
7 files changed
+114
-101
No files matched your search
@@ -12,29 +12,14 @@ esphome:
|
||||
friendly_name: ${name}
|
||||
area: ${area}
|
||||
comment: ${comment}
|
||||
on_boot:
|
||||
then:
|
||||
- if:
|
||||
condition:
|
||||
- binary_sensor.is_off: button
|
||||
then:
|
||||
- wifi.disable:
|
||||
|
||||
packages:
|
||||
base: !include common/vehicle_base.yaml
|
||||
wifi: !include common/wifi.yaml
|
||||
logger: !include common/logger.yaml
|
||||
ota: !include common/ota.yaml
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: button
|
||||
filters:
|
||||
- invert:
|
||||
pin: 39
|
||||
|
||||
esp32_ble_beacon:
|
||||
type: iBeacon
|
||||
uuid: !secret ble_beacon_toyota_auris_uuid
|
||||
major: !secret ble_beacon_toyota_auris_major
|
||||
minor: !secret ble_beacon_toyota_auris_minor
|
||||
tx_power: 9dBm
|
||||
Reference in new issue
Block a user