-
Notifications
You must be signed in to change notification settings - Fork 0
/
switch.yaml
62 lines (58 loc) · 2.23 KB
/
switch.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
# - platform: rpi_rf
# gpio: 17
# switches:
# # TV: # 5
# # code_on: 5534979 # (S)FF F0 F1 FF 00 01 -> 0101 0100 0111 0101 0000 0011
# # code_off: 5534988 # (S)FF F0 F1 FF 00 10 -> 0101 0100 0111 0101 0000 1100
# # pulselength: 165
# # signal_repetitions: 15
# Printer: # 4
# 0101 0100 0101 1101 0000 0011
# code_on: 5528835 # (S)FF F0 FF 1F 00 01 -> 0101 0100 0101 1101 0000 0011
# 0101 0100 0101 1101 0000 1100
# code_off: 5528844 # (S)FF F0 FF 1F 00 10 -> 0101 0100 0101 1101 0000 1100
# pulselength: 165
# signal_repetitions: 15
# # Desk: # 3
# # code_on: 5527299 # (S)FF F0 FF F1 00 01 -> 0101 0100 0101 0111 0000 0011
# # code_off: 5527308 # (S)FF F0 FF F1 00 10 -> 0101 0100 0101 0111 0000 1100
# # pulselength: 165
# # signal_repetitions: 10
# Tower: # 2
# code_on: 5526979 # (S)FF F0 FF FF 10 01 -> 0101 0100 0101 0101 1100 0011
# code_off: 5526988 # (S)FF F0 FF FF 10 10 -> 0101 0100 0101 0101 1100 1100
# pulselength: 165
# signal_repetitions: 10
# # Laptop: # 1
# # code_on: 5526835 # (S)FF F0 FF FF 01 01 -> 0101 0100 0101 0101 0011 0011
# # code_off: 5526844 # (S)FF F0 FF FF 01 10 -> 0101 0100 0101 0101 0011 1100
# # pulselength: 165
# # signal_repetitions: 10
- platform: wake_on_lan
mac: !secret server_mac
name: wake_on_lan_server
host: !secret server_ip
broadcast_address: !secret broadcast_address
turn_off:
service: shell_command.turn_off_server
# - platform: wake_on_lan
# mac: !secret server_mac
# name: wake_on_lan_realtek_server
# host: !secret server_ip
# broadcast_address: !secret broadcast_address
# turn_off:
# service: shell_command.turn_off_server
# - platform: wake_on_lan
# mac: !secret server_mac
# name: wake_on_lan_intel_server
# host: !secret server_ip
# broadcast_address: !secret broadcast_address
# turn_off:
# service: shell_command.turn_off_server
- platform: wake_on_lan
mac: !secret tower_mac
name: wake_on_lan_tower
host: !secret tower_ip
broadcast_address: !secret broadcast_address
# turn_off:
# service: shell_command.turn_off_tower