-
Notifications
You must be signed in to change notification settings - Fork 5
/
vaillant.yaml
56 lines (47 loc) · 979 Bytes
/
vaillant.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
esphome:
name: vaillant
platform: ESP8266
board: d1_mini
includes:
- vaillantx6.h
# web server
web_server:
# Enable Home Assistant API
api:
logger:
wifi:
ssid: "UPX123456"
password: "mein vater erklaert mir jeden planeten"
# over the air updates
ota:
uart:
id: uart_bus
tx_pin: D0
rx_pin: D1
baud_rate: 9600
sensor:
- platform: template
id: vaill1
name: "vl_soll"
unit_of_measurement: "°C"
lambda: "return {};"
- name: vl_ist
id: vaill2
platform: template
unit_of_measurement: "°C"
lambda: "return {};"
- name: vl_set
id: vaill3
platform: template
unit_of_measurement: "°C"
lambda: "return {};"
- name: ruecklauf
id: vaill4
unit_of_measurement: "°C"
platform: template
lambda: "return {};"
custom_component:
- lambda: |-
auto my_x61 = new Vaillantx6(id(uart_bus),id(vaill1),id(vaill2),id(vaill3),id(vaill4));
App.register_component(my_x61);
return {my_x61};