-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.yaml
93 lines (85 loc) · 1.59 KB
/
common.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
logger:
level: INFO
wifi:
networks:
- ssid: dz0ny
password: !secret ssid_pw_dz0ny
- ssid: Toni
password: !secret ssid_pw_toni
ap:
ssid: "pec"
captive_portal:
ota:
web_server:
port: 80
globals:
- id: nastavi_pec
type: bool
restore_value: no
initial_value: "false"
- id: temperatura_pec
type: unsigned int
restore_value: yes
initial_value: "60"
- id: nastavi_histereza
type: bool
restore_value: no
initial_value: "false"
- id: histereza
type: float
restore_value: yes
initial_value: "0.5"
- id: nastavi_bojler
type: bool
restore_value: no
initial_value: "false"
- id: temperatura_bojler
type: unsigned int
restore_value: yes
initial_value: "60"
- id: on_pec
type: bool
restore_value: no
initial_value: "false"
- id: on_bojler
type: bool
restore_value: no
initial_value: "false"
- id: on_histereza
type: bool
restore_value: no
initial_value: "false"
- id: nastavi
type: bool
restore_value: no
initial_value: "false"
- id: alert_sent
type: bool
restore_value: no
initial_value: "false"
- id: stanje
restore_value: no
type: int
time:
- platform: sntp
id: esptime
dallas:
- id: "pec_hub"
pin: GPIO21
update_interval: 10s
- id: "bojler_hub"
pin: GPIO22
update_interval: 10s
switch:
- platform: gpio
pin: GPIO4
name: "Zaslon"
id: backlight
restore_mode: ALWAYS_ON
- platform: gpio
name: "Crpalka"
pin: GPIO17
id: pumpa
restore_mode: ALWAYS_OFF
- platform: restart
name: "Restart"