mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Fix RFXtrx docs
This commit is contained in:
parent
7a9fd7b622
commit
412771dbec
@ -18,8 +18,9 @@ To enable RFXtrx lights in your installation, add the following to your `configu
|
|||||||
light:
|
light:
|
||||||
platform: rfxtrx
|
platform: rfxtrx
|
||||||
devices:
|
devices:
|
||||||
ac09c4f1: Bedroom Door
|
living_room:
|
||||||
ac09c4f2: Kitchen Door
|
name: Living Room
|
||||||
|
packetid: XXXXX
|
||||||
automatic_add: True
|
automatic_add: True
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -27,4 +28,3 @@ Configuration variables:
|
|||||||
|
|
||||||
- **devices** (*Required*): A list of devices with their name to use in the frontend.
|
- **devices** (*Required*): A list of devices with their name to use in the frontend.
|
||||||
- **automatic_add** (*Optional*): To enable the automatic addition of new lights.
|
- **automatic_add** (*Optional*): To enable the automatic addition of new lights.
|
||||||
|
|
||||||
|
@ -25,13 +25,29 @@ Configuration variables:
|
|||||||
- **device** (*Required*): The path to your device, e.g. `/dev/serial/by-id/usb-RFXCOM_RFXtrx433_A1Y0NJGR-if00-port0`
|
- **device** (*Required*): The path to your device, e.g. `/dev/serial/by-id/usb-RFXCOM_RFXtrx433_A1Y0NJGR-if00-port0`
|
||||||
- **debug** (*Optional*): If you want to receive debug output.
|
- **debug** (*Optional*): If you want to receive debug output.
|
||||||
|
|
||||||
|
### How to find the packet_id for your devices
|
||||||
|
|
||||||
## {% linkable_title Building on top of RFXtrx %}
|
Make sure you have enabled all RFXtrx related platforms. Push your remote and the device will be added
|
||||||
|
automatically. After that you can see you device packetid in the state developer tools in the app.
|
||||||
- [RFXtrx Sensor](/components/sensor.rfxtrx.html)
|
|
||||||
- [RFXtrx Switch](/components/switch.rfxtrx.html)
|
|
||||||
- [RFXtrx Light](/components/light.rfxtrx.html)
|
|
||||||
|
|
||||||
|
Example for X10 and Chacon DI.O signals, if you see in state developer tools the following entities:
|
||||||
|
|
||||||
|
```
|
||||||
|
light.123efab1__1b2200000890efab1213f60
|
||||||
|
light.a8__0123454041230170
|
||||||
|
```
|
||||||
|
|
||||||
|
You must add the following to your `configuration.yaml`:
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
light:
|
||||||
|
platform: rfxtrx
|
||||||
|
automatic_add: True
|
||||||
|
devices:
|
||||||
|
123efab1:
|
||||||
|
name: My DI.0 light device
|
||||||
|
packetid: 1b2200000890efab1213f60
|
||||||
|
a8:
|
||||||
|
name: My X10 light device
|
||||||
|
packetid: 0123454041230170
|
||||||
|
```
|
||||||
|
@ -9,6 +9,7 @@ sharing: true
|
|||||||
footer: true
|
footer: true
|
||||||
ha_category: Sensor
|
ha_category: Sensor
|
||||||
---
|
---
|
||||||
|
|
||||||
The rfxtrx platform support sensors that communicate in the frequency range of 433.92 MHz.
|
The rfxtrx platform support sensors that communicate in the frequency range of 433.92 MHz.
|
||||||
|
|
||||||
To enable RFXtrx sensors in your installation, add the following to your `configuration.yaml` file:
|
To enable RFXtrx sensors in your installation, add the following to your `configuration.yaml` file:
|
||||||
@ -17,17 +18,4 @@ To enable RFXtrx sensors in your installation, add the following to your `config
|
|||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
sensor:
|
||||||
platform: rfxtrx
|
platform: rfxtrx
|
||||||
devices:
|
|
||||||
ac09c4f1: Temperature
|
|
||||||
ac09c4f2: Humidity
|
|
||||||
automatic_add: True
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
|
||||||
|
|
||||||
- **devices** (*Required*): A list of devices with their name to use in the frontend.
|
|
||||||
- **automatic_add** (*Optional*): To enable the automatic addition of new sensors.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,8 +18,9 @@ To enable RFXtrx switches in your installation, add the following to your `confi
|
|||||||
switch:
|
switch:
|
||||||
platform: rfxtrx
|
platform: rfxtrx
|
||||||
devices:
|
devices:
|
||||||
ac09c4f1: Bedroom Door
|
living_room:
|
||||||
ac09c4f2: Kitchen Door
|
name: Living Room
|
||||||
|
packetid: XXXXX
|
||||||
automatic_add: True
|
automatic_add: True
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ $(window).load(function(){
|
|||||||
|
|
||||||
if (filter == '') {
|
if (filter == '') {
|
||||||
filter = '.featured'
|
filter = '.featured'
|
||||||
} else if (filter == 'all') {
|
} else if (filter == '#all') {
|
||||||
filter = '*';
|
filter = '*';
|
||||||
} else {
|
} else {
|
||||||
filter = '.' + filter.substr(1);
|
filter = '.' + filter.substr(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user