-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsalon.yaml
65 lines (57 loc) · 1.36 KB
/
salon.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
---
esphome:
name: salon
platform: ESP8266
board: nodemcuv2
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
remote_receiver:
pin: D2
dump: rc_switch
tolerance: 60%
filter: 255us
idle: 10ms
buffer_size: 2kb
remote_transmitter:
pin: D4
carrier_duty_percent: 100%
switch:
- platform: template
name: RF-P2
turn_off_action:
- remote_transmitter.transmit_raw:
code: [-784, 439, -788, 436, -788, 1050, -788, 440, -785, 439, -788, 440, -786, 439, -788, 439, -786, 439, -786, 1049, -786]
repeat:
times: 24
wait_time: 1ms
turn_on_action:
- remote_transmitter.transmit_rc_switch_raw:
code: '101011011101110111011010'
protocol: 1
repeat:
times: 24
wait_time: 1ms
- platform: template
name: RF-P5
turn_off_action:
- remote_transmitter.transmit_rc_switch_raw:
code: '101011011101110111010011'
protocol:
pulse_length: 151
repeat:
times: 24
wait_time: 1ms
turn_on_action:
- remote_transmitter.transmit_rc_switch_raw:
code: '101011011101110111011011'
protocol:
pulse_length: 151
repeat:
times: 24
wait_time: 1ms