-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathesp32_test.yaml
139 lines (115 loc) · 2.88 KB
/
esp32_test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
substitutions:
device_name: esp32_test
upper_device_name: ESP32 Test
esphome:
name: $device_name
platform: ESP32
# board: esp32doit-devkit-v1
# board: wemos_d1_mini32
board: esp32dev
wifi: !include include/wifi_iot.yaml
captive_portal:
web_server:
port: 80
# Enable logging
logger:
level: INFO
# Enable Home Assistant API
# api:
ota:
mqtt: !include include/mqtt.yaml
button:
- platform: restart
name: $upper_device_name Restart
esp32_ble_tracker:
ble_client:
- mac_address: ed:c1:c6:bb:2c:74
id: soma_shade
sensor:
- platform: ble_client
ble_client_id: soma_shade
name: "Soma battery level"
service_uuid: '180f'
characteristic_uuid: '2a19'
icon: 'mdi:battery'
unit_of_measurement: '%'
filters:
- filter_out: nan
- platform: ble_client
ble_client_id: soma_shade
name: "Soma 1800-2A00"
service_uuid: '1800'
characteristic_uuid: '2A00'
filters:
- filter_out: nan
- platform: ble_client
ble_client_id: soma_shade
name: "Soma 1800-2A01"
service_uuid: '1800'
characteristic_uuid: '2A01'
filters:
- filter_out: nan
- platform: ble_client
ble_client_id: soma_shade
name: "Soma 1800-2A04"
service_uuid: '1800'
characteristic_uuid: '2A04'
filters:
- filter_out: nan
- platform: ble_client
ble_client_id: soma_shade
name: "Soma 1801-2A05"
service_uuid: '1801'
characteristic_uuid: '2A05'
filters:
- filter_out: nan
- platform: ble_client
ble_client_id: soma_shade
name: "Soma 180A-2A29"
service_uuid: '180A'
characteristic_uuid: '2A29'
filters:
- filter_out: nan
- platform: ble_client
ble_client_id: soma_shade
name: "Soma 180A-2A25"
service_uuid: '180A'
characteristic_uuid: '2A25'
filters:
- filter_out: nan
- platform: ble_client
ble_client_id: soma_shade
name: "Soma 180A-2A27"
service_uuid: '180A'
characteristic_uuid: '2A27'
filters:
- filter_out: nan
- platform: ble_client
ble_client_id: soma_shade
name: "Soma 180A-2A26"
service_uuid: '180A'
characteristic_uuid: '2A26'
filters:
- filter_out: nan
- platform: ble_client
ble_client_id: soma_shade
name: "Soma 180A-2A28"
service_uuid: '180A'
characteristic_uuid: '2A28'
filters:
- filter_out: nan
- platform: ble_client
ble_client_id: soma_shade
name: "Soma 1890-1525"
service_uuid: '00001890-B87F-490C-92CB-11BA5EA5167C'
characteristic_uuid: '00001525-B87F-490C-92CB-11BA5EA5167C'
filters:
- filter_out: nan
- platform: wifi_signal
name: $upper_device_name WiFi Signal
update_interval: 60s
binary_sensor:
# Presence based on MAC address
- platform: ble_presence
mac_address: ed:c1:c6:bb:2c:74
name: "ESP32 BLE Tracker Soma Shade"