mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-03 16:56:50 +00:00

* Updated Configuration Variables sections Squashed commit of the following: commit a95d114183553ad3850e6ca2d688d622388ee666 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Mon Jul 30 20:08:02 2018 +0200 Clean some things up commit db63a37dc97ad7735b78b7078b09343a9e9d1981 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Mon Jul 30 18:28:20 2018 +0200 Revert "The rest for this PR" This reverts commit bb1b2f9a2f289e79198142f481305a301084ae29. commit df90512482f45195e2da06e08fa7d537df0be710 Merge: deef4fd4d4 e4ed00d287 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Mon Jul 30 17:05:27 2018 +0200 Merge remote-tracking branch 'upstream/current' into patch-1 commit deef4fd4d4379407fd668be1947c66ed3e87eff5 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sun Jul 29 12:40:01 2018 +0200 Fix Liquid error commit 74369fbbc8e5a302e6e7b8d26bfac6150d731232 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sun Jul 29 12:37:03 2018 +0200 Update Configuration Variables sections commit 6e50eaa013e8ff240763b52557b5f74f8d620568 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sun Jul 29 11:52:51 2018 +0200 Fix empty keys commit 7e4852e4738a55cebd17ec71d4a8fb217ae10ac3 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sun Jul 29 11:41:46 2018 +0200 Update binary_sensor.netatmo.markdown commit e1d83df83eedbb446c412ea97829d0970579438c Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sun Jul 29 11:28:39 2018 +0200 More updated Configuration Variables sections commit 66cbe391812488ec930ce8150cfc409950a02253 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 22:00:25 2018 +0200 Fix Liquid Exception sensor.speedtest commit bb1b2f9a2f289e79198142f481305a301084ae29 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 21:54:34 2018 +0200 The rest for this PR - Update components with new Configuration Variables section to have YAML block syntax - Fix wrong capitalised booleans commit 5e67726eb71b414e88b654128d193c892a6ae148 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 20:43:52 2018 +0200 Try multiline string in Cast Trying out a multiline string in a {% configuration %}-block. commit b8d34e9a8e8abfa1885a54a198b323b9de12d0c3 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 20:41:39 2018 +0200 Lint fixes etc. All default True/False capital letters have been fixed. Tried to reduce lines to 80 characters or less where possible. commit 88228b293ddef2630653c5636d2b75606106742b Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 16:32:46 2018 +0200 Update notify.webostv.markdown commit 7204c1d637beeabefb4141faddd334b29da92bea Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 16:15:18 2018 +0200 Fix capital letter commit 6e1b3db87b07c916df0d34983d333ad1d9faf1fc Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 16:14:05 2018 +0200 Update media_player.webostv.markdown commit 89ee23565abab1dc7113f83a1cd680bcd26e430a Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 16:08:59 2018 +0200 Update http.markdown commit 418f5cb7cd4e98592bfe6902276af881e0dac47b Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 16:02:19 2018 +0200 Fix capital letter commit d5264c3c4f9b468b2f7b9b1eba786d108e1b88ef Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 16:01:39 2018 +0200 Fix capital letter commit e4cd51271d1881adf8160497cddb638b285e505e Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 16:01:08 2018 +0200 Update sensor.iota.markdown commit c18b25fddc062b35d9160a02df3377f152231020 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 16:01:01 2018 +0200 Fix capital letter commit 79a78f284a2280d1f2c8d007c072fbe8ce6655c8 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:56:22 2018 +0200 Update Configuration Variables section commit 0db5228080573b21f5570ce56e60e67d1004e0f1 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:54:47 2018 +0200 Update Configuration Variables section commit d5d26f16117a9cc74349dd77f98fdce53d7ca1cd Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:54:14 2018 +0200 Update Configuration Variables section commit ab3f04511edbcc25a7f5f7e514b6a092a3cfcb68 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:52:50 2018 +0200 Update Configuration Variables section commit 37b2d1831d65c584be95daf49ea90022227984f7 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:51:29 2018 +0200 Update Configuration Variables section commit 39b3ecd7079dbf13576cd5306507b5f86c3ea9db Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:50:53 2018 +0200 Update Configuration Variables section commit 823ea87d3a9da8dee2cb786bd1f64a6492537e80 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:50:11 2018 +0200 Update Configuration Variables section commit 6560a2bac06e2292f912f96143ce6e688f900280 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:49:53 2018 +0200 Update Configuration Variables section commit cc97df289b09bdb52123b775af6545eba8608cc1 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:47:23 2018 +0200 Update Configuration Variables section commit fdc881eb7a33f0ab1e4a8a5749c05c07df2ab7fd Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:46:55 2018 +0200 Update Configuration Variables section commit 81e292c3e92a834c04ef577d2b1ab867d8d9db79 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:46:16 2018 +0200 Update Configuration Variables section commit 05d3481d1165ee89b3dc9a0342f1c2041c06e8ca Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:45:25 2018 +0200 Update Configuration Variables section commit ef34f8c2f4eb17183fa0d7de8da90cca02f355ea Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:41:08 2018 +0200 Update Configuration Variables section commit 49f69a36e46585d14396f284b0b8a016add8efe9 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:16:27 2018 +0200 Update Configuration Variables section commit 14732eeee06cc20f78af99035d8fbde02b7e2778 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:14:58 2018 +0200 Update Configuration Variables section commit e0f8578628d298730a258f3597c00d8d47748cc4 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:11:56 2018 +0200 Update media_player.samsungtv.markdown commit 8be3c95f8e3acb39c73843816e43b66c3f1f9945 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:10:45 2018 +0200 Update Configuration Variables section commit 53b6672521dc6fb69a7ad25ac56def6a2e2bcdf4 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:10:40 2018 +0200 Update media_player.webostv.markdown commit 421e90392af3704ef1a2577ce9d35f3d7459b71e Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 15:03:33 2018 +0200 Update Configuration Variables section commit 7f142fd359b693e4af872bdf1ecd6e98b82f694f Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 14:59:54 2018 +0200 webOS brand fix + filename clarification commit 1f1051bcbc55ff96da69493823ac8d4676e3a738 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 14:52:29 2018 +0200 Update sensor.yr.markdown commit 8be62f4a620d624b27bb130ab8d2a09c66016b08 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 14:52:05 2018 +0200 Update Configuration Variables section commit 69c615b295dd86c0bba46154587c25ea7e0bfd27 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 14:50:57 2018 +0200 Update notify.webostv.markdown commit 4b1175e5653f217d2d5c332ef25f4f540a2052e1 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 14:50:30 2018 +0200 Update notify.html5.markdown commit 4ba06dd29db58b96e1cbfb149c00037f6b4be5c3 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 14:49:59 2018 +0200 Update image_processing.openalpr_local.markdown commit ec919d57810e5a1e82908c297222bfc64492da8b Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 14:49:18 2018 +0200 Update image_processing.microsoft_face_detect.markdown commit da657b579fefb26061a52e1d06ff97ae8f08eefa Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 14:42:46 2018 +0200 Update Configuration Variables section commit 3b066ba22bfa409011faebd9a52a3187614bd444 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 14:40:33 2018 +0200 Update Configuration Variables section commit 360c5422d783bc940962a93e41f82950570210ab Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 14:38:54 2018 +0200 Update Configuration Variables section commit 7965ff8c7131bd646bea648c27a4eae861d1dc6d Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 13:51:12 2018 +0200 Update Configuration Variables section commit 48d20dd4fa39d76e294f32b99de6e3d1b9eaf419 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 13:48:33 2018 +0200 Update Configuration Variables section commit 4c6efe7218c3e098f3091dbd05f9b76b1fd59882 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 13:40:33 2018 +0200 Update Configuration Variables section commit 8c45d8309ebfbe57c2a08332890da4f5b08231ea Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 13:35:19 2018 +0200 Update Configuration Variables section commit bbfa64af6fa049553460524f3a983c4e803da15a Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 13:33:14 2018 +0200 Newline commit f0577bb456c09b027cb11341e2a95b2bbab444aa Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 13:32:54 2018 +0200 Fix typo commit 65f73ced0cfc453f77ee75d30e4a3ec788abba65 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 13:19:23 2018 +0200 Update notify.webostv.markdown commit 1a11c971bb409bbafebc04174f8dda3e32c711ce Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 13:18:44 2018 +0200 Update notify.html5.markdown commit 46532335451a593bab6fa6e9953c880537d5713c Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 13:18:04 2018 +0200 Update image_processing.openalpr_local.markdown commit ce9ca3453b33aa966f9f6716cd1e9330f3e3f458 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Sat Jul 28 13:15:05 2018 +0200 Update Configuration Variables section commit 6ae8a408894ba6c51b8c4cb545acc6405059bafa Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Thu Jul 26 22:58:55 2018 +0200 Update Configuration Variables section commit c4bed222338ca3be5e471352579fb8e71254d5d4 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Thu Jul 26 22:56:35 2018 +0200 Update Configuration Variables section commit 9fe09afd30a1e67a9c5f0ac887630c26de694814 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 23:46:23 2018 +0200 Update Configuration Variables section commit 8efc72f10db4bf10bcaecc5c84d7f88263b710ae Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 23:44:08 2018 +0200 Update image_processing.openalpr_cloud.markdown commit 52046e50645d7adb4d0a4cadc4151de54b7354aa Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 23:43:52 2018 +0200 Update Configuration Variables section commit c7a9296ae3e7d3ef545117b17bd95513a0168c4b Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 23:27:08 2018 +0200 Update image_processing.microsoft_face_detect.markdown commit 3b37dc0e11ac5344670225119ae6bbc9fff04af4 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 23:20:26 2018 +0200 Update Configuration Variables section commit 870cd41fef2b1c1c139642a291e9aaae14ae5c4c Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 23:18:38 2018 +0200 Update image_processing.microsoft_face_identify.markdown commit 0f76212b24b425282a99483c6efaad2abdbd3cf0 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 23:17:09 2018 +0200 Update Configuration Variables section commit 73513b9e4e26263eb4d8b5fb86cf6326c3319b8c Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 23:13:26 2018 +0200 Update image_processing.microsoft_face_detect.markdown commit c171a080b3bac291d05bcc4c4760b0d9529159d3 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 23:01:06 2018 +0200 Update image_processing.microsoft_face_detect.markdown commit 294a37f5847a227c33d5c9696f21a8bbe2288d83 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 21:46:14 2018 +0200 Update image_processing.microsoft_face_detect.markdown commit 9f4c3fad9e9ade578f205104bdac3d649c9d86fc Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 21:21:17 2018 +0200 Update image_processing.microsoft_face_detect.markdown commit 11579aa61b08adbb1e599177eda54b579fc9b593 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 21:13:30 2018 +0200 Update camera.mjpeg.markdown commit e93f5db4b6bd94d8cb5b46a61c76d86c31f00c8f Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 19:34:36 2018 +0200 Update Configuration Variables section commit 383b9ace663573473bdab467cd8697f7e330cda5 Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 17:49:38 2018 +0200 Remove leftover line commit 7e2e72f78f2ae4603a5c9968372b453dc956a79b Author: Jorim Tielemans <tielemans.jorim@gmail.com> Date: Wed Jul 25 17:46:55 2018 +0200 Update Configuration Variables section * Remove encapsulation Double quotes were visible in the frontend. * Remove empty default value * 🚑 Correcting types * ✏️ Removes double italic
180 lines
6.9 KiB
Markdown
180 lines
6.9 KiB
Markdown
---
|
|
layout: page
|
|
title: "RFXtrx Binary Sensor"
|
|
description: "Instructions on how to integrate RFXtrx binary sensors into Home Assistant."
|
|
date: 2017-03-26 12:45
|
|
sidebar: true
|
|
comments: false
|
|
sharing: true
|
|
footer: true
|
|
logo: rfxtrx.png
|
|
ha_category: Binary Sensor
|
|
---
|
|
|
|
The `rfxtrx` platform support binary sensors that
|
|
communicate in the frequency range of 433.92 MHz.
|
|
The rfxtrx binary sensor component provides support for them.
|
|
|
|
Many cheap sensors available on the web today are based on a particular RF chip
|
|
called *PT-2262*. Depending on the running firmware on the RFXcom box, some of
|
|
them may be recognized under the X10 protocol but most of them are recognized
|
|
under the *Lighting4* protocol. The rfxtrx binary sensor component provides
|
|
some special options for them, while other rfxtrx protocols should work too.
|
|
|
|
# Setting up your devices
|
|
|
|
Once you have set up your [rfxtrx hub](/components/rfxtrx/), the easiest way
|
|
to find your binary sensors is to add this to your `configuration.yaml`:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
binary_sensor:
|
|
platform: rfxtrx
|
|
automatic_add: true
|
|
```
|
|
|
|
Open your local home-assistant web UI and go to the "states" page.
|
|
Then make sure to trigger your sensor. You should see a new entity
|
|
appear in the *Current entities* list, starting with "binary_sensor."
|
|
and some hexadecimal digits. Those hexadecimal digits are your device id.
|
|
|
|
For example: "binary_sensor.0913000022670e013b70". Here your device id
|
|
is `0913000022670e013b70`. Then you should update your configuration to:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
binary_sensor:
|
|
platform: rfxtrx
|
|
devices:
|
|
0913000022670e013b70:
|
|
name: device_name
|
|
```
|
|
|
|
Configuration variables:
|
|
|
|
- **automatic_add** (*Optional*): To enable the automatic addition of new binary sensors.
|
|
- **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>
|
|
|
|
<p class='note warning'>
|
|
If a device ID consists of only numbers, please make sure to surround it with quotes.
|
|
This is a known limitation in YAML, because the device ID will be interpreted as a number otherwise.
|
|
</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:
|
|
|
|
- Most motion sensors send a signal each time they detect motion. They stay "on" for a few seconds and go back to sleep, ready to signal other motion events. Usually, they do not send a signal when they go back to sleep.
|
|
- Some doorbells may also only send "on" signals when their toggle switch is pressed, but no "off" signal when the switch is released.
|
|
|
|
For those devices, use the *off_delay* parameter.
|
|
It defines a delay after which a device will go back to an "Off" state.
|
|
That "Off" state will be fired internally by Home Assistant, just as if
|
|
the device fired it by itself. If a motion sensor can only send signals
|
|
once every 5 seconds, sets the *off_delay* parameter to *seconds: 5*.
|
|
|
|
Example configuration:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
binary_sensor:
|
|
platform: rfxtrx
|
|
automatic_add: true
|
|
devices:
|
|
091300006ca2c6001080:
|
|
name: motion_hall
|
|
device_class: motion
|
|
off_delay:
|
|
seconds: 5
|
|
```
|
|
|
|
## Options for PT-2262 devices under the Lighting4 protocol
|
|
|
|
When a data packet is transmitted by a PT-2262 device using the Lighting4
|
|
protocol, there is no way to automatically extract the device identifier and the
|
|
command from the packet. Each device has its own id/command length combination
|
|
and the fields lengths are not included in the data. One device that sends 2
|
|
different commands will be seen as 2 devices on Home Assistant. For such cases,
|
|
the following options are available in order to circumvent the problem:
|
|
|
|
- **data_bits** (*Optional*): Defines how many bits are used for commands inside the data packets sent by the device.
|
|
- **command_on** (*Optional*): Defines the data bits value that is sent by the device upon an 'On' command.
|
|
- **command_off** (*Optional*): Defines the data bits value that is sent by the device upon an 'Off' command.
|
|
|
|
Let's try to add a new PT-2262 sensor using the "automatic_add"
|
|
option and have a look at Home Assistant system log.
|
|
|
|
Have your sensor trigger the "On" state for the first time.
|
|
Some messages will appear:
|
|
|
|
```text
|
|
INFO (Thread-6) [homeassistant.components.binary_sensor.rfxtrx] Added binary sensor 0913000022670e013970 (Device_id: 22670e Class: LightingDevice Sub: 0)
|
|
```
|
|
|
|
Here the sensor has the id *22670e*.
|
|
|
|
Now have your sensor trigger the "Off" state and look for the following
|
|
message in the Home Assistant log. You should see that your device
|
|
has been detected as a *new* device when triggering its "Off" state:
|
|
|
|
```text
|
|
INFO (Thread-6) [homeassistant.components.binary_sensor.rfxtrx] Added binary sensor 09130000226707013d70 (Device_id: 226707 Class: LightingDevice Sub: 0)
|
|
```
|
|
|
|
Here the device id is *226707*, which is almost similar to
|
|
the *22670e* we had on the "On" event a few seconds ago.
|
|
|
|
From those two values, you can guess that the actual id of your device is
|
|
*22670*, and that *e* and *7* are commands for "On" and "Off" states
|
|
respectively. As one hexadecimal digit uses 4 bits,
|
|
we can conclude that the device is using 4 data bits.
|
|
|
|
So here is the actual configuration section for the binary sensor:
|
|
|
|
```yaml
|
|
platform: rfxtrx
|
|
automatic_add: true
|
|
devices:
|
|
0913000022670e013b70:
|
|
name: window_room2
|
|
device_class: opening
|
|
data_bits: 4
|
|
command_on: 0xe
|
|
command_off: 0x7
|
|
```
|
|
|
|
The *automatic_add* option makes the rfxtrx binary sensor component calculate
|
|
and display the configuration options for you in the Home Assistant logs:
|
|
|
|
```text
|
|
INFO (Thread-6) [homeassistant.components.rfxtrx] rfxtrx: found possible device 226707 for 22670e with the following configuration:
|
|
data_bits=4
|
|
command_on=0xe
|
|
command_off=0x7
|
|
INFO (Thread-6) [homeassistant.components.binary_sensor.rfxtrx] Found possible matching deviceid 22670e.
|
|
```
|
|
|
|
This automatic guess should work most of the time but there is
|
|
no guarantee on that. You should activate it only when you
|
|
want to configure your new devices and leave it off otherwise.
|
|
|
|
## Known working devices
|
|
|
|
The following devices are known to work with the rfxtrx binary sensor component.
|
|
There are too many other to list.
|
|
|
|
- Motion detectors:
|
|
- Kerui P817 and P829.
|
|
- Chuango PIR-700.
|
|
|
|
- Door / window sensors:
|
|
- Kerui D026 door / window sensor: can trigger on "open" and "close". Has a tamper switch.
|
|
- Nexa LMST-606.
|