Update rfxtrx documentation
This commit is contained in:
parent
f74237f582
commit
99536c46da
6 changed files with 116 additions and 54 deletions
|
@ -12,19 +12,46 @@ ha_category: Switch
|
|||
|
||||
The `rfxtrx` platform support switches that communicate in the frequency range of 433.92 MHz.
|
||||
|
||||
To enable RFXtrx switches in your installation, add the following to your `configuration.yaml` file:
|
||||
First you have to set up your [rfxtrx hub.](/components/rfxtrx/)
|
||||
The easiest way to find your switches is to add this to your `configuration.yaml`:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
switch:
|
||||
platform: rfxtrx
|
||||
signal_repetitions: 3
|
||||
devices:
|
||||
living_room:
|
||||
name: Living Room
|
||||
packetid: XXXXX
|
||||
fire_event: True
|
||||
automatic_add: True
|
||||
platform: rfxtrx
|
||||
automatic_add: True
|
||||
```
|
||||
|
||||
Launch your homeassistant and go the website.
|
||||
Push your remote and your device should be added:
|
||||
|
||||
<p class='img'>
|
||||
<img src='/images/components/rfxtrx/switch.png' />
|
||||
</p>
|
||||
|
||||
Here the name is 0b11000102ef9f210010f70 and you can verify that it works from the frontend.
|
||||
Then you should update your configuration to:
|
||||
```yaml
|
||||
switch:
|
||||
platform: rfxtrx
|
||||
devices:
|
||||
0b11000102ef9f210010f70:
|
||||
name: device_name
|
||||
```
|
||||
|
||||
Example configuration:
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
switch:
|
||||
platform: rfxtrx
|
||||
automatic_add: False
|
||||
signal_repetitions: 2
|
||||
devices:
|
||||
0b1100ce3213c7f210010f70:
|
||||
name: Movment1
|
||||
0b11000a02ef2gf210010f50:
|
||||
name: Movment2
|
||||
0b1111e003af16aa10000060:
|
||||
name: Door
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue