-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbeogram-esphome.yaml
86 lines (75 loc) · 1.77 KB
/
beogram-esphome.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
esphome:
name: beogram
platform: ESP8266
board: d1_mini
wifi:
ssid: 'Your SSID' ### CHANGE THIS
password: 'YourPassword' ### CHANGE THIS
# Enable logging
logger:
web_server:
port: 80
# Enable Home Assistant API
api:
ota:
remote_transmitter:
pin:
number: GPIO1
inverted: true
carrier_duty_percent: 70%
switch:
- platform: template
name: Phono
id: phono
turn_on_action:
- remote_transmitter.transmit_raw:
code: [3125, -3125, 3125, -3125, 3125, -6250, 3125]
repeat:
times: 2
wait_time: 25ms
- delay: 500ms
- switch.turn_off: phono
- platform: template
name: Next
id: next
turn_on_action:
- remote_transmitter.transmit_raw:
code: [3125, -6250, 3125, -3125, 3125, -3125, 3125]
repeat:
times: 2
wait_time: 25ms
- delay: 500ms
- switch.turn_off: next
- platform: template
name: Prev
id: prev
turn_on_action:
- remote_transmitter.transmit_raw:
code: [12500, -6250, 6250]
repeat:
times: 2
wait_time: 25ms
- delay: 500ms
- switch.turn_off: prev
- platform: template
name: Stop
id: stop
turn_on_action:
- remote_transmitter.transmit_raw:
code: [6250, -6250, 3125, -3125, 6250]
repeat:
times: 2
wait_time: 25ms
- delay: 500ms
- switch.turn_off: stop
- platform: template
name: Stby
id: stby
turn_on_action:
- remote_transmitter.transmit_raw:
code: [6250, -6250, 6250, -3125, 3125]
repeat:
times: 2
wait_time: 25ms
- delay: 500ms
- switch.turn_off: stby