-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathexample_multiple.yaml
More file actions
111 lines (97 loc) · 2.43 KB
/
example_multiple.yaml
File metadata and controls
111 lines (97 loc) · 2.43 KB
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
esphome:
name: "test-node"
esp32:
board: nodemcu-32s
framework:
type: arduino
substitutions:
mac_water_heater_1: XX:XX:XX:XX:XX:XX
mac_water_heater_2: YY:YY:YY:YY:YY:YY
external_components:
- source:
type: git
url: https://github.com/pedobry/esphome-smartboiler
components: [smartboiler]
logger:
level: info
# Enable Home Assistant API
api:
encryption:
key: !secret ha_API_key
ble_client:
- mac_address: ${mac_water_heater_1}
id: drazice_okhe_1
- mac_address: ${mac_water_heater_2}
id: drazice_okhe_2
smartboiler:
- ble_client_id: drazice_okhe_1
temp1:
name: "Water heater 1 temp1"
temp2:
name: "Water heater 1 temp2"
mode:
name: "Water heater 1 mode"
thermostat:
name: "Water heater 1 thermostat"
heat_on:
name: "Water heater 1 heat"
hdo_low_tariff:
name: "Water heater 1 HDO"
pin:
name: "Water heater 1 PIN"
state:
name: "Water heater 1 state"
version:
name: "Water heater 1 version"
b_name:
name: "Water heater 1 name"
consumption:
name: "Water heater 1 energy"
- ble_client_id: drazice_okhe_2
temp1:
name: "Water heater 2 temp1"
temp2:
name: "Water heater 2 temp2"
mode:
name: "Water heater 2 mode"
thermostat:
name: "Water heater 2 thermostat"
heat_on:
name: "Water heater 2 heat"
hdo_low_tariff:
name: "Water heater 2 HDO"
pin:
name: "Water heater 2 PIN"
state:
name: "Water heater 2 state"
version:
name: "Water heater 2 version"
b_name:
name: "Water heater 2 name"
consumption:
name: "Water heater 2 energy"
sensor:
- platform: wifi_signal # Reports the WiFi signal strength/RSSI in dB
name: "WiFi Signal dB"
id: water_heater_wifi_signal_db
update_interval: 60s
entity_category: "diagnostic"
- platform: copy # Reports the WiFi signal strength in %
source_id: water_heater_wifi_signal_db
name: "WiFi Signal Percent"
filters:
- lambda: return min(max(2 * (x + 100.0), 0.0), 100.0);
unit_of_measurement: "Signal %"
entity_category: "diagnostic"
switch:
- platform: ble_client
ble_client_id: drazice_okhe_1
name: "Enable boiler 1 monitoring"
- platform: ble_client
ble_client_id: drazice_okhe_2
name: "Enable boiler 2 monitoring"
ota:
password: !secret ota_password
wifi:
ssid: !secret wifi1_ssid
password: !secret wifi1_psk