Skip to content

Commit

Permalink
[remote_base] Add Nexus protocol
Browse files Browse the repository at this point in the history
Signed-off-by: zry98 <[email protected]>
  • Loading branch information
zry98 committed Nov 2, 2024
1 parent 593f745 commit dbe525b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions components/remote_receiver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Configuration variables:
- **sony**: Decode and dump Sony infrared codes.
- **toshiba_ac**: Decode and dump Toshiba AC infrared codes.
- **mirage**: Decode and dump Mirage infrared codes.
- **nexus**: Decode and dump Nexus RF codes.

- **tolerance** (*Optional*, int, :ref:`config-time` or mapping): The percentage or time that the remote signal lengths can
deviate in the decoding process. Defaults to ``25%``.
Expand Down Expand Up @@ -195,6 +196,9 @@ Automations:
- **on_mirage** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
Mirage remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::MirageData`
is passed to the automation for use in lambdas.
- **on_nexus** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
Nexus remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::NexusData`
is passed to the automation for use in lambdas.

.. code-block:: yaml
Expand Down Expand Up @@ -438,6 +442,11 @@ Remote code selection (exactly one of these has to be included):
- **code** (**Required**, 14-bytes list): The code to listen for, see :ref:`transmitter description <remote_transmitter-transmit_mirage>`
for more info. Usually you only need to copy this directly from the dumper output.

- **nexus**: Trigger on a decoded Nexus remote code with the given data.

- **channel** (**Required**, int): The channel to trigger on, see dumper output for more info.
- **address** (**Required**, int): The address to trigger on, see dumper output for more info.

.. note::

The **CanalSat** and **CanalSatLD** protocols use a higher carrier frequency (56khz) and are very similar.
Expand Down

0 comments on commit dbe525b

Please sign in to comment.