-
Notifications
You must be signed in to change notification settings - Fork 0
/
drawer.yaml
147 lines (135 loc) · 3.14 KB
/
drawer.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
substitutions:
devicename: drawer
devicename_upper: Drawer
<<: !include ./.base.yaml
## I2C
i2c:
sda: 4
scl: 5
scan: true
sensor:
## BME680
- platform: bme680
temperature:
name: "${devicename_upper} Temperature"
oversampling: 16x
pressure:
name: "${devicename_upper} Pressure"
humidity:
name: "${devicename_upper} Humidity"
gas_resistance:
name: "${devicename_upper} Gas Resistance"
address: 0x77
update_interval: 60s
## 433 MHz
# remote_receiver:
# pin: D1
# dump:
# - rc_switch
# tolerance: 50%
# filter: 250us
# idle: 4ms
# buffer_size: 2kb
remote_transmitter:
pin: D3
carrier_duty_percent: 100%
id: rt433mhz
button:
- platform: template
name: Stehlampe AN
on_press:
- remote_transmitter.transmit_rc_switch_raw:
code: "000101010001010101010101"
protocol: 1
transmitter_id: rt433mhz
repeat:
times: 10
wait_time: 0s
- platform: template
name: Stehlampe AUS
on_press:
- remote_transmitter.transmit_rc_switch_raw:
code: "000101010001010101010100"
protocol: 1
transmitter_id: rt433mhz
repeat:
times: 10
wait_time: 0s
- platform: template
name: Brettspiele AN
on_press:
- remote_transmitter.transmit_rc_switch_raw:
code: "000101010100010101010101"
protocol: 1
transmitter_id: rt433mhz
repeat:
times: 10
wait_time: 0s
- remote_transmitter.transmit_rc_switch_raw:
code: "000101010101000101010101"
protocol: 1
transmitter_id: rt433mhz
repeat:
times: 10
wait_time: 0s
- platform: template
name: Brettspiele AUS
on_press:
- remote_transmitter.transmit_rc_switch_raw:
code: "000101010100010101010100"
protocol: 1
transmitter_id: rt433mhz
repeat:
times: 10
wait_time: 0s
- remote_transmitter.transmit_rc_switch_raw:
code: "000101010101000101010100"
protocol: 1
transmitter_id: rt433mhz
repeat:
times: 10
wait_time: 0s
- platform: template
name: Subwoofer AN
on_press:
- remote_transmitter.transmit_rc_switch_raw:
code: "000101010101010001010101"
protocol: 1
transmitter_id: rt433mhz
repeat:
times: 10
wait_time: 0s
- platform: template
name: Subwoofer AUS
on_press:
- remote_transmitter.transmit_rc_switch_raw:
code: "000101010101010001010100"
protocol: 1
transmitter_id: rt433mhz
repeat:
times: 10
wait_time: 0s
# Channel I
# ON OFF
# 1381717 1381716
# 1394005 1394004
# 1397077 1397076
# 1397845 1397844
# Channel II
# ON OFF
# 4527445 4527444
# 4539733 4539732
# 4542805 4542804
# 4543573 4543572
# Channel III
# ON OFF
# 5313877 5313876
# 5326165 5326164
# 5329237 5329236
# 5330005 5330004
# Channel IV
# ON OFF
# 5510485 5510484
# 5522773 5522772
# 5525845 5525844
# 5526613 5526612