forked from TillFleisch/ESPHome-Philips-Smart-Coffee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.yaml
59 lines (49 loc) · 1.14 KB
/
example.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
esp8266:
board: d1_mini
# Enable logging
logger:
# Disable serial logging
baud_rate: 0
external_components:
- source: github://TillFleisch/ESPHome-Philips-Smart-Coffee@main
uart:
# UART connected to the mainboard
- tx_pin: GPIO1
rx_pin: GPIO3
baud_rate: 115200
id: uart_mainboard
# UART connected to the display
- tx_pin: GPIO15
rx_pin: GPIO13
baud_rate: 115200
id: uart_display
philips_series_2200:
display_uart: uart_display
mainboard_uart: uart_mainboard
power_pin: GPIO12
id: philip
text_sensor:
- platform: philips_status_sensor
controller_id: philip
name: "Status"
switch:
- platform: philips_power_switch
controller_id: philip
name: "Power"
icon: mdi:coffee-maker
button:
- platform: philips_action_button
controller_id: philip
action: MAKE_COFFEE
name: "Make Coffee"
icon: mdi:coffee
- platform: philips_action_button
controller_id: philip
action: SELECT_HOT_WATER
name: "Select Hot Water"
icon: mdi:tea
- platform: philips_action_button
controller_id: philip
action: PLAY_PAUSE
name: "Select play/pause"
icon: mdi:play-pause