Markdown tweaks (#553)
This commit is contained in:
parent
1965ba93d6
commit
5d24ee6f88
5 changed files with 63 additions and 66 deletions
|
@ -13,13 +13,13 @@ ha_category: Sensor
|
|||
|
||||
The `rfxtrx` platform support sensors that communicate in the frequency range of 433.92 MHz.
|
||||
|
||||
First you have to set up your [rfxtrx hub.](/components/rfxtrx/)
|
||||
First you have to set up your [rfxtrx hub](/components/rfxtrx/).
|
||||
The easiest way to find your sensors is to add this to your `configuration.yaml`:
|
||||
|
||||
```yaml
|
||||
sensor:
|
||||
platform: rfxtrx
|
||||
automatic_add: True
|
||||
platform: rfxtrx
|
||||
automatic_add: True
|
||||
```
|
||||
|
||||
Then when the sensor emits a signal it will be automatically added:
|
||||
|
@ -28,47 +28,45 @@ Then when the sensor emits a signal it will be automatically added:
|
|||
<img src='/images/components/rfxtrx/sensor.png' />
|
||||
</p>
|
||||
|
||||
Here the name is 0a52080000301004d240259 and you can verify that it works from the frontend.
|
||||
Here the name is `0a52080000301004d240259` and you can verify that it works from the frontend.
|
||||
Then you should update your configuration to:
|
||||
|
||||
```yaml
|
||||
sensor:
|
||||
platform: rfxtrx
|
||||
devices:
|
||||
platform: rfxtrx
|
||||
devices:
|
||||
0a52080000301004d240259:
|
||||
name: device_name
|
||||
name: device_name
|
||||
```
|
||||
|
||||
If you want to display several data types from one sensor:
|
||||
|
||||
```yaml
|
||||
sensor:
|
||||
platform: rfxtrx
|
||||
devices:
|
||||
platform: rfxtrx
|
||||
devices:
|
||||
0a520802060100ff0e0269:
|
||||
name: Bath
|
||||
data_type:
|
||||
- Humidity
|
||||
- Temperature
|
||||
name: Bath
|
||||
data_type:
|
||||
- Humidity
|
||||
- Temperature
|
||||
```
|
||||
|
||||
|
||||
|
||||
Example configuration:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
sensor:
|
||||
platform: rfxtrx
|
||||
automatic_add: True
|
||||
devices:
|
||||
0a52080705020095220269:
|
||||
name: Lving
|
||||
0a520802060100ff0e0269:
|
||||
name: Bath
|
||||
data_type:
|
||||
- Humidity
|
||||
- Temperature
|
||||
platform: rfxtrx
|
||||
automatic_add: True
|
||||
devices:
|
||||
0a52080705020095220269:
|
||||
name: Lving
|
||||
0a520802060100ff0e0269:
|
||||
name: Bath
|
||||
data_type:
|
||||
- Humidity
|
||||
- Temperature
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
@ -76,3 +74,4 @@ Configuration variables:
|
|||
- **devices** (*Optional*): A list of devices with their name to use in the frontend.
|
||||
- **automatic_add** (*Optional*): To enable the automatic addition of new lights.
|
||||
- **data_type** (*Optional*): Which data type the sensor should show
|
||||
- **fire_event** *Optional*: Fires an event even if the state is the same as before. Can be used for automations.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue