-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.yaml
105 lines (89 loc) · 2.1 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
esphome:
name: robotea
friendly_name: RoboTea
esp32:
board: esp32doit-devkit-v1
framework:
type: arduino
web_server:
port: 80
# Enable logging
logger:
level: INFO
logs:
component: INFO
caysever_robotea: INFO
# Enable Home Assistant API
api:
encryption:
key: "api_encryption" # !!!DEĞİŞTİR!!!
ota:
- platform: esphome
password: "ota_password" # !!!DEĞİŞTİR!!!
# WiFi parolasını girin!
wifi:
ssid: "My WiFi Name" # !!!DEĞİŞTİR!!!
password: "My WiFi Password" # !!!DEĞİŞTİR!!!
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "RoboTea"
password: "ap_password" # !!!DEĞİŞTİR!!!
captive_portal:
external_components:
- source: github://omerfaruk-aran/caysever_robotea@main
components: [caysever_robotea]
refresh: 0s
caysever_robotea:
id: caysever
sensor: ntc_temperature
kettle_state_sensor:
name: "Kettle Durumu"
mode_state_sensor:
name: "Mod Durumu"
active_mode_sensor:
name: "Aktif Mod"
mama_suyu_switch:
name: Mama Suyu
su_kaynatma_switch:
name: Su Kaynatma
#filtre_kahve: true
cay_demleme:
name: "Çay Demleme"
buton_sesi_switch: buton_sesi
konusma_sesi_switch: konusma_sesi
su_kontrol_switch: su_kontrol
switch:
- platform: template
name: "Buton Sesi"
id: buton_sesi
restore_mode: RESTORE_DEFAULT_ON
optimistic: true
- platform: template
name: "Konuşma Sesi"
id: konusma_sesi
restore_mode: RESTORE_DEFAULT_ON
optimistic: true
- platform: template
name: "Su Kontrolü"
id: su_kontrol
restore_mode: RESTORE_DEFAULT_ON
optimistic: true
sensor:
- platform: adc
id: adc_sensor
pin: GPIO35
attenuation: 12db
update_interval: 2s
- platform: resistance
sensor: adc_sensor
configuration: DOWNSTREAM # Sabit direnç aşağı yönlü bağlandı
resistor: 10000
id: resistance_sensor
- platform: ntc
sensor: resistance_sensor
name: "NTC Sıcaklık"
calibration:
b_constant: 3950
reference_temperature: 25°C
reference_resistance: 34000
id: ntc_temperature