mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 21:36:52 +00:00
Rfxtrx binary sensor and switch update (#3785)
* First draft of RFXtrx binary sensor doc page. * Updated rfxtrx binary sensor doc. * binary_sensors.rfxtrx: updated doc according to latest PR changes. * Updated rfxtrx binary sensor documentation * Update binary_sensor.rfxtrx.markdown Tried to clarify the data_bits description. * Updated device_class property. * Updated rfxtrx switch and binary sensor on using automatic_add. * Fixed typo for tamper switch
This commit is contained in:
parent
8e42810ace
commit
b9af0d5dbd
@ -44,6 +44,9 @@ Do not forget to tweak the configuration variables:
|
||||
- **device_class** (*Optional*): The [type or class of the sensor](/components/binary_sensor/) to set the icon in the frontend.
|
||||
- **off_delay** (*Optional*): For sensors that only sends 'On' state updates, this variable sets a delay after which the sensor state will be updated back to 'Off'.
|
||||
|
||||
<p class='note warning'>
|
||||
This component and the [rfxtrx switch](/components/switch/rfxtrx/) can steal each other's devices when setting the `automatic_add` configuration parameter to `true`. Set `automatic_add` only when you have some devices to add to your installation, otherwise leave it to `False`.
|
||||
</p>
|
||||
|
||||
Binary sensors have only two states - "on" and "off". Many door or window opening sensors will send a signal each time the door/window is open or closed. However, depending on their hardware or on their purpose, some sensors are only able to signal their "on" state:
|
||||
|
||||
@ -132,5 +135,5 @@ The following devices are known to work with the rfxtrx binary sensor component.
|
||||
- Chuango PIR-700.
|
||||
|
||||
- Door / window sensors:
|
||||
- Kerui D026 door / window sensor: can trigger on "open" and "close". Has a temper switch.
|
||||
- Nexa LMST-606 Magnetic contact switch.
|
||||
- Kerui D026 door / window sensor: can trigger on "open" and "close". Has a tamper switch.
|
||||
- Nexa LMST-606.
|
||||
|
@ -50,6 +50,11 @@ Configuration variables:
|
||||
- **signal_repetitions** (*Optional*): Because the RFXtrx device sends its actions via radio and from most receivers it's impossible to know if the signal was received or not. Therefore you can configure the switch to try to send each signal repeatedly.
|
||||
- **fire_event** (*Optional*): Fires an event even if the state is the same as before, for example a doorbell switch. Can also be used for automations.
|
||||
|
||||
<p class='note warning'>
|
||||
This component and the [rfxtrx binary sensor](/components/binary_sensor/rfxtrx/) can steal each other's devices when setting the `automatic_add` configuration parameter to `true`. Set `automatic_add` only when you have some devices to add to your installation, otherwise leave it to `False`.
|
||||
</p>
|
||||
|
||||
|
||||
Generate codes:
|
||||
|
||||
If you need to generate codes for switches you can use a template (useful for example COCO switches).
|
||||
|
Loading…
x
Reference in New Issue
Block a user