-
Notifications
You must be signed in to change notification settings - Fork 1
/
binary_sensors.yaml
215 lines (183 loc) · 5.25 KB
/
binary_sensors.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
###
# Sonoff rf bridge
# http://192.168.0.155
#PIR p831 1 -> 57180A
- platform: mqtt
name: "PIR_kerui_p831_1"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "57180A"
payload_off: "57180Aoff"
device_class: motion
value_template: '{{ value_json.RfReceived.Data }}'
#PIR p831 2 -> A0170A
- platform: mqtt
name: "PIR_kerui_p831_2"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "A0170A"
payload_off: "A0170Aoff"
device_class: motion
value_template: '{{ value_json.RfReceived.Data }}'
#PIR p831 3 -> FF160A
- platform: mqtt
name: "PIR_kerui_p831_3"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "FF160A"
payload_off: "FF160Aoff"
device_class: motion
value_template: '{{ value_json.RfReceived.Data }}'
###############################
# Remote controller 1 (4 buttons)
###############################
# Button A
- platform: mqtt
name: "Remote1_BtnA"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "801D48"
payload_off: "801D48off"
value_template: '{{ value_json.RfReceived.Data }}'
###############################
# Button B
- platform: mqtt
name: "Remote1_BtnB"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "801D44"
payload_off: "801D44off"
value_template: '{{ value_json.RfReceived.Data }}'
###############################
# Button C
- platform: mqtt
name: "Remote1_BtnC"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "801D42"
payload_off: "801D42off"
value_template: '{{ value_json.RfReceived.Data }}'
###############################
# Button D
- platform: mqtt
name: "Remote1_BtnD"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "801D41"
payload_off: "801D41off"
value_template: '{{ value_json.RfReceived.Data }}'
###############################
# Remote controller 2 (4 buttons)
###############################
# Button A
- platform: mqtt
name: "Remote2_BtnA"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "5E7B24"
payload_off: "5E7B24off"
value_template: '{{ value_json.RfReceived.Data }}'
###############################
# Button B
- platform: mqtt
name: "Remote2_BtnB"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "5E7B28"
payload_off: "5E7B28off"
value_template: '{{ value_json.RfReceived.Data }}'
###############################
# Button C
- platform: mqtt
name: "Remote2_BtnC"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "5E7B21"
payload_off: "5E7B21off"
value_template: '{{ value_json.RfReceived.Data }}'
###############################
# Button D
- platform: mqtt
name: "Remote2_BtnD"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "5E7B22"
payload_off: "5E7B22off"
value_template: '{{ value_json.RfReceived.Data }}'
#Front door Sensor 433
#closed: 2D380E
#open: 2D380A
#tamper: 2D3807
- platform: mqtt
name: "Front Door"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "2D380A"
payload_off: "2D380E"
device_class: door
value_template: '{{ value_json.RfReceived.Data }}'
- platform: mqtt
name: "Front Door Battery"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "2D3806"
payload_off: "2D3806off"
device_class: battery
value_template: '{{ value_json.RfReceived.Data }}'
- platform: mqtt
name: "Front Door Violation"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "2D3807"
payload_off: "2D3807off"
device_class: problem
value_template: '{{ value_json.RfReceived.Data }}'
- platform: mqtt
name: "AA Menjador"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "2C660A"
payload_off: "2C660E"
device_class: lock
value_template: '{{ value_json.RfReceived.Data }}'
- platform: mqtt
name: "AA Menjador Battery"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "2C6606"
payload_off: "2C6606off"
device_class: battery
value_template: '{{ value_json.RfReceived.Data }}'
- platform: mqtt
name: "AA Menjador Violation"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "2C6607"
payload_off: "2C6607off"
device_class: problem
value_template: '{{ value_json.RfReceived.Data }}'
- platform: mqtt
name: "AA Despatx"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "2BFE0A"
payload_off: "2BFE0E"
device_class: lock
value_template: '{{ value_json.RfReceived.Data }}'
- platform: mqtt
name: "AA Despatx Battery"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "2BFE06"
payload_off: "2BFE06off"
device_class: battery
value_template: '{{ value_json.RfReceived.Data }}'
- platform: mqtt
name: "AA Despatx Violation"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "2BFE07"
payload_off: "2BFE07off"
device_class: problem
value_template: '{{ value_json.RfReceived.Data }}'
- platform: mqtt
name: "3d printer Door"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "AD6C0A"
payload_off: "AD6C0E"
device_class: door
value_template: '{{ value_json.RfReceived.Data }}'
- platform: mqtt
name: "3d printer Door Battery"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "AD6C06"
payload_off: "AD6C06off"
device_class: battery
value_template: '{{ value_json.RfReceived.Data }}'
- platform: mqtt
name: "3d printer Door Violation"
state_topic: "tele/sonoffRF433/RESULT"
payload_on: "AD6C07"
payload_off: "AD6C07off"
device_class: problem
value_template: '{{ value_json.RfReceived.Data }}'