File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : page
3
+ title : " Broadlink RM Switch"
4
+ description : " Instructions how to have Broadlink RM switches."
5
+ date : 2016-11-22 22:41
6
+ sidebar : true
7
+ comments : false
8
+ sharing : true
9
+ footer : true
10
+ logo : broadlink.png
11
+ ha_category : Switch
12
+ ha_release : 0.34
13
+ ---
14
+
15
+ This ` Broadlink ` switch platform allow to you control Broadlink RM2 Pro and RM mini IR+RF [ devices] ( http://www.ibroadlink.com/rm/ ) .
16
+
17
+ To enable it, add the following lines to your ` configuration.yaml ` :
18
+
19
+ ``` yaml
20
+ # Example configuration.yaml entry
21
+ switch :
22
+ platform : broadlink
23
+ host : IP_ADDRESS
24
+ mac : ' MAC_ADDRESS'
25
+ switches :
26
+ reciever :
27
+ command_on : ' switch_packet on'
28
+ command_off : ' switch_packet off'
29
+ ` ` `
30
+
31
+ Configuration variables:
32
+ - **host** (*Required*): The hostname/IP address to connect to.
33
+ - **mac** (*Required*): Device mac address.
34
+ - **switches** (*Required*): The array that contains all switches.
35
+ - **identifier** (*Required*): Name of the command switch as slug. Multiple entries are possible.
36
+ - **command_on** (*Required*): Base64 encoded packet from RM device to take for on.
37
+ - **command_off** (*Required*): Base64 encoded packet from RM device to take for off.
38
+ - **optimistic** (*Optional*): Default true: Flag that defines if switch works in optimistic mode.
39
+ - **friendly_name** (*Optional*): The name used to display the switch in the frontend.
40
+
41
+
42
+ How to obtain IR/RF packet while in learning mode?
43
+
44
+ Run: hass --script broadlink --ip ` YOUR_DEVICE_IP` --mac `YOUR_DEVICE_MAC`
45
+
46
+ If the orange LED is on point the remote to device and press the matching button on remote.
47
+ If the orange LED is off it means the learning is successful and packet will be printed on console.
48
+ Then you can copy and paste this packet.
You can’t perform that action at this time.
0 commit comments