-
Notifications
You must be signed in to change notification settings - Fork 0
/
switches.yaml
executable file
·156 lines (134 loc) · 5.43 KB
/
switches.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
- platform: broadlink
host: 192.168.3.91
mac: b4:43:0d:fc:1a:44
friendly_name: Bedroom IR
switches:
curtains_open:
friendly_name: Curtains Open
command_on: 'JgA0ACsMJxAPKCwLDykPKA4pLAsPKA8pDygPAAR2LQsoEA4pKwwPKA4pDyknEA0qDygPKA8ADQUAAAAA'
curtains_close:
friendly_name: Curtains Close
command_on: 'JgA0ACsMKBAMKyoJECsMKycQDSsNKgwrDCsOAAR5Kg0qDQwrKwwNKwwrJxAMKwwrDSsMKw0ADQUAAAAA'
curtains_stop:
friendly_name: Curtains Stop
command_on: 'JgA0ACoNKgoPKysJEikMKw0qDCsoDw0rDSoNAAR5Kw0qDQ0qKgoSKA0qDSsNKicQDSoMKw4ADQUAAAAA'
fan_power:
friendly_name: Fan On/Off
command_on: 'JgBgACgSJBAMKygTJBENKQwsECkKLAsqCy4m7iYRJhIMKicQKRALMAcrCy0LKwwsCywm7yMWIxINLSISJhEMLwcsCy0KLgwqCywm7ScRJ0YoEiYQCysLLQstCiwILwssJQANBQAAAAAAAAAA'
fan_timer:
friendly_name: Fan Timer
command_on: 'JgBoACgPKBAKLSgQJhILKwsrCy0nEQktDSoLAAEJJhInEQsrKBAoDgsuCyoMKygRDCoJLg0AAQcqDicPDCwoECYQDCsMKw0qKg4MKwotCgABCigPKBALKygQJxANKg0qDCwnEQssCysMAA0F'
fan_speed:
friendly_name: Fan Speed
command_on: 'JgBoACcRJhELKycSJhAKLQsrDSsMLQsqKBALAAEJKA8nEAouJxEmDwstCy0LLA0qCi0nDwsAAQsnDSkQDCwmEiQUCioMLAwrDSsLKycTCgABCCcRJhELLCYRJhELLAwqDCwKLQwrKBEKAA0F'
fan_rotation:
friendly_name: Fan Rotation
command_on: 'JgBoACgPKA8MLCcQJxAMKwwrKBAMKwwrDCsMAAECLg8oDwwsJxAnEAwrDCsoEAwrDCsMKwwAAQgoDygPDCwnECcQDCsMKygQDCsMKwwrDAABCCgPKA8MLCcQJxAMKwwrKBAMKwwrDCsMAA0F'
fan_ion:
friendly_name: Fan Ion
command_on: 'JgBoACoOKg0OKSoNKg0PKSoNDikOKQ8oDykOAAEFKw0qDQ4pKg0qDQ8pKg0OKQ4pDygPKQ4AAQUqDioNDikqDSoNDykqDQ4pDikPKA8pDgABBSoOKg0OKSoNKg0PKSoNDikOKQ8oDykOAA0F'
# - platform: tuya
# name: Washer
# host: 192.168.3.138
# local_key: cET7nrXx83igNwGF
# device_id: 02200194dc4f22138a8e
# # id: //switch id. Remove line if only one switch
# - platform: tuya
# name: Laptop
# host: 192.168.3.139
# local_key: cET7nrXx83igNwGF
# device_id: 02200194dc4f22138784
# # id: //switch id. Remove line if only one switch
- platform: mqtt
name: "Washer"
state_topic: "homeassistant/outlets/washer/RESULT"
command_topic: "homeassistant/outlets/washer/cmnd/POWER"
availability_topic: "homeassistant/outlets/washer/LWT"
value_template: "{{value_json.POWER}}"
qos: 1
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
# retain: true
- platform: mqtt
name: "HomeLab"
state_topic: "homeassistant/outlets/homelab/RESULT"
command_topic: "homeassistant/outlets/homelab/cmnd/POWER"
availability_topic: "homeassistant/outlets/homelab/LWT"
value_template: "{{value_json.POWER}}"
qos: 1
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
# retain: true
# - platform: broadlink
# host: 192.168.3.92
# mac:
# friendly_name: Livingroom IR
# switches:
# projector_off:
# friendly_name: Projector Off
# command_on: 'JgDYAAABJ5ITEhAVEBQRFBAVEBQRFBAVEBQRFBAVEBQROBU1EBQRFBAVEDkUNRI4FBARFBA5FBEQORQREBQRFBA5FDYQFBA5EQAF9wABJpMVEBAVEBQRFBAVEBQRFBAVEBQRFBAVEBQRORM2ExIQFBEUEDkROBE5FBARFBA5FBEQORQREBUQFBE5FDUQFRA5EwAF9QABJpMUERAUERQQFRAUERQQFRAUERQQFRAUERQQORQ1FRAQFRAVEDkTNhM2FBEQFRA5ExIQORQREBQQFRA5FDURFBA5FAANBQ'
# Button Name: open| Button ID: 1 | Code: 260034002810280f0c2b280f0c2b0d2b0c2b280f0c2b0c2b0d2a0d00047a280f280f0d2b27100c2b0c2b0c2b28100c2b0c2b0c2b0c000d0500000000
# Button Name: stop| Button ID: 2 | Code: 26006800281027100c2b27100c2b0b2c0c2b0d2b27100c2b0c2b0c00047b280f28100b2b28100c2b0c2b0c2b0c2b280f0d2b0c2b0c000b5e2a0f280f0c2b28100c2b0c2b0c2b0c2b0d2b0c2b0c2b0c00047a2810280f0c2b0c2b0d2a0d2b0c2b0c2b0c2b0c2b0d2b0c000d05
# Button Name: close| Button ID: 3 | Code: 260034002a0e27110b2b27110b2b0f2828100c2b0f290e280f290e000478290f27100b2b28110b2b0e2928100d290f2810280e290f000d0500000000
# - platform: rpi_rf
# gpio: 17
# switches:
# bedroom_fan:
# protocol: 1
# pulselength: 186
# code_on: !secret code1_on
# code_off: !secret code1_off
# bedroom_lamp:
# protocol: 1
# pulselength: 186
# code_on: !secret code2_on
# code_off: !secret code2_off
# livingroom_wall_outlet:
# protocol: 1
# pulselength: 186
# code_on: !secret code3_on
# code_off: !secret code3_off
# livingroom_desk_outlet:
# protocol: 1
# pulselength: 186
# code_on: !secret code4_on
# code_off: !secret code4_off
# kitchen_outlet:
# protocol: 1
# pulselength: 186
# code_on: !secret code5_on
# code_off: !secret code5_off
# bedroom_blinds:
# protocol: 1
# pulselength: 186
# code_on: !secret code6_on
# code_off: !secret code6_off
# kitchen_blinds:
# protocol: 1
# pulselength: 186
# code_on: !secret code7_on
# code_off: !secret code7_off
# livingroom_blinds:
# protocol: 1
# pulselength: 186
# code_on: !secret code8_on
# code_off: !secret code8_off
# - platform: command_line
# switches:
# pc_power:
# oncmd: !secret pc_on_cmd
# offcmd: !secret pc_off_cmd
# hyperion:
# oncmd: '/home/hass/bruh2/hyperion/hyperionon.sh'
# offcmd: '/home/hass/bruh2/hyperion/hyperionoff.sh'
# tv_power:
# oncmd: 'kodi-send --host=192.168.1.125 --port=9777 --action="ActivateWindow(10000)"'
# offcmd: 'kodi-send --host=192.168.1.125 --port=9777 --action="ActivateScreensaver"'
# - platform: wake_on_lan
# mac_address: !secret pc_mac
# name: "PC WOL"
# host: "192.168.1.141"