Add KeeLoq RF protocol to remote_base integration (#3255)
This commit is contained in:
parent
790c14cccb
commit
9caae65c93
|
@ -38,6 +38,7 @@ Configuration variables:
|
|||
- **dish**: Decode and dump Dish infrared codes.
|
||||
- **drayton**: Decode and dump Drayton Digistat RF codes.
|
||||
- **jvc**: Decode and dump JVC infrared codes.
|
||||
- **keeloq**: Decode and dump KeeLoq RF codes.
|
||||
- **haier**: Decode and dump Haier infrared codes.
|
||||
- **lg**: Decode and dump LG infrared codes.
|
||||
- **magiquest**: Decode and dump MagiQuest wand infrared codes.
|
||||
|
@ -103,6 +104,9 @@ Automations:
|
|||
- **on_jvc** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
|
||||
JVC remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::JVCData`
|
||||
is passed to the automation for use in lambdas.
|
||||
- **on_keeloq** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
|
||||
KeeLoq RF code has been decoded. A variable ``x`` of type :apistruct:`remote_base::KeeloqData`
|
||||
is passed to the automation for use in lambdas.
|
||||
- **on_haier** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
|
||||
Haier remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::HaierData`
|
||||
is passed to the automation for use in lambdas.
|
||||
|
@ -249,6 +253,11 @@ Remote code selection (exactly one of these has to be included):
|
|||
|
||||
- **data** (**Required**, int): The JVC code to trigger on, see dumper output for more info.
|
||||
|
||||
- **keeloq**: Trigger on a decoded KeeLoq RF remote code with the given data.
|
||||
|
||||
- **address** (**Required**, int): The 32-bit ID code to trigger on, see dumper output for more info.
|
||||
- **command** (**Required**, int): The 8-bit switch/command to listen for. If omitted, will match on any command/button.
|
||||
|
||||
- **haier**: Trigger on a Haier remote code with the given code.
|
||||
|
||||
- **code** (**Required**, 13-bytes list): The code to listen for, see :ref:`remote_transmitter-transmit_haier`
|
||||
|
|
|
@ -251,6 +251,33 @@ Configuration variables:
|
|||
|
||||
- **data** (**Required**, int): The JVC code to send, see dumper output for more info.
|
||||
|
||||
.. _remote_transmitter-transmit_keeloq:
|
||||
|
||||
``remote_transmitter.transmit_keeloq`` Action
|
||||
**********************************************
|
||||
|
||||
This :ref:`action <config-action>` sends KeeLoq RF remote code to a remote transmitter.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
on_...:
|
||||
- remote_transmitter.transmit_keeloq:
|
||||
address: '0x57ffe7b'
|
||||
command: '0x02'
|
||||
code: '0xd19ef0a9'
|
||||
repeat:
|
||||
times: 3
|
||||
wait_time: 15ms
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **address** (**Required**, int): The 32-bit address to send, see dumper output for more info.
|
||||
- **command** (**Required**, int): The 4 bit command/button code to send, see dumper output for more info.
|
||||
- **code** (**Optional**, int): The 32 bit encrypted field to send. Defaults to all zeros.
|
||||
- **level** (**Optional**, boolean): Low battery level status bit. Defaults to false.
|
||||
- All other options from :ref:`remote_transmitter-transmit_action`.
|
||||
- A repeat **wait_time** of 15ms as shown replicates the repetition of an HCS301.
|
||||
|
||||
.. _remote_transmitter-transmit_haier:
|
||||
|
||||
``remote_transmitter.transmit_haier`` Action
|
||||
|
|
Loading…
Reference in New Issue