forked from TillFleisch/ESPHome-Philips-Smart-Coffee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.yaml
122 lines (103 loc) · 2.54 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
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
esphome:
name: "esp32-kaffemaskin"
friendly_name: ESP32 Kaffemaskin
esp32:
board: lolin_s2_mini
framework:
type: arduino
# Enable logging
logger:
# Disable serial logging
baud_rate: 0
external_components:
- source: github://quack3d/ESPHome-Philips-Smart-Coffee-3200-Series@main
uart:
# UART connected to the mainboard
- tx_pin: GPIO39
rx_pin: GPIO37
baud_rate: 115200
id: uart_mainboard
# UART connected to the display
- tx_pin: GPIO17
rx_pin: GPIO21
baud_rate: 115200
id: uart_display
philips_series_3200:
display_uart: uart_display
mainboard_uart: uart_mainboard
power_pin: GPIO35
id: philips
text_sensor:
- platform: philips_series_3200
controller_id: philips
id: status
name: "Status"
use_latte: true
switch:
- platform: philips_series_3200
controller_id: philips
name: "Power with clean"
icon: mdi:coffee-maker
clean: true
- platform: philips_series_3200
controller_id: philips
name: "Power without clean"
icon: mdi:coffee-maker
clean: false
button:
- platform: philips_series_3200
controller_id: philips
action: MAKE_COFFEE
name: "Make Coffee"
icon: mdi:coffee
- platform: philips_series_3200
controller_id: philips
action: SELECT_COFFEE
name: "Select Coffee"
icon: mdi:coffee
- platform: philips_series_3200
controller_id: philips
action: SELECT_ESPRESSO
name: "Select Espresso"
icon: mdi:coffee
- platform: philips_series_3200
controller_id: philips
action: SELECT_HOT_WATER
name: "Select Hot water"
icon: mdi:tea
- platform: philips_series_3200
controller_id: philips
action: SELECT_STEAM
name: "Select Latte Macchiato"
icon: mdi:coffee
- platform: philips_series_3200
controller_id: philips
action: SELECT_AMERICANO
name: "Select Americano"
icon: mdi:coffee
- platform: philips_series_3200
controller_id: philips
action: SELECT_CAPPUCCINO
name: "Select Cappuccino"
icon: mdi:coffee
- platform: philips_series_3200
controller_id: philips
action: PLAY_PAUSE
name: "Select play/pause"
icon: mdi:play-pause
number:
- platform: philips_series_3200
type: size
name: "Size"
controller_id: philips
status_sensor_id: status
- platform: philips_series_3200
type: bean
name: "Strength"
controller_id: philips
status_sensor_id: status
- platform: philips_series_3200
type: milk
name: "Milk"
controller_id: philips
status_sensor_id: status